devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: iio/adc: qcom,spmi-iadc: Fix 'reg' property in example
@ 2022-01-26 23:12 Rob Herring
  2022-01-30 12:17 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2022-01-26 23:12 UTC (permalink / raw)
  To: Jonathan Cameron, Lars-Peter Clausen; +Cc: linux-iio, devicetree, linux-kernel

The QCom SPMI PMIC child nodes are defined to have a single address cell,
but the example has an erroneous size cell. Remove it.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
index 27e3108661c0..2a94db688830 100644
--- a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
@@ -51,7 +51,7 @@ examples:
         #size-cells = <0>;
         pmic_iadc: adc@3600 {
             compatible = "qcom,spmi-iadc";
-            reg = <0x3600 0x100>;
+            reg = <0x3600>;
             interrupts = <0x0 0x36 0x0 IRQ_TYPE_EDGE_RISING>;
             qcom,external-resistor-micro-ohms = <10000>;
             #io-channel-cells  = <1>;
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: iio/adc: qcom,spmi-iadc: Fix 'reg' property in example
  2022-01-26 23:12 [PATCH] dt-bindings: iio/adc: qcom,spmi-iadc: Fix 'reg' property in example Rob Herring
@ 2022-01-30 12:17 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2022-01-30 12:17 UTC (permalink / raw)
  To: Rob Herring; +Cc: Lars-Peter Clausen, linux-iio, devicetree, linux-kernel

On Wed, 26 Jan 2022 17:12:17 -0600
Rob Herring <robh@kernel.org> wrote:

> The QCom SPMI PMIC child nodes are defined to have a single address cell,
> but the example has an erroneous size cell. Remove it.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>
Probably should have a fixes tag...
Fixes: a4e6bf69418c ("dt-bindings:iio:adc:qcom,spmi-iadc: txt to yaml format conversion.")

Given it's been there a long time I'm guessing no great rush on this so I'll
queue it up for then next merge window.

Shout if you want to pick it up sooner.

Thanks,

Jonathan

> ---
>  Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
> index 27e3108661c0..2a94db688830 100644
> --- a/Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/qcom,spmi-iadc.yaml
> @@ -51,7 +51,7 @@ examples:
>          #size-cells = <0>;
>          pmic_iadc: adc@3600 {
>              compatible = "qcom,spmi-iadc";
> -            reg = <0x3600 0x100>;
> +            reg = <0x3600>;
>              interrupts = <0x0 0x36 0x0 IRQ_TYPE_EDGE_RISING>;
>              qcom,external-resistor-micro-ohms = <10000>;
>              #io-channel-cells  = <1>;


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-30 12:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-26 23:12 [PATCH] dt-bindings: iio/adc: qcom,spmi-iadc: Fix 'reg' property in example Rob Herring
2022-01-30 12:17 ` Jonathan Cameron

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).