pinctrl: sh-pfc: r8a77990: Add voltage switch operations for SDHI
authorTakeshi Kihara <takeshi.kihara.df@renesas.com>
Mon, 5 Nov 2018 21:40:12 +0000 (22:40 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 13 Nov 2018 09:08:25 +0000 (10:08 +0100)
commit33847a71373cd6aeb185be4806ba8a760de0f4cc
tree9fea1771e3e74d7189c7fe8365f6b572cec8a2d1
parent21ac0d58bb2de14f0898871399f88177be2c0438
pinctrl: sh-pfc: r8a77990: Add voltage switch operations for SDHI

This patch supports the {get,set}_io_voltage operations of SDHI.

This operates the IOCTRL30 register on the R8A77990 SoC and makes
1.8V/3.3V signal voltage switch possible.

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/sh-pfc/pfc-r8a77990.c