* [PATCH v2 1/2] dt-bindings: iio/adc: qcom,spmi-iadc: use double compatibles
@ 2022-10-31 18:24 Luca Weiss
2022-11-02 16:31 ` Rob Herring
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Luca Weiss @ 2022-10-31 18:24 UTC (permalink / raw)
To: linux-arm-msm
Cc: ~postmarketos/upstreaming, phone-devel, afd, Luca Weiss,
Jonathan Cameron, Lars-Peter Clausen, Rob Herring,
Krzysztof Kozlowski, linux-iio, devicetree, linux-kernel
As in other bindings, let's use specific compatibles together with the
fallback compatible. Adjust the bindings for it.
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
Changes in v2:
* New patch
.../devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
index 2a94db688830..fa855baa368c 100644
--- a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
@@ -18,7 +18,10 @@ description: |
properties:
compatible:
- const: qcom,spmi-iadc
+ items:
+ - enum:
+ - qcom,pm8941-iadc
+ - const: qcom,spmi-iadc
reg:
description: IADC base address and length in the SPMI PMIC register map
@@ -50,7 +53,7 @@ examples:
#address-cells = <1>;
#size-cells = <0>;
pmic_iadc: adc@3600 {
- compatible = "qcom,spmi-iadc";
+ compatible = "qcom,pm8941-iadc", "qcom,spmi-iadc";
reg = <0x3600>;
interrupts = <0x0 0x36 0x0 IRQ_TYPE_EDGE_RISING>;
qcom,external-resistor-micro-ohms = <10000>;
--
2.38.1
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH v2 1/2] dt-bindings: iio/adc: qcom,spmi-iadc: use double compatibles
2022-10-31 18:24 [PATCH v2 1/2] dt-bindings: iio/adc: qcom,spmi-iadc: use double compatibles Luca Weiss
@ 2022-11-02 16:31 ` Rob Herring
2022-11-06 12:13 ` Jonathan Cameron
2022-11-02 18:33 ` Krzysztof Kozlowski
2022-11-08 1:27 ` (subset) " Bjorn Andersson
2 siblings, 1 reply; 7+ messages in thread
From: Rob Herring @ 2022-11-02 16:31 UTC (permalink / raw)
To: Luca Weiss
Cc: linux-arm-msm, ~postmarketos/upstreaming, phone-devel, afd,
Jonathan Cameron, Lars-Peter Clausen, Krzysztof Kozlowski,
linux-iio, devicetree, linux-kernel
On Mon, Oct 31, 2022 at 07:24:54PM +0100, Luca Weiss wrote:
> As in other bindings, let's use specific compatibles together with the
> fallback compatible. Adjust the bindings for it.
You should state users are already doing this.
>
> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> ---
> Changes in v2:
> * New patch
>
> .../devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: iio/adc: qcom,spmi-iadc: use double compatibles
2022-11-02 16:31 ` Rob Herring
@ 2022-11-06 12:13 ` Jonathan Cameron
2022-11-18 17:10 ` Luca Weiss
0 siblings, 1 reply; 7+ messages in thread
From: Jonathan Cameron @ 2022-11-06 12:13 UTC (permalink / raw)
To: Rob Herring
Cc: Luca Weiss, linux-arm-msm, ~postmarketos/upstreaming, phone-devel,
afd, Lars-Peter Clausen, Krzysztof Kozlowski, linux-iio,
devicetree, linux-kernel
On Wed, 2 Nov 2022 11:31:36 -0500
Rob Herring <robh@kernel.org> wrote:
> On Mon, Oct 31, 2022 at 07:24:54PM +0100, Luca Weiss wrote:
> > As in other bindings, let's use specific compatibles together with the
> > fallback compatible. Adjust the bindings for it.
>
> You should state users are already doing this.
>
I can fix that up whilst applying. However it raises the question:
Should I treat this as a fix, or a tidy up (that can wait for next merge window)?
I'm also fine with this going with the other patch in the series (that lore
found for me as it didn't go to linux-iio) if that makes more sense.
If that happens
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Jonathan
> >
> > Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> > ---
> > Changes in v2:
> > * New patch
> >
> > .../devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml | 7 +++++--
> > 1 file changed, 5 insertions(+), 2 deletions(-)
>
> Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: iio/adc: qcom,spmi-iadc: use double compatibles
2022-11-06 12:13 ` Jonathan Cameron
@ 2022-11-18 17:10 ` Luca Weiss
2022-11-23 20:53 ` Jonathan Cameron
0 siblings, 1 reply; 7+ messages in thread
From: Luca Weiss @ 2022-11-18 17:10 UTC (permalink / raw)
To: Rob Herring, Jonathan Cameron
Cc: linux-arm-msm, ~postmarketos/upstreaming, phone-devel, afd,
Lars-Peter Clausen, Krzysztof Kozlowski, linux-iio, devicetree,
linux-kernel
Hi Jonathan,
On Sonntag, 6. November 2022 13:13:10 CET Jonathan Cameron wrote:
> On Wed, 2 Nov 2022 11:31:36 -0500
>
> Rob Herring <robh@kernel.org> wrote:
> > On Mon, Oct 31, 2022 at 07:24:54PM +0100, Luca Weiss wrote:
> > > As in other bindings, let's use specific compatibles together with the
> > > fallback compatible. Adjust the bindings for it.
> >
> > You should state users are already doing this.
>
> I can fix that up whilst applying. However it raises the question:
> Should I treat this as a fix, or a tidy up (that can wait for next merge
> window)?
>
> I'm also fine with this going with the other patch in the series (that lore
> found for me as it didn't go to linux-iio) if that makes more sense.
>
Sorry for the delay in answering.
The dts patch (2/2) has already been picked up through qcom tree, so I think
you can apply this one to your tree.
It's definitely not urgent, so next merge window would be perfect.
Regards
Luca
> If that happens
>
> Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
>
> Jonathan
>
> > > Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> > > ---
> > > Changes in v2:
> > > * New patch
> > >
> > > .../devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml | 7 +++++--
> > > 1 file changed, 5 insertions(+), 2 deletions(-)
> >
> > Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: iio/adc: qcom,spmi-iadc: use double compatibles
2022-11-18 17:10 ` Luca Weiss
@ 2022-11-23 20:53 ` Jonathan Cameron
0 siblings, 0 replies; 7+ messages in thread
From: Jonathan Cameron @ 2022-11-23 20:53 UTC (permalink / raw)
To: Luca Weiss
Cc: Rob Herring, linux-arm-msm, ~postmarketos/upstreaming,
phone-devel, afd, Lars-Peter Clausen, Krzysztof Kozlowski,
linux-iio, devicetree, linux-kernel
On Fri, 18 Nov 2022 18:10:17 +0100
Luca Weiss <luca@z3ntu.xyz> wrote:
> Hi Jonathan,
>
> On Sonntag, 6. November 2022 13:13:10 CET Jonathan Cameron wrote:
> > On Wed, 2 Nov 2022 11:31:36 -0500
> >
> > Rob Herring <robh@kernel.org> wrote:
> > > On Mon, Oct 31, 2022 at 07:24:54PM +0100, Luca Weiss wrote:
> > > > As in other bindings, let's use specific compatibles together with the
> > > > fallback compatible. Adjust the bindings for it.
> > >
> > > You should state users are already doing this.
> >
> > I can fix that up whilst applying. However it raises the question:
> > Should I treat this as a fix, or a tidy up (that can wait for next merge
> > window)?
> >
> > I'm also fine with this going with the other patch in the series (that lore
> > found for me as it didn't go to linux-iio) if that makes more sense.
> >
>
> Sorry for the delay in answering.
> The dts patch (2/2) has already been picked up through qcom tree, so I think
> you can apply this one to your tree.
> It's definitely not urgent, so next merge window would be perfect.
Applied
>
> Regards
> Luca
>
> > If that happens
> >
> > Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> >
> > Jonathan
> >
> > > > Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> > > > ---
> > > > Changes in v2:
> > > > * New patch
> > > >
> > > > .../devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml | 7 +++++--
> > > > 1 file changed, 5 insertions(+), 2 deletions(-)
> > >
> > > Acked-by: Rob Herring <robh@kernel.org>
>
>
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: iio/adc: qcom,spmi-iadc: use double compatibles
2022-10-31 18:24 [PATCH v2 1/2] dt-bindings: iio/adc: qcom,spmi-iadc: use double compatibles Luca Weiss
2022-11-02 16:31 ` Rob Herring
@ 2022-11-02 18:33 ` Krzysztof Kozlowski
2022-11-08 1:27 ` (subset) " Bjorn Andersson
2 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2022-11-02 18:33 UTC (permalink / raw)
To: Luca Weiss, linux-arm-msm
Cc: ~postmarketos/upstreaming, phone-devel, afd, Jonathan Cameron,
Lars-Peter Clausen, Rob Herring, Krzysztof Kozlowski, linux-iio,
devicetree, linux-kernel
On 31/10/2022 14:24, Luca Weiss wrote:
> As in other bindings, let's use specific compatibles together with the
> fallback compatible. Adjust the bindings for it.
>
> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> ---
> Changes in v2:
> * New patch
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: (subset) [PATCH v2 1/2] dt-bindings: iio/adc: qcom,spmi-iadc: use double compatibles
2022-10-31 18:24 [PATCH v2 1/2] dt-bindings: iio/adc: qcom,spmi-iadc: use double compatibles Luca Weiss
2022-11-02 16:31 ` Rob Herring
2022-11-02 18:33 ` Krzysztof Kozlowski
@ 2022-11-08 1:27 ` Bjorn Andersson
2 siblings, 0 replies; 7+ messages in thread
From: Bjorn Andersson @ 2022-11-08 1:27 UTC (permalink / raw)
To: luca, linux-arm-msm
Cc: lars, devicetree, robh+dt, ~postmarketos/upstreaming,
krzysztof.kozlowski+dt, afd, phone-devel, linux-kernel, linux-iio,
jic23
On Mon, 31 Oct 2022 19:24:54 +0100, Luca Weiss wrote:
> As in other bindings, let's use specific compatibles together with the
> fallback compatible. Adjust the bindings for it.
>
>
Applied, thanks!
[2/2] ARM: dts: qcom: pm8941: fix iadc node
commit: f659cd2770767c5ceabadace1b334df9de468eae
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-11-23 20:42 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-31 18:24 [PATCH v2 1/2] dt-bindings: iio/adc: qcom,spmi-iadc: use double compatibles Luca Weiss
2022-11-02 16:31 ` Rob Herring
2022-11-06 12:13 ` Jonathan Cameron
2022-11-18 17:10 ` Luca Weiss
2022-11-23 20:53 ` Jonathan Cameron
2022-11-02 18:33 ` Krzysztof Kozlowski
2022-11-08 1:27 ` (subset) " Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox