OSDN Git Service

ARM: dts: sun9i: Fix I2C bus warnings
authorRob Herring <robh@kernel.org>
Thu, 13 Sep 2018 18:12:38 +0000 (13:12 -0500)
committerChen-Yu Tsai <wens@csie.org>
Fri, 14 Sep 2018 08:59:24 +0000 (16:59 +0800)
commit57a83c5222c1b5e7b3acc72c6e60fce00a38991a
tree427a7798d9759b7303d90c8fe478d2cf2a9e68b1
parent0729b4af5753b65aa031f58c435da53dbbf56d19
ARM: dts: sun9i: Fix I2C bus warnings

dtc has new checks for I2C buses. The sun9i-a80 dts file has a node named
'i2c' which causes a false positive warning. As the node is a RSB bus,
correct the node name to be 'rsb' to fix the warnings.

arch/arm/boot/dts/sun9i-a80-cubieboard4.dtb: Warning (i2c_bus_reg): /soc/i2c@8003400/codec@e89:reg: I2C address must be less than 10-bits, got "0xe89"
arch/arm/boot/dts/sun9i-a80-cubieboard4.dtb: Warning (i2c_bus_reg): /soc/i2c@8003400/pmic@745:reg: I2C address must be less than 10-bits, got "0x745"
arch/arm/boot/dts/sun9i-a80-optimus.dtb: Warning (i2c_bus_reg): /soc/i2c@8003400/codec@e89:reg: I2C address must be less than 10-bits, got "0xe89"
arch/arm/boot/dts/sun9i-a80-optimus.dtb: Warning (i2c_bus_reg): /soc/i2c@8003400/pmic@745:reg: I2C address must be less than 10-bits, got "0x745"

Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/boot/dts/sun9i-a80.dtsi