mmc: add power cyle support in mmc core
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 21 Sep 2017 14:30:02 +0000 (16:30 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 12 Jan 2018 09:11:04 +0000 (18:11 +0900)
commitfb7c3beb5178e5c81a00642e71a4b73427b52429
tree5b0bce50a8636b9bf6d43e3e8e751746dde16067
parent318a7a576bc49aa8b4207e694d3fbd48c663d6ac
mmc: add power cyle support in mmc core

mmc/sd specification requires vdd to be disabled for 1 ms
and then enabled again during power cycle. Add a
function in mmc core to perform power cycle and set
the io signal to it's initial state.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
drivers/mmc/mmc.c