mmc: tmio: sdhi: Implement waiting for DAT0 line state
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 28 Oct 2018 18:28:56 +0000 (19:28 +0100)
committerMarek Vasut <marex@denx.de>
Fri, 2 Nov 2018 15:04:45 +0000 (16:04 +0100)
commit2fc10754d1902ddc2aa3ecd2f0e976a1714a6780
tree245edf15c84b7fb98c0f1caa2c266da33f3b312d
parentdc1488f1d26d103449db3436f43fcd81712cb47c
mmc: tmio: sdhi: Implement waiting for DAT0 line state

When the bus switches to 1.8V mode of operation, it is necessary to
verify that the card correctly initiated and completed the voltage
switch. This is done by reading out the state of DATA0 line.

This patch implement support for reading out the state of the DATA0
line, so the MMC core code can correctly switch to 1.8V mode.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mmc/renesas-sdhi.c