regulator: i.MX anatop: Allow supply regulator
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 13 Oct 2015 10:45:30 +0000 (12:45 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 16 Oct 2015 16:59:34 +0000 (17:59 +0100)
commit0d19208e70b3a65144c7a0b6368f849c57818242
tree1a53457881eae01b10618f3cafd5e88e30af4e91
parent5abe4f223ed6b820443d3657bd48600692f61c12
regulator: i.MX anatop: Allow supply regulator

The anatop regulators are SoC internal LDO regulators usually supplied
by an external PMIC. This patch adds support for specifying the supply
from the device tree using the vin-supply property.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/anatop-regulator.txt
drivers/regulator/anatop-regulator.c