lkml.org 
[lkml]   [2019]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH AUTOSEL 4.19 186/205] ARM: dts: sun9i: Fix I2C bus warnings
    Date
    From: Rob Herring <robh@kernel.org>

    [ Upstream commit 57a83c5222c1b5e7b3acc72c6e60fce00a38991a ]

    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>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    arch/arm/boot/dts/sun9i-a80.dtsi | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi
    index 25591d6883ef2..d9532fb1ef650 100644
    --- a/arch/arm/boot/dts/sun9i-a80.dtsi
    +++ b/arch/arm/boot/dts/sun9i-a80.dtsi
    @@ -1196,7 +1196,7 @@
    };
    };

    - r_rsb: i2c@8003400 {
    + r_rsb: rsb@8003400 {
    compatible = "allwinner,sun8i-a23-rsb";
    reg = <0x08003400 0x400>;
    interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
    --
    2.20.1
    \
     
     \ /
      Last update: 2019-11-08 13:03    [W:4.838 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site