From patchwork Thu Sep 8 08:09:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 604019 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 9A900C6FA8B for ; Thu, 8 Sep 2022 08:09:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230240AbiIHIJz (ORCPT ); Thu, 8 Sep 2022 04:09:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231378AbiIHIJr (ORCPT ); Thu, 8 Sep 2022 04:09:47 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B84692127E for ; Thu, 8 Sep 2022 01:09:45 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id z25so26469901lfr.2 for ; Thu, 08 Sep 2022 01:09:45 -0700 (PDT) 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; bh=4oSg2P4H0c3IFq2G8ED04hH6+zeZ2P6mr31MJvIHYNs=; b=T1l06mWLZUqJLE3OVXfdMXGOvq8MOG76Hh4QSLJCY/9N3H+Sbmagem3UodapG0lh4Q HJhfLIavNNO2O0UkT1elao7+jzplKHXlDNKpiM+EEwHkXTAMqimT554LVE4wT9sHQlzF fcD/Mi5bAdNbU8/wn/FJVi540pWG7vwZ0hvMaHFQ3Cb4PG1nVMxBIvZ5+mpAYe1bCUgP qXX2OZJtjByMx1QXHiLIglkzMUERu6bHXKSmueK+34IrDGXkfY8N7TQ1eZhIOU6Zm09M tBlNftb5nmdwMtCvaa1gNAobfEIrdxG8QAae5f9l+/tj3/ubV6qxT5l/HvFWiAPTWqr+ s40Q== 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; bh=4oSg2P4H0c3IFq2G8ED04hH6+zeZ2P6mr31MJvIHYNs=; b=r0cs9u4Ih6B5gGluxpA2FOtr4IBjUnI1l6WIVFZoBb8osiTEg5S2miuju6q7kdhxOU 2zPxbPu/oSNO1RbWjKQF7PZEWaIwz/UwXGwXV9xpVYwvD13FjAOEYC9iqwJdi0bOHrcg 1XHMULXGnpAq0FGD393MlDW4UjhEUKdxitlPoX6yw5qzkbAM4JJ+HKvErJEcv2cWw70u XnB9QsVEyruJs+ldf4fl6HSKZLXE5cepd/euO9f7XycB/y/MCxNHyI/TKidnq8/4siL7 F59TCnmpbTRgh6Nxq6XpK0e2pfgrzGn4qSA5QUjtsuiTFTcrgW/lHB65NUpUNjp/plnp yyng== X-Gm-Message-State: ACgBeo1wCVDOU5sh4ZUWpUsUrOziPP6k76AHMePmpV8bI68ku1IEs/Uh I7XpI5ZYlUjXlRH5EF4vOnxGhA== X-Google-Smtp-Source: AA6agR4Rc9zA+nOn3ywxN6oUP3rxoagM0aLcIib1B0Q85tkTyM9ODv8EMKxd2TM/YJS/PeyL4+QmUw== X-Received: by 2002:ac2:5469:0:b0:497:ed1:97c6 with SMTP id e9-20020ac25469000000b004970ed197c6mr2155024lfn.248.1662624583404; Thu, 08 Sep 2022 01:09:43 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id e2-20020ac25462000000b004946b7593fesm2930173lfn.198.2022.09.08.01.09.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Sep 2022 01:09:42 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Lee Jones , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/3] ARM: dts: qcom: use generic node name "gpio" in SPMI PMIC Date: Thu, 8 Sep 2022 10:09:36 +0200 Message-Id: <20220908080938.29199-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org GPIO controller nodes are named by convention just "gpio", not "gpios". Signed-off-by: Krzysztof Kozlowski Acked-by: Rob Herring --- arch/arm/boot/dts/qcom-pm8941.dtsi | 2 +- arch/arm/boot/dts/qcom-pma8084.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/qcom-pm8941.dtsi b/arch/arm/boot/dts/qcom-pm8941.dtsi index 9cd49deb9fa7..1ac477878c67 100644 --- a/arch/arm/boot/dts/qcom-pm8941.dtsi +++ b/arch/arm/boot/dts/qcom-pm8941.dtsi @@ -59,7 +59,7 @@ smbb: charger@1000 { chg_otg: otg-vbus { }; }; - pm8941_gpios: gpios@c000 { + pm8941_gpios: gpio@c000 { compatible = "qcom,pm8941-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; diff --git a/arch/arm/boot/dts/qcom-pma8084.dtsi b/arch/arm/boot/dts/qcom-pma8084.dtsi index e77602e9f95c..0da6c1a5d547 100644 --- a/arch/arm/boot/dts/qcom-pma8084.dtsi +++ b/arch/arm/boot/dts/qcom-pma8084.dtsi @@ -27,7 +27,7 @@ pwrkey@800 { bias-pull-up; }; - pma8084_gpios: gpios@c000 { + pma8084_gpios: gpio@c000 { compatible = "qcom,pma8084-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; From patchwork Thu Sep 8 08:09:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 604018 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 8E279C54EE9 for ; Thu, 8 Sep 2022 08:09:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231360AbiIHIJ5 (ORCPT ); Thu, 8 Sep 2022 04:09:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231382AbiIHIJs (ORCPT ); Thu, 8 Sep 2022 04:09:48 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5068E24BF7 for ; Thu, 8 Sep 2022 01:09:46 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id u18so14135108lfo.8 for ; Thu, 08 Sep 2022 01:09:46 -0700 (PDT) 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; bh=Wy2QzsFfek5v84gPa6xvx08ZUFBkUuWpiHNRxUvUCgI=; b=Fv1NjPH+LCJf0qeZvpbIbIimXXSzCByk8Tl7k8fZvxsQdMUi09LZDLWFWlltwj0TtW TdG/HTH2WeApT4VFdoKB2hR9jcKhvGitR2U16jNayh1HumxyA0C8KxwfcCp3/13HWU1O NfpvHgrb/xVI86R2rLNTtz8PmXNk3B3uR3JR4GoCkvXmX5cHvQomrpuqynugCEMufQXA a0gtGk6+U/wv+oUIYXdriDyug/ux2tof/NV3ha/jzqi6KL0qtqeR98HO/QrEQ4+fP5TI jhClAQmjZ/6++TSofgMWWQxrn1Ff+muWWGm3zqkMGaZ6OXC/PLKiVG1MR2GObUe7gTjD ARuA== 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; bh=Wy2QzsFfek5v84gPa6xvx08ZUFBkUuWpiHNRxUvUCgI=; b=BBh52kBjMo/tZFyL2OSirzHpb37A6dI8G09R3ce9FrMiqS/+eQa0nFe0kL0Y1cdDnD MiU0OLDGawXdEUU7hXqrlqROBPhTzy/7jzmKAyhJP6byt/wG48HQxFy2dAd23qSIVxn+ IqjRqJFtmXdaerXjRgQPEj6gq7/zCU16Rfb14/fkfms2BskJbNp+gBfPyWaHpGQqCwRO qfib2YpJ8GcXO9NHjDtwmx245wsgcvfXJ04cfEel/pcM/5REr8RvBZXh9xycZRstaZBD PVmMKcRVuY32nIhoggc9riKFsf213qCFdMj5TwmqgCGBosrTtB1CqJSIkl1jhVR5Wy9Y 0iJw== X-Gm-Message-State: ACgBeo1AdEHczk4untZt8cDtou1SCHgJBgvz+cqidmjvUZ+vWYauR4Yg DgIRXxOQuWrSKYEqDVDI5xFdaw== X-Google-Smtp-Source: AA6agR511vMOPjaiTEode2TSJfN4y9rFDIv70sMPsxO5CKukWQermFCIAMJhkhzZRVmxu56PHJ+xkw== X-Received: by 2002:a05:6512:2344:b0:497:a136:c5ea with SMTP id p4-20020a056512234400b00497a136c5eamr2211469lfu.563.1662624584572; Thu, 08 Sep 2022 01:09:44 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id e2-20020ac25462000000b004946b7593fesm2930173lfn.198.2022.09.08.01.09.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Sep 2022 01:09:44 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Lee Jones , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/3] arm64: dts: qcom: use generic node name "gpio" in SPMI PMIC Date: Thu, 8 Sep 2022 10:09:37 +0200 Message-Id: <20220908080938.29199-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220908080938.29199-1-krzysztof.kozlowski@linaro.org> References: <20220908080938.29199-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org GPIO controller nodes are named by convention just "gpio", not "gpios". Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/pm6150.dtsi | 2 +- arch/arm64/boot/dts/qcom/pm6150l.dtsi | 2 +- arch/arm64/boot/dts/qcom/pm6350.dtsi | 2 +- arch/arm64/boot/dts/qcom/pm660.dtsi | 2 +- arch/arm64/boot/dts/qcom/pm660l.dtsi | 2 +- arch/arm64/boot/dts/qcom/pm7325.dtsi | 2 +- arch/arm64/boot/dts/qcom/pm8005.dtsi | 2 +- arch/arm64/boot/dts/qcom/pm8916.dtsi | 2 +- arch/arm64/boot/dts/qcom/pm8994.dtsi | 2 +- arch/arm64/boot/dts/qcom/pm8998.dtsi | 2 +- arch/arm64/boot/dts/qcom/pmi8994.dtsi | 2 +- arch/arm64/boot/dts/qcom/pmi8998.dtsi | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/pm6150.dtsi b/arch/arm64/boot/dts/qcom/pm6150.dtsi index 8a4972e6a24c..3cfd3eadccbf 100644 --- a/arch/arm64/boot/dts/qcom/pm6150.dtsi +++ b/arch/arm64/boot/dts/qcom/pm6150.dtsi @@ -86,7 +86,7 @@ pm6150_adc_tm: adc-tm@3500 { status = "disabled"; }; - pm6150_gpio: gpios@c000 { + pm6150_gpio: gpio@c000 { compatible = "qcom,pm6150-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; diff --git a/arch/arm64/boot/dts/qcom/pm6150l.dtsi b/arch/arm64/boot/dts/qcom/pm6150l.dtsi index f02c223ef448..8a7c18b134c7 100644 --- a/arch/arm64/boot/dts/qcom/pm6150l.dtsi +++ b/arch/arm64/boot/dts/qcom/pm6150l.dtsi @@ -55,7 +55,7 @@ pm6150l_adc_tm: adc-tm@3500 { status = "disabled"; }; - pm6150l_gpio: gpios@c000 { + pm6150l_gpio: gpio@c000 { compatible = "qcom,pm6150l-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; diff --git a/arch/arm64/boot/dts/qcom/pm6350.dtsi b/arch/arm64/boot/dts/qcom/pm6350.dtsi index ecf9b9919182..18c14257e2c1 100644 --- a/arch/arm64/boot/dts/qcom/pm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/pm6350.dtsi @@ -35,7 +35,7 @@ pm6350_resin: resin { }; }; - pm6350_gpios: gpios@c000 { + pm6350_gpios: gpio@c000 { compatible = "qcom,pm6350-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; diff --git a/arch/arm64/boot/dts/qcom/pm660.dtsi b/arch/arm64/boot/dts/qcom/pm660.dtsi index e1622b16c08b..ab934ff51f6d 100644 --- a/arch/arm64/boot/dts/qcom/pm660.dtsi +++ b/arch/arm64/boot/dts/qcom/pm660.dtsi @@ -170,7 +170,7 @@ vcoin: vcoin@83 { }; }; - pm660_gpios: gpios@c000 { + pm660_gpios: gpio@c000 { compatible = "qcom,pm660-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; diff --git a/arch/arm64/boot/dts/qcom/pm660l.dtsi b/arch/arm64/boot/dts/qcom/pm660l.dtsi index 8aa0a5078772..f9b3864bd3b9 100644 --- a/arch/arm64/boot/dts/qcom/pm660l.dtsi +++ b/arch/arm64/boot/dts/qcom/pm660l.dtsi @@ -48,7 +48,7 @@ pm660l_temp: temp-alarm@2400 { #thermal-sensor-cells = <0>; }; - pm660l_gpios: gpios@c000 { + pm660l_gpios: gpio@c000 { compatible = "qcom,pm660l-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; diff --git a/arch/arm64/boot/dts/qcom/pm7325.dtsi b/arch/arm64/boot/dts/qcom/pm7325.dtsi index e7f64a9ddc9c..cfd4b80c6e35 100644 --- a/arch/arm64/boot/dts/qcom/pm7325.dtsi +++ b/arch/arm64/boot/dts/qcom/pm7325.dtsi @@ -18,7 +18,7 @@ pm7325_temp_alarm: temp-alarm@a00 { #thermal-sensor-cells = <0>; }; - pm7325_gpios: gpios@8800 { + pm7325_gpios: gpio@8800 { compatible = "qcom,pm7325-gpio", "qcom,spmi-gpio"; reg = <0x8800>; gpio-controller; diff --git a/arch/arm64/boot/dts/qcom/pm8005.dtsi b/arch/arm64/boot/dts/qcom/pm8005.dtsi index 50fb6c753bf8..8d4b081b4e9d 100644 --- a/arch/arm64/boot/dts/qcom/pm8005.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8005.dtsi @@ -11,7 +11,7 @@ pm8005_lsid0: pmic@4 { #address-cells = <1>; #size-cells = <0>; - pm8005_gpio: gpios@c000 { + pm8005_gpio: gpio@c000 { compatible = "qcom,pm8005-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; diff --git a/arch/arm64/boot/dts/qcom/pm8916.dtsi b/arch/arm64/boot/dts/qcom/pm8916.dtsi index 606c2a6d1f0f..08f9ca006e72 100644 --- a/arch/arm64/boot/dts/qcom/pm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8916.dtsi @@ -107,7 +107,7 @@ pm8916_mpps: mpps@a000 { #interrupt-cells = <2>; }; - pm8916_gpios: gpios@c000 { + pm8916_gpios: gpio@c000 { compatible = "qcom,pm8916-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; diff --git a/arch/arm64/boot/dts/qcom/pm8994.dtsi b/arch/arm64/boot/dts/qcom/pm8994.dtsi index e92e5ac414d3..672094c8ca58 100644 --- a/arch/arm64/boot/dts/qcom/pm8994.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8994.dtsi @@ -108,7 +108,7 @@ adc-chan@f { }; }; - pm8994_gpios: gpios@c000 { + pm8994_gpios: gpio@c000 { compatible = "qcom,pm8994-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; diff --git a/arch/arm64/boot/dts/qcom/pm8998.dtsi b/arch/arm64/boot/dts/qcom/pm8998.dtsi index d09f2954b6f9..0d5163c720b7 100644 --- a/arch/arm64/boot/dts/qcom/pm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8998.dtsi @@ -101,7 +101,7 @@ rtc@6000 { interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>; }; - pm8998_gpio: gpios@c000 { + pm8998_gpio: gpio@c000 { compatible = "qcom,pm8998-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; diff --git a/arch/arm64/boot/dts/qcom/pmi8994.dtsi b/arch/arm64/boot/dts/qcom/pmi8994.dtsi index 2e8b58f944e9..92a139ca4482 100644 --- a/arch/arm64/boot/dts/qcom/pmi8994.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi8994.dtsi @@ -10,7 +10,7 @@ pmic@2 { #address-cells = <1>; #size-cells = <0>; - pmi8994_gpios: gpios@c000 { + pmi8994_gpios: gpio@c000 { compatible = "qcom,pmi8994-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; diff --git a/arch/arm64/boot/dts/qcom/pmi8998.dtsi b/arch/arm64/boot/dts/qcom/pmi8998.dtsi index 3852a012bb0f..485bebb685f0 100644 --- a/arch/arm64/boot/dts/qcom/pmi8998.dtsi +++ b/arch/arm64/boot/dts/qcom/pmi8998.dtsi @@ -9,7 +9,7 @@ pmi8998_lsid0: pmic@2 { #address-cells = <1>; #size-cells = <0>; - pmi8998_gpio: gpios@c000 { + pmi8998_gpio: gpio@c000 { compatible = "qcom,pmi8998-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller;