
On Tue, Sep 15, 2015 at 3:11 PM, Mugunthan V N mugunthanvnm@ti.com wrote:
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]
Are you going to migrate omap3/omap4/omap5 and any of the other TI devices that use the driver too?
Peter
[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(-)
-- 2.6.0.rc2.10.gf4d9753
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot