When omap_hsmmc was converted to DM, card detect and write protect gpios request were not implemented due to gpio failures [3], now as it is working adding cd/wp gpio request in probe. Also fixing the gpio active level in DT as done in kernel DT and enabling of DM_MMC for dra74 amd dra72 evm configs
With this patch when card is remove and trying mmc rescan gives error message like card is not present instead of select voltage failed as earlier. Pushed a branch for others for testing [1] and logs at [2] [1] - git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git dm-mmc-gpio [2] - http://pastebin.ubuntu.com/15611123/ [3] - http://lists.denx.de/pipermail/u-boot/2015-September/227962.html Mugunthan V N (5): drivers: mmc: omap_hsmmc: request cd and wp gpios when DM_MMC is defined ARM: dts: am43xx: fix cd-gpios definition as per hardware design and dt binding docs ARM: dts: dra7xx: am57xx: fix cd-gpios definition as per hardware design and dt binding docs configs: dra72_evm: enable mmc driver model configs: dra74_evm: enable mmc driver model arch/arm/dts/am437x-gp-evm.dts | 2 +- arch/arm/dts/am437x-sk-evm.dts | 2 +- arch/arm/dts/am57xx-beagle-x15.dts | 2 +- arch/arm/dts/dra7-evm.dts | 5 +++++ arch/arm/dts/dra72-evm.dts | 2 +- configs/dra72_evm_defconfig | 1 + configs/dra74_evm_defconfig | 1 + drivers/mmc/omap_hsmmc.c | 5 +++++ 8 files changed, 16 insertions(+), 4 deletions(-) -- 2.8.0.rc3.9.g44915db _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot