mmc: omap_hsmmc: add support to set default io voltage
authorKishon Vijay Abraham I <kishon@ti.com>
Tue, 30 Jan 2018 15:01:32 +0000 (16:01 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 19 Feb 2018 07:58:54 +0000 (16:58 +0900)
commitb59448170934094570a497ff7c5b4b2e94cff5a2
tree4bc713080efeceb587d93d685b2af83815915e83
parent48a2f11443a1f15c1dcee4f2051f12edc6378510
mmc: omap_hsmmc: add support to set default io voltage

"ti,dual-volt" is used in linux kernel to set the voltage capabilities.
For host controller dt nodes that doesn't have "ti,dual-volt",
it's assumed 1.8v is the io voltage. This is not always true (like in
the case of beagle-x15 where the io lines are connected to 3.3v).
Hence if "no-1-8-v" property is set, io voltage will be set to 3v.

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