diff mbox series

dt-bindings: iio/accel: Fix adi,adxl345/6 example I2C address

Message ID 20220615233411.90621-1-marex@denx.de (mailing list archive)
State Accepted
Headers show
Series dt-bindings: iio/accel: Fix adi,adxl345/6 example I2C address | expand

Commit Message

Marek Vasut June 15, 2022, 11:34 p.m. UTC
Align the example node address and reg content to be 0x2a for both.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandru Ardelean <alexandru.ardelean@analog.com>
Cc: Hartmut Knaack <knaack.h@gmx.de>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Michael Hennerich <michael.hennerich@analog.com>
Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: linux-iio@vger.kernel.org
Cc: devicetree@vger.kernel.org
---
 Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jonathan Cameron June 18, 2022, 4:26 p.m. UTC | #1
On Thu, 16 Jun 2022 01:34:11 +0200
Marek Vasut <marex@denx.de> wrote:

> Align the example node address and reg content to be 0x2a for both.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Alexandru Ardelean <alexandru.ardelean@analog.com>
> Cc: Hartmut Knaack <knaack.h@gmx.de>
> Cc: Jonathan Cameron <jic23@kernel.org>
> Cc: Lars-Peter Clausen <lars@metafoo.de>
> Cc: Michael Hennerich <michael.hennerich@analog.com>
> Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: linux-iio@vger.kernel.org
> Cc: devicetree@vger.kernel.org

Seems obviously correct to me, so I've applied it to the togreg
branch of iio.git and pushed that out as testing for 0-day to poke
at it.

Thanks,

Jonathan

> ---
>  Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
> index 11d32a2885352..9bb039e2f5331 100644
> --- a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
> +++ b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
> @@ -55,7 +55,7 @@ examples:
>          /* Example for a I2C device node */
>          accelerometer@2a {
>              compatible = "adi,adxl345";
> -            reg = <0x53>;
> +            reg = <0x2a>;
>              interrupt-parent = <&gpio0>;
>              interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
>          };
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
index 11d32a2885352..9bb039e2f5331 100644
--- a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
+++ b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
@@ -55,7 +55,7 @@  examples:
         /* Example for a I2C device node */
         accelerometer@2a {
             compatible = "adi,adxl345";
-            reg = <0x53>;
+            reg = <0x2a>;
             interrupt-parent = <&gpio0>;
             interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
         };