From patchwork Wed Feb 8 17:26:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 652275 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A9DBC64EC7 for ; Wed, 8 Feb 2023 17:27:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231707AbjBHR1U (ORCPT ); Wed, 8 Feb 2023 12:27:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231338AbjBHR1P (ORCPT ); Wed, 8 Feb 2023 12:27:15 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE7F8A5EF for ; Wed, 8 Feb 2023 09:26:48 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id u10so10792228wmj.3 for ; Wed, 08 Feb 2023 09:26:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=PTB+kn5OHzrK76DFGgifiq/bBOHjSff6c06ytq0LeG8=; b=PJQHQB6suTprZ+B5q6crGllreJnIOzwF6L1019hH/KbIaQN5LVKFUiQb34RosXdyIe rptvHTsnKteguT0OO4GwP2rRGYxxRrit1lSjPk1DkUo6RlEzdWcHORq8ukghwDKEdRBA gQBup0PxXlYGmyXrFynoZkmYkM8HResj1oW+QsgigDgz9pacJOw6Fu9EmT9XXynr4xqN otrH3E0RqTKtT7f7Iuhk6ZT4tM7GfhWi/Sm/03qC8zP5BeWVdAaxofCwLFCyhLqjr5+i RBJwHAzfXA5wZC/GFUY3Jkhy4N1sUmEd+WGmgy7ezv4fCmppUjfKTfcjdAZT/sSHP1Rz 3fGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PTB+kn5OHzrK76DFGgifiq/bBOHjSff6c06ytq0LeG8=; b=oafYST6FUlHEbDPO5oO0aePi3WcGvBUb/sGr3xsMmu42tE7xHWEXc5aDut7W5S1KGD Pqqbwc7De48hCwcUYl6sr/P3B/9m5421NPMwBW6HE/V7/8DhRCOftKt6PmSwkQCBGDfT U7omONGVXHWrDj9N1jzt/UG8dQToJz+xbjxszOZeU1rtPUQZh6wqX++OR7U6U0m82/W6 94NaVzfpo+vcnktQC7WEpshCidq4St7XdBLkNfM4pyg/wttGESaYv8p630zGrELBGFpT KHPs1NstzSnMI7mYr+KNwQSCHNlW3+YU60EoxJ26VlUDrhDSrDzkYgU6Zj6CJ8NKEA4n AdQg== X-Gm-Message-State: AO0yUKXjvTgKEmw9ImYSTzHIzDu8wDsot8Wnv9cSJk1hUb8hQ/Coh25u jDxKP0TI9J/CUjQonC76RAQklQ== X-Google-Smtp-Source: AK7set870vm3+lGW8S93Tx7ST0ROVr/EZF9AnP+//pii2ImLkyUNYR9v3kXSy0jlT23mL7LhhdcJIQ== X-Received: by 2002:a05:600c:16c8:b0:3e0:185:e935 with SMTP id l8-20020a05600c16c800b003e00185e935mr7214991wmn.36.1675877204933; Wed, 08 Feb 2023 09:26:44 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h1-20020a05600c2ca100b003dc3f3d77e3sm2624502wmc.7.2023.02.08.09.26.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Feb 2023 09:26:44 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , replicant@osuosl.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, =?utf-8?q?Martin_J=C3=BCcker?= , Henrik Grimler Subject: [RFT PATCH 1/3] ARM: dts: exynos: add "gpios" suffix to wlf,ldo1ena on Midas Date: Wed, 8 Feb 2023 18:26:32 +0100 Message-Id: <20230208172634.404452-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org The GPIOs properties should end with "gpios" suffix and Linux gpiolib already handles both names, so switch to preferred one. While touching the lines, replace open-coded GPIO_ACTIVE_HIGH flag. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-midas.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos4412-midas.dtsi b/arch/arm/boot/dts/exynos4412-midas.dtsi index d5074fa57142..525f945c4b91 100644 --- a/arch/arm/boot/dts/exynos4412-midas.dtsi +++ b/arch/arm/boot/dts/exynos4412-midas.dtsi @@ -653,8 +653,8 @@ wm1811: audio-codec@1a { CPVDD-supply = <&vbatt_reg>; SPKVDD1-supply = <&vbatt_reg>; SPKVDD2-supply = <&vbatt_reg>; - wlf,ldo1ena = <&gpj0 4 0>; - wlf,ldo2ena = <&gpj0 4 0>; + wlf,ldo1ena-gpios = <&gpj0 4 GPIO_ACTIVE_HIGH>; + wlf,ldo2ena-gpios = <&gpj0 4 GPIO_ACTIVE_HIGH>; }; }; From patchwork Wed Feb 8 17:26:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 652067 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A8A3C636D7 for ; Wed, 8 Feb 2023 17:27:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231288AbjBHR1V (ORCPT ); Wed, 8 Feb 2023 12:27:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231373AbjBHR1P (ORCPT ); Wed, 8 Feb 2023 12:27:15 -0500 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEC63126CE for ; Wed, 8 Feb 2023 09:26:50 -0800 (PST) Received: by mail-wr1-x436.google.com with SMTP id o18so17533189wrj.3 for ; Wed, 08 Feb 2023 09:26:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bepz1Z/udBgbBXD5pI7+Z6at3sTDiRBON0IEQlG7D4M=; b=cSkUzqywHkQwtAFMOHt60QrzMP673nuDfK7sUlOPosNsYyRfwMcspD5/OwfjD49wBn SP9FP9JKN8Pfme9DsDrIcr9ysAUEjb4rxG5CfYF+mdiWr05afyYZVIYcJ0YKmPP7g1CN kaHp8XETnecVsWRxbk07G/shclciwhxndIJvF5rPnpsuoojFu2Ijr/EdH7pYsId2nGJT LeMkPehFWCL+aOStzT/iQIYCS8y3J16M+po29pnjfRRoReTMEfmQNS83w3cxyOX3/ZAj rv3JUQFhWoAnXvO7e56Hmen0K5MIRT5nEqrEh8J7M3ayRWb8VhI25s+HB4wURRRQhh8X 0DYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bepz1Z/udBgbBXD5pI7+Z6at3sTDiRBON0IEQlG7D4M=; b=G2jB3OfOO6FVJnX9YoaiDxZjniLTwJ/s7OwE2st7Hq0qUs3Ella7IjSVAPAGziq3m1 dVptdErDdohZMbzECz46ddjpfsmx3Tw3YDUnj4CkcmFsEXjqZK0SD0ElzyxI9YWTECnw wcAQQnC2gs93qsj6OqxmmOY60kfu8hryF1HOYav8VL0VNpmRRK1n7YhoAMGOqhkU0Jhs /nYA7laJa0Qh+BEIzQYiVDRmnC/x+myXMj4bcqoTSuWmI7CJ/kkLP3RPmTAGX7L7PZeY wFb7DnIp99S8Z9P419VzjDcBWtfAoTsGoANCiqR4JapJOWY/d9NUN0LlRXgA21WMHrKz N0IQ== X-Gm-Message-State: AO0yUKVv2a8vfcKHB8syquNlfWpCGGFkX7H9spUzWg0gxlyyt6AZ3209 k1U+j5OuczcPXRB+pgoBYA3jIw== X-Google-Smtp-Source: AK7set9sIVeegYMYb+vFVH6Qx/wCEg9tvUvr35XorEpbq2zmYuYPix/sJedoX50P3YgGazJE81nOSQ== X-Received: by 2002:adf:ea45:0:b0:2bd:c1de:a33f with SMTP id j5-20020adfea45000000b002bdc1dea33fmr7574384wrn.19.1675877206114; Wed, 08 Feb 2023 09:26:46 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h1-20020a05600c2ca100b003dc3f3d77e3sm2624502wmc.7.2023.02.08.09.26.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Feb 2023 09:26:45 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , replicant@osuosl.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, =?utf-8?q?Martin_J=C3=BCcker?= , Henrik Grimler Subject: [RFT PATCH 2/3] ARM: dts: exynos: add "gpios" suffix to wlf,ldo1ena on Arndale Date: Wed, 8 Feb 2023 18:26:33 +0100 Message-Id: <20230208172634.404452-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230208172634.404452-1-krzysztof.kozlowski@linaro.org> References: <20230208172634.404452-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org The GPIOs properties should end with "gpios" suffix and Linux gpiolib already handles both names, so switch to preferred one. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5250-arndale.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index 6134bc9c8212..2e3da5670bc2 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -537,8 +537,8 @@ wm1811: audio-codec@1a { SPKVDD1-supply = <&main_dc_reg>; SPKVDD2-supply = <&main_dc_reg>; - wlf,ldo1ena = <&gpb0 0 GPIO_ACTIVE_HIGH>; - wlf,ldo2ena = <&gpb0 1 GPIO_ACTIVE_HIGH>; + wlf,ldo1ena-gpios = <&gpb0 0 GPIO_ACTIVE_HIGH>; + wlf,ldo2ena-gpios = <&gpb0 1 GPIO_ACTIVE_HIGH>; }; }; From patchwork Wed Feb 8 17:26:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 652274 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41F5EC636CC for ; Wed, 8 Feb 2023 17:27:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230402AbjBHR1W (ORCPT ); Wed, 8 Feb 2023 12:27:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230457AbjBHR1R (ORCPT ); Wed, 8 Feb 2023 12:27:17 -0500 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C9A72385F for ; Wed, 8 Feb 2023 09:26:53 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id z13so6375901wmp.2 for ; Wed, 08 Feb 2023 09:26:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IthlQVOkiWnqAVOrcwnjK/hncHhlqSzAla08vNnpBBs=; b=ncjbK/IjIRjZSVVCm5UW/GTZ1pFctUORIJobSApOZCmKKSaTi8doyaI2SmDiYIXOuG rZCkrlI+NHcVmxry6ifJ4MAkKZL1YE0JPWja0PStq6Aw7JZGWO9Z6S3HdgR/lG5EEbM2 v/FajlbuQxgf5O1u1+aX3dWS768NFcmn0JB40cDNaGVZaqSOoGIJwwtEMY57DU3SIGAd gelL1ma1E7EG3akq1gsdZ1/fgbQgknvnrkX2M+voDswgWdUm7YELvKoejTQ/foUtBQha NbORHWu5QUl+RAwboA40YAC7FtpjrbBTL78i+KBfCYD+PsVlz4P/Z7azRNuZfKwG+yqi c3Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IthlQVOkiWnqAVOrcwnjK/hncHhlqSzAla08vNnpBBs=; b=X9OWhensTrfGKLiIhXjAMFc75Id0A17ubsKoamhebVw8bXjhT9tkbFI2QDcKcD2nIh 2FsObribFfLkt0ik66a1sIKOWHElYyvKHtjJ4S5ctOAus++CB13El2RRfHe6d1xdz90O 5Pyo7lElIH7DazwYAp0JKR/lv7bP67RepVmby90UiYZFxSJKXiCv/DmCtajK1irWf4vw szgaVCvmyJAtyliA22WJNfO3+CX48G+ARAUaPKk2hLzpXRLWM224rYwM+s/19jioJvJd GuJbnVfqKpSsYVdiMbE5deSH5i726r6bZhnRM4/zqpCOWHyD9Te2oPEo5iSqdhF2eY35 zPGw== X-Gm-Message-State: AO0yUKWdpVSaik6cY8klTolS/bWCMDa4eBuNJDPdXGYrUXp8WwSVqHpm HpVcmqAIkrsh5OAE/3sq0P8UJw== X-Google-Smtp-Source: AK7set9hYTQx01kSCRhx6wENRzX+3TI0Zpz69KEaHspoUsv96TSaQhWtq5bJLXPkeBD+xH475unMCQ== X-Received: by 2002:a05:600c:16c5:b0:3d6:ecc4:6279 with SMTP id l5-20020a05600c16c500b003d6ecc46279mr7464750wmn.27.1675877207384; Wed, 08 Feb 2023 09:26:47 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h1-20020a05600c2ca100b003dc3f3d77e3sm2624502wmc.7.2023.02.08.09.26.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Feb 2023 09:26:47 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , replicant@osuosl.org, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, =?utf-8?q?Martin_J=C3=BCcker?= , Henrik Grimler Subject: [RFT PATCH 3/3] ARM: dts: s5pv210: add "gpios" suffix to wlf, ldo1ena on Aries Date: Wed, 8 Feb 2023 18:26:34 +0100 Message-Id: <20230208172634.404452-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230208172634.404452-1-krzysztof.kozlowski@linaro.org> References: <20230208172634.404452-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org The GPIOs properties should end with "gpios" suffix and Linux gpiolib already handles both names, so switch to preferred one. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/s5pv210-aries.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi b/arch/arm/boot/dts/s5pv210-aries.dtsi index 964c5fe51755..f628d3660493 100644 --- a/arch/arm/boot/dts/s5pv210-aries.dtsi +++ b/arch/arm/boot/dts/s5pv210-aries.dtsi @@ -135,8 +135,8 @@ wm8994: audio-codec@1a { 0xa101 0x0100 0x8100 0x0100 0x0100 0x0100>; - wlf,ldo1ena = <&gpf3 4 GPIO_ACTIVE_HIGH>; - wlf,ldo2ena = <&gpf3 4 GPIO_ACTIVE_HIGH>; + wlf,ldo1ena-gpios = <&gpf3 4 GPIO_ACTIVE_HIGH>; + wlf,ldo2ena-gpios = <&gpf3 4 GPIO_ACTIVE_HIGH>; wlf,lineout1-se; wlf,lineout2-se;