* [PATCH 0/2] Small updates / fixups for PMIC spmi-gpio @ 2023-09-29 8:17 Luca Weiss 2023-09-29 8:17 ` [PATCH 1/2] dt-bindings: mfd: qcom,spmi-pmic: Update gpio example Luca Weiss 2023-09-29 8:17 ` [PATCH 2/2] arm64: dts: qcom: pm7250b: Use correct node name for gpios Luca Weiss 0 siblings, 2 replies; 6+ messages in thread From: Luca Weiss @ 2023-09-29 8:17 UTC (permalink / raw) To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Stephen Boyd Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm, devicetree, linux-kernel, Luca Weiss Update the schema to use plural _gpios label in the example. And fix a dtbs_check warning in pm7250b.dtsi. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> --- Luca Weiss (2): dt-bindings: mfd: qcom,spmi-pmic: Update gpio example arm64: dts: qcom: pm7250b: Use correct node name for gpios Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 4 ++-- arch/arm64/boot/dts/qcom/pm7250b.dtsi | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) --- base-commit: df964ce9ef9fea10cf131bf6bad8658fde7956f6 change-id: 20230929-pm7250b-gpio-fixup-f407ee98425a Best regards, -- Luca Weiss <luca.weiss@fairphone.com> ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] dt-bindings: mfd: qcom,spmi-pmic: Update gpio example 2023-09-29 8:17 [PATCH 0/2] Small updates / fixups for PMIC spmi-gpio Luca Weiss @ 2023-09-29 8:17 ` Luca Weiss 2023-09-30 15:06 ` Krzysztof Kozlowski 2023-09-29 8:17 ` [PATCH 2/2] arm64: dts: qcom: pm7250b: Use correct node name for gpios Luca Weiss 1 sibling, 1 reply; 6+ messages in thread From: Luca Weiss @ 2023-09-29 8:17 UTC (permalink / raw) To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Stephen Boyd Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm, devicetree, linux-kernel, Luca Weiss As per commit ea25d61b448a ("arm64: dts: qcom: Use plural _gpios node label for PMIC gpios") all dts files now use the plural _gpios instead of the singular _gpio as label. Update the schema example also to match. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> --- Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml index 55e931ba5b47..e4842e1fbd65 100644 --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml @@ -245,7 +245,7 @@ examples: #address-cells = <1>; #size-cells = <0>; - pmi8998_gpio: gpio@c000 { + pmi8998_gpios: gpio@c000 { compatible = "qcom,pmi8998-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; @@ -330,7 +330,7 @@ examples: }; }; - pm6150_gpio: gpio@c000 { + pm6150_gpios: gpio@c000 { compatible = "qcom,pm6150-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; -- 2.42.0 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] dt-bindings: mfd: qcom,spmi-pmic: Update gpio example 2023-09-29 8:17 ` [PATCH 1/2] dt-bindings: mfd: qcom,spmi-pmic: Update gpio example Luca Weiss @ 2023-09-30 15:06 ` Krzysztof Kozlowski 2023-10-02 6:40 ` Luca Weiss 0 siblings, 1 reply; 6+ messages in thread From: Krzysztof Kozlowski @ 2023-09-30 15:06 UTC (permalink / raw) To: Luca Weiss, Andy Gross, Bjorn Andersson, Konrad Dybcio, Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Stephen Boyd Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm, devicetree, linux-kernel On 29/09/2023 10:17, Luca Weiss wrote: > As per commit ea25d61b448a ("arm64: dts: qcom: Use plural _gpios node > label for PMIC gpios") all dts files now use the plural _gpios instead > of the singular _gpio as label. Update the schema example also to match. > > Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> > --- > Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > index 55e931ba5b47..e4842e1fbd65 100644 > --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > @@ -245,7 +245,7 @@ examples: > #address-cells = <1>; > #size-cells = <0>; > > - pmi8998_gpio: gpio@c000 { > + pmi8998_gpios: gpio@c000 This does no make sense... you update label only here, but not in any user of it which proves that label is not used. If it is not used, it should be dropped, not changed... Best regards, Krzysztof ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] dt-bindings: mfd: qcom,spmi-pmic: Update gpio example 2023-09-30 15:06 ` Krzysztof Kozlowski @ 2023-10-02 6:40 ` Luca Weiss 2023-10-02 17:03 ` Rob Herring 0 siblings, 1 reply; 6+ messages in thread From: Luca Weiss @ 2023-10-02 6:40 UTC (permalink / raw) To: Krzysztof Kozlowski, Andy Gross, Bjorn Andersson, Konrad Dybcio, Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Stephen Boyd Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm, devicetree, linux-kernel On Sat Sep 30, 2023 at 5:06 PM CEST, Krzysztof Kozlowski wrote: > On 29/09/2023 10:17, Luca Weiss wrote: > > As per commit ea25d61b448a ("arm64: dts: qcom: Use plural _gpios node > > label for PMIC gpios") all dts files now use the plural _gpios instead > > of the singular _gpio as label. Update the schema example also to match. > > > > Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> > > --- > > Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > > index 55e931ba5b47..e4842e1fbd65 100644 > > --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > > +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > > @@ -245,7 +245,7 @@ examples: > > #address-cells = <1>; > > #size-cells = <0>; > > > > - pmi8998_gpio: gpio@c000 { > > + pmi8998_gpios: gpio@c000 > > This does no make sense... you update label only here, but not in any > user of it which proves that label is not used. If it is not used, it > should be dropped, not changed... Okay, I will drop the label instead of updating it in v2. Regards Luca > > Best regards, > Krzysztof ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] dt-bindings: mfd: qcom,spmi-pmic: Update gpio example 2023-10-02 6:40 ` Luca Weiss @ 2023-10-02 17:03 ` Rob Herring 0 siblings, 0 replies; 6+ messages in thread From: Rob Herring @ 2023-10-02 17:03 UTC (permalink / raw) To: Luca Weiss Cc: Krzysztof Kozlowski, Andy Gross, Bjorn Andersson, Konrad Dybcio, Lee Jones, Krzysztof Kozlowski, Conor Dooley, Stephen Boyd, ~postmarketos/upstreaming, phone-devel, linux-arm-msm, devicetree, linux-kernel On Mon, Oct 02, 2023 at 08:40:10AM +0200, Luca Weiss wrote: > On Sat Sep 30, 2023 at 5:06 PM CEST, Krzysztof Kozlowski wrote: > > On 29/09/2023 10:17, Luca Weiss wrote: > > > As per commit ea25d61b448a ("arm64: dts: qcom: Use plural _gpios node > > > label for PMIC gpios") all dts files now use the plural _gpios instead > > > of the singular _gpio as label. Update the schema example also to match. > > > > > > Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> > > > --- > > > Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 4 ++-- > > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > > > diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > > > index 55e931ba5b47..e4842e1fbd65 100644 > > > --- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > > > +++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml > > > @@ -245,7 +245,7 @@ examples: > > > #address-cells = <1>; > > > #size-cells = <0>; > > > > > > - pmi8998_gpio: gpio@c000 { > > > + pmi8998_gpios: gpio@c000 > > > > This does no make sense... you update label only here, but not in any > > user of it which proves that label is not used. If it is not used, it > > should be dropped, not changed... > > Okay, I will drop the label instead of updating it in v2. Or just drop the patch and skip the trivial changes. If you want to fix unused labels, fix it for the whole subsystem (mfd) or treewide. Rob ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/2] arm64: dts: qcom: pm7250b: Use correct node name for gpios 2023-09-29 8:17 [PATCH 0/2] Small updates / fixups for PMIC spmi-gpio Luca Weiss 2023-09-29 8:17 ` [PATCH 1/2] dt-bindings: mfd: qcom,spmi-pmic: Update gpio example Luca Weiss @ 2023-09-29 8:17 ` Luca Weiss 1 sibling, 0 replies; 6+ messages in thread From: Luca Weiss @ 2023-09-29 8:17 UTC (permalink / raw) To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Stephen Boyd Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm, devicetree, linux-kernel, Luca Weiss Use gpio@ instead of pinctrl@ as that's the name expected by the qcom,spmi-pmic.yaml schema. Update it to fix dt validation. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> --- arch/arm64/boot/dts/qcom/pm7250b.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/pm7250b.dtsi b/arch/arm64/boot/dts/qcom/pm7250b.dtsi index df0afe82f250..3bf7cf5d1700 100644 --- a/arch/arm64/boot/dts/qcom/pm7250b.dtsi +++ b/arch/arm64/boot/dts/qcom/pm7250b.dtsi @@ -148,7 +148,7 @@ pm7250b_adc_tm: adc-tm@3500 { status = "disabled"; }; - pm7250b_gpios: pinctrl@c000 { + pm7250b_gpios: gpio@c000 { compatible = "qcom,pm7250b-gpio", "qcom,spmi-gpio"; reg = <0xc000>; gpio-controller; -- 2.42.0 ^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-10-02 17:03 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-09-29 8:17 [PATCH 0/2] Small updates / fixups for PMIC spmi-gpio Luca Weiss 2023-09-29 8:17 ` [PATCH 1/2] dt-bindings: mfd: qcom,spmi-pmic: Update gpio example Luca Weiss 2023-09-30 15:06 ` Krzysztof Kozlowski 2023-10-02 6:40 ` Luca Weiss 2023-10-02 17:03 ` Rob Herring 2023-09-29 8:17 ` [PATCH 2/2] arm64: dts: qcom: pm7250b: Use correct node name for gpios Luca Weiss
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).