diff mbox series

dt-bindings: iio/adc: qcom,spmi-iadc: Fix 'reg' property in example

Message ID 20220126231217.1633935-1-robh@kernel.org
State Accepted
Commit de645b279144b7d036ef672227af76739365f3ae
Headers show
Series dt-bindings: iio/adc: qcom,spmi-iadc: Fix 'reg' property in example | expand

Commit Message

Rob Herring (Arm) Jan. 26, 2022, 11:12 p.m. UTC
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(-)

Comments

Jonathan Cameron Jan. 30, 2022, 12:17 p.m. UTC | #1
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>;
diff mbox series

Patch

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>;