Re: [PATCH v3 02/14] ARM: dts: sunxi: h3/h5: Fix i2c2 register address

From: Icenowy Zheng
Date: Wed Aug 01 2018 - 09:12:33 EST


å 2017-09-26äç 09:22 +0200ïCorentin Labbeåéï
> The unit address and register address does not match.
> This patch fix the register address with the good one.
>
> Acked-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Corentin Labbe <clabbe.montjoie@xxxxxxxxx>

This patch should be backported.

Older LTS also needs patches, but the patch needs to be refactored to
suite the versions.

Cc: stable@xxxxxxxxxxxxxxx # 4.14

> ---
> arch/arm/boot/dts/sunxi-h3-h5.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi
> b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
> index b37ed3461229..289f2cd06dfe 100644
> --- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi
> +++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
> @@ -632,7 +632,7 @@
>
> i2c2: i2c@1c2b400 {
> compatible = "allwinner,sun6i-a31-i2c";
> - reg = <0x01c2b000 0x400>;
> + reg = <0x01c2b400 0x400>;
> interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&ccu CLK_BUS_I2C2>;
> resets = <&ccu RST_BUS_I2C2>;