ARM: dts: Mark SDIO as non-removable in exynos5250-snow-common
authorJavier Martinez Canillas <javier@osg.samsung.com>
Thu, 15 Oct 2015 16:51:10 +0000 (18:51 +0200)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 29 Dec 2015 00:07:09 +0000 (09:07 +0900)
The Exynos5250 Snow Chromebooks have a Marvell WiFi SDIO chip which
can't neither be removed nor be detected. But the node isn't marked
as non-removable and instead has the broken-cd DT property.

This causes the device to be removed when the system enters into a
suspend state and the following warnings is shown after a resume:

[  181.944636] mmc2: error -2 during resume (card was removed?)

Also remove the card-detect-delay property that is not needed with
non-removable.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Tested-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
arch/arm/boot/dts/exynos5250-snow-common.dtsi

index 0a7f408824d825bb1ba6e9de18e02f4a989eb1ad..1822c502a25a3a9921f69a1cc290992c6240baed 100644 (file)
 &mmc_3 {
        status = "okay";
        num-slots = <1>;
-       broken-cd;
+       non-removable;
        cap-sdio-irq;
        keep-power-in-suspend;
-       card-detect-delay = <200>;
        samsung,dw-mshc-ciu-div = <3>;
        samsung,dw-mshc-sdr-timing = <2 3>;
        samsung,dw-mshc-ddr-timing = <1 2>;