Skip to contentSkip to conversation

ARM: dts: socfpga: Fix I2C bus unit-address error

PATCH New Rob Herring 2 participants 2 messages Sep 13, 2018 – Sep 14, 2018 Device tree bindings

lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 ARM: dts: socfpga: Fix I2C bus unit-address error

dtc has new checks for I2C buses. Fix the warnings in unit-addresses.

arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dtb: Warning (i2c_bus_reg): /soc/i2c at ffc04000/adxl345 at 0: I2C bus unit address format error, expected "53"

---
Please apply to the sub-arch tree. The dtc changes haven't landed, but will for 4.20.

 arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts +1 -1
index b280e6494193..31b01a998b2e 100644
@@ -88,7 +88,7 @@
 	status = "okay";
 	clock-frequency = <100000>;
 
-	adxl345: adxl345 at 0 {
+	adxl345: adxl345 at 53 {
 		compatible = "adi,adxl345";
 		reg = <0x53>;
 
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 ARM: dts: socfpga: Fix I2C bus unit-address error

Quoted 10 lines · Rob Herring

dtc has new checks for I2C buses. Fix the warnings in unit-addresses.

arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dtb: Warning (i2c_bus_reg): /soc/i2c at ffc04000/adxl345 at 0: I2C bus unit address format error, expected "53"

---
Please apply to the sub-arch tree. The dtc changes haven't landed, but will for 4.20.

Thanks for the fix! Applied!

Dinh