dt-bindings: iio/accel: Fix adi,adxl345/6 example I2C address
Subsystems (4)
PATCH 1/1 dt-bindings: iio/accel: Fix adi,adxl345/6 example I2C address
Align the example node address and reg content to be 0x2a for both.
Signed-off-by Marek Vasut <[email protected]>
Cc Alexandru Ardelean <[email protected]>
Cc Hartmut Knaack <[email protected]>
Cc Jonathan Cameron <[email protected]>
Cc Lars-Peter Clausen <[email protected]>
Cc Michael Hennerich <[email protected]>
Cc Peter Meerwald-Stadler <[email protected]>
Cc Rob Herring <[email protected]>
--- Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml +1 -1
@@ -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>; };
Signature · 1 line
2.35.1
Jonathan Cameron
maintainerQuoted 12 lines · On Thu, 16 Jun 2022 01:34:11 +0200 Marek Vasut <[email protected]> wrote:
Align the example node address and reg content to be
0x2afor both.Signed-off-by Marek Vasut <[email protected]>Cc Alexandru Ardelean <[email protected]>Cc Hartmut Knaack <[email protected]>Cc Jonathan Cameron <[email protected]>Cc Lars-Peter Clausen <[email protected]>Cc Michael Hennerich <[email protected]>Cc Peter Meerwald-Stadler <[email protected]>Cc Rob Herring <[email protected]>
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
Quoted 17 lines
--- Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml +1
-1@@ -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>; };