UPSTREAM: ARM: dts: rockchip: remove broken-cd from emmc and sdio
authorShawn Lin <shawn.lin@rock-chips.com>
Tue, 26 Jan 2016 02:06:43 +0000 (10:06 +0800)
committerCaesar Wang <wxt@rock-chips.com>
Tue, 31 May 2016 08:43:29 +0000 (16:43 +0800)
Only one of "broken-cd" and "non-removable" should be supplied
according to Documentation/devicetree/bindings/mmc/mmc.txt.
Obviously emmc and sdio-wifi are non-removable devices, while
broken-cd is for removable device whose card detect pin is broken.

Change-Id: I4be26d4bc14faefa9ff81fcabada0a768419108f
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
(cherry picked from git.kernel.org next/linux-next.git master commit
 57375d88fa3f6bf9351051529464c708f72adb1d)
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
arch/arm/boot/dts/rk3036-kylin.dts
arch/arm/boot/dts/rk3036.dtsi
arch/arm/boot/dts/rk3066a-rayeager.dts
arch/arm/boot/dts/rk3288-evb.dtsi
arch/arm/boot/dts/rk3288-firefly.dtsi
arch/arm/boot/dts/rk3288-popmetal.dts
arch/arm/boot/dts/rk3288-veyron.dtsi

index 01dd4a8..951f15d 100644 (file)
 &sdio {
        status = "okay";
 
-       broken-cd;
        bus-width = <4>;
        cap-sd-highspeed;
        cap-sdio-irq;
index c002b78..4c84c38 100644 (file)
                compatible = "rockchip,rk3036-dw-mshc", "rockchip,rk3288-dw-mshc";
                reg = <0x1021c000 0x4000>;
                interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
-               broken-cd;
                bus-width = <8>;
                cap-mmc-highspeed;
                clock-frequency = <37500000>;
index 341c1f8..e9db017 100644 (file)
 };
 
 &emmc {
-       broken-cd;
        bus-width = <8>;
        cap-mmc-highspeed;
        disable-wp;
 };
 
 &mmc1 {
-       broken-cd;
        bus-width = <4>;
        disable-wp;
        non-removable;
index f6d2e78..e776d4f 100644 (file)
 };
 
 &emmc {
-       broken-cd;
        bus-width = <8>;
        cap-mmc-highspeed;
        disable-wp;
index 4e3fd9a..3f36af7 100644 (file)
 };
 
 &emmc {
-       broken-cd;
        bus-width = <8>;
        cap-mmc-highspeed;
        disable-wp;
 };
 
 &sdio0 {
-       broken-cd;
        bus-width = <4>;
        disable-wp;
        non-removable;
index 65c4756..cc2be77 100644 (file)
 };
 
 &emmc {
-       broken-cd;
        bus-width = <8>;
        cap-mmc-highspeed;
        disable-wp;
index 5e61f07..0baa6bb 100644 (file)
 &emmc {
        status = "okay";
 
-       broken-cd;
        bus-width = <8>;
        cap-mmc-highspeed;
        rockchip,default-sample-phase = <158>;
 &sdio0 {
        status = "okay";
 
-       broken-cd;
        bus-width = <4>;
        cap-sd-highspeed;
        cap-sdio-irq;