]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sh-pfc: sh73a0: Add VCCQ MC0 regulator
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 21 Apr 2013 21:26:26 +0000 (23:26 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Sat, 25 May 2013 02:25:15 +0000 (11:25 +0900)
commit4509f6b32d129b1cafa0761300166a018d1b9e4e
treee9c2ecd8bd2ff7db6099c0721e15324207f701b7
parentca4c93069528b87be06da9f519d6462522535854
sh-pfc: sh73a0: Add VCCQ MC0 regulator

The sh73a0 has an internal power gate on the VCCQ power supply for the
SDHI0 device that is controlled (for some strange reason) by a bit in a
PFC register. This feature should be exposed as a regulator.

As the same register is also used for pin control purposes there is no
way to achieve atomic read/write sequences with a separate regulator
driver. We thus need to implement the regulator here.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pinctrl/sh-pfc/Kconfig
drivers/pinctrl/sh-pfc/pfc-sh73a0.c