Re: [PATCH v2 3/3] ARM: dts: rockchip: fixes the spi compatible for rk3036

From: Heiko Stuebner
Date: Fri May 20 2016 - 08:58:53 EST


Am Freitag, 20. Mai 2016, 20:35:53 schrieb Shawn Lin:
> å 2016/5/20 7:56, Caesar Wang åé:
> > That's seem the incorrect string to match the spi driver.
>
> Will it break the backward compatibility for some dtb if not
> falling back to "rockchip,rockchip-spi" ?

in what dtb did you see "rockchip,rockchip-spi"?
I.e. it isn't part of any current _mainline_ devicetree files.


Heiko

>
> > Fixes commit f629fcfab2cd
> > ("ARM: dts: rockchip: support the spi for rk3036")
> >
> > Signed-off-by: Caesar Wang <wxt@xxxxxxxxxxxxxx>
> > Cc: Heiko Stuebner <heiko@xxxxxxxxx>
> > Cc: linux-rockchip@xxxxxxxxxxxxxxxxxxx
> >
> > ---
> >
> > Changes in v2: None
> >
> > arch/arm/boot/dts/rk3036.dtsi | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/arch/arm/boot/dts/rk3036.dtsi
> > b/arch/arm/boot/dts/rk3036.dtsi index d0f4bb7..a30700a 100644
> > --- a/arch/arm/boot/dts/rk3036.dtsi
> > +++ b/arch/arm/boot/dts/rk3036.dtsi
> > @@ -431,7 +431,7 @@
> >
> > };
> >
> > spi: spi@20074000 {
> >
> > - compatible = "rockchip,rockchip-spi";
> > + compatible = "rockchip,rk3036-spi";
> >
> > reg = <0x20074000 0x1000>;
> > interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
> > clocks =<&cru PCLK_SPI>, <&cru SCLK_SPI>;