mmc: omap_hsmmc: Add support to get pinctrl values and max frequency for different...
authorKishon Vijay Abraham I <kishon@ti.com>
Tue, 30 Jan 2018 15:01:41 +0000 (16:01 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 19 Feb 2018 07:58:55 +0000 (16:58 +0900)
commit2d28eeda33a372f7c5f1219728d4c928723ebed1
tree172ef98af3dacc63929fe665d37100cbdbf48ea0
parent33c1d77f4ad7dc7cc2e449c15a757a679f9237a6
mmc: omap_hsmmc: Add support to get pinctrl values and max frequency for different hw revisions

AM572x SR1.1 requires different IODelay values to be used than that used
in AM572x SR2.0. These values are populated in device tree. Add
capability in omap_hsmmc driver to extract IOdelay values for different
silicon revision. The maximum frequency is also reduced when using a ES1.1.
To keep the ability to boot both revsions with the same dtb, those values
can be provided by the platform code.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
arch/arm/include/asm/arch-omap5/sys_proto.h
arch/arm/include/asm/omap_mmc.h
drivers/mmc/omap_hsmmc.c