]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
ARM: dts: imx51-eukrea-mbimxsd51-baseboard: unbreak esdhc.
authorDenis Carikli <denis@eukrea.com>
Wed, 18 Jun 2014 12:56:56 +0000 (14:56 +0200)
committerShawn Guo <shawn.guo@freescale.com>
Sat, 21 Jun 2014 07:54:06 +0000 (15:54 +0800)
The following commit:
89d7e5c mmc: sdhci-esdhc-imx: add runtime pm support
has the effect of also disabling the hardware card detect
in runtime pm.

We switch to GPIO based detection to avoid this issue.

This patch is based on:
ARM: dts: imx51-babbage: Fix esdhc setup

Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/boot/dts/imx51-eukrea-mbimxsd51-baseboard.dts

index 75e66c9c6144ef02badcb6cafee8755418035b30..31cfb7f2b02ec141d11c3a762f26ffdb1dae1e27 100644 (file)
 &esdhc1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_esdhc1 &pinctrl_esdhc1_cd>;
-       fsl,cd-controller;
+       cd-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
        status = "okay";
 };
 
 
                pinctrl_esdhc1_cd: esdhc1_cd {
                        fsl,pins = <
-                               MX51_PAD_GPIO1_0__SD1_CD 0x20d5
+                               MX51_PAD_GPIO1_0__GPIO1_0 0xd5
                        >;
                };