Skip to contentSkip to conversation

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

PATCH In review Marek Vasut 2 participants 2 messages Jun 15, 2022 – Jun 18, 2022

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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.

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
index 11d32a2885352..9bb039e2f5331 100644
@@ -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
maintainer
#1 lore raw
Quoted 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 0x2a for both.

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
index 11d32a2885352..9bb039e2f5331 100644
@@ -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>;
         };