summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/omap_mmc.h
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2018-01-30 16:01:41 +0100
committerJaehoon Chung <jh80.chung@samsung.com>2018-02-19 16:58:55 +0900
commit2d28eeda33a372f7c5f1219728d4c928723ebed1 (patch)
tree172ef98af3dacc63929fe665d37100cbdbf48ea0 /arch/arm/include/asm/omap_mmc.h
parent33c1d77f4ad7dc7cc2e449c15a757a679f9237a6 (diff)
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>
Diffstat (limited to 'arch/arm/include/asm/omap_mmc.h')
-rw-r--r--arch/arm/include/asm/omap_mmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/omap_mmc.h b/arch/arm/include/asm/omap_mmc.h
index 635ce1e488..c50087e135 100644
--- a/arch/arm/include/asm/omap_mmc.h
+++ b/arch/arm/include/asm/omap_mmc.h
@@ -70,6 +70,7 @@ struct omap_hsmmc_plat {
struct mmc mmc;
bool cd_inverted;
u32 controller_flags;
+ const char *hw_rev;
};
/*