
This patch seires enables omap_hsmmc to adopt driver model. This has been tested on AM335x beagle bone black and GP EVM (logs [1]). Also pushed a branch for testing [2]
[1]: http://pastebin.ubuntu.com/12417667/ [2]: git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git mmc-dm
TODO: Gpio get is always returning zero, so I have dropped request GPIO for card detect. Even tried with non-dm gpio driver and it is broken. Also non of the TI platforms uses card detect GPIO for hsmmc in u-boot, so dropped parsing DT for card detect and write protect gpio. Card detect and write protect can be added after fixing the omap gpio driver.
Mugunthan V N (5): omap_hsmmc: update struct hsmmc to accomodate base address from DT am335x_evm: mmc: do not define DM_MMC for spl drivers: mmc: omap_hsmmc: convert driver to adopt device driver model defconfig: am335x: bbb: enable ethernet driver model defconfig: am335x: gp_evm: enable ethernet driver model
arch/arm/include/asm/omap_mmc.h | 3 + configs/am335x_boneblack_vboot_defconfig | 1 + configs/am335x_gp_evm_defconfig | 1 + drivers/mmc/omap_hsmmc.c | 115 ++++++++++++++++++++++++++++++- include/configs/am335x_evm.h | 8 +++ 5 files changed, 127 insertions(+), 1 deletion(-)