mmc: sdhci-omap: Add custom set_uhs_signaling sdhci_host ops
authorKishon Vijay Abraham I <[email protected]>
Mon, 5 Feb 2018 12:50:16 +0000 (18:20 +0530)
committerUlf Hansson <[email protected]>
Mon, 5 Mar 2018 08:00:57 +0000 (09:00 +0100)
commit27ceb7e0b0ae08cada8e790a84cfd912c1002783
tree5490603bc850bc44b152d99b005296f94b701dc6
parent20ea26a1e3a513dadafcd35531c6d289820f60cb
mmc: sdhci-omap: Add custom set_uhs_signaling sdhci_host ops

UHS-1 DDR50 and MMC DDR52 mode require DDR bit to be
set in the configuration register (MMCHS_CON). Add
sdhci-omap specific set_uhs_signaling ops to set
this bit. Also while setting the UHSMS bit, clock should be
disabled.

Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
drivers/mmc/host/sdhci-omap.c