]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: sh-pfc: r8a7796: Add voltage switch operations for SDHI
authorSimon Horman <horms+renesas@verge.net.au>
Thu, 8 Sep 2016 11:57:33 +0000 (13:57 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 12 Sep 2016 08:58:23 +0000 (10:58 +0200)
commit14ed85b9811d2a6ac80490331c38fa029a1719ea
tree9806dcd20d409949ac4826a0739888eede73372e
parent1e5f350db382a9f9a10c3838883fde93537cd01f
pinctrl: sh-pfc: r8a7796: Add voltage switch operations for SDHI

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

This operates the POCCTRL0 register on R8A7796 SoC and makes 1.8v/3.3v
voltage switch.

Based on work by Takeshi Kihara and Wolfram Sang.

Cc: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/sh-pfc/pfc-r8a7796.c