]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pinctrl: sh-pfc: Implement pinconf power-source param for voltage switching
authorBen Hutchings <ben.hutchings@codethink.co.uk>
Tue, 30 Jun 2015 16:53:59 +0000 (17:53 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 24 Aug 2015 08:44:54 +0000 (10:44 +0200)
commit5b9eaa5659b32cf6c85a492d2e3bfa7a3a413144
treedbcdccf7c6b25f9459b5e20e6879ca919df08eeb
parent15ee1f7d1432c8a781df5d8f92c18bd952088667
pinctrl: sh-pfc: Implement pinconf power-source param for voltage switching

The pfc in the R8A7790 (and probably others in the R-Car gen 2 family)
supports switching SDHI signals between 3.3V and 1.8V nominal voltage,
and the SD driver should do that when switching to and from UHS modes.

Add a flag for pins that have configurable I/O voltage and SoC
operations to get and set the nominal voltage.  Implement the pinconf
power-source parameter using these operations.

Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/renesas,pfc-pinctrl.txt
drivers/pinctrl/sh-pfc/pinctrl.c
drivers/pinctrl/sh-pfc/sh_pfc.h