]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: tps6105x: add optional devicetree support
authorSven Van Asbroeck <thesven73@gmail.com>
Tue, 19 Nov 2019 15:46:09 +0000 (10:46 -0500)
committerMark Brown <broonie@kernel.org>
Wed, 20 Nov 2019 17:10:47 +0000 (17:10 +0000)
commit6ca155f8f7ed295596246c9bf96230405e354aa7
tree9427c52d8d3e5867b1abd25a2d7afe2038b8f56b
parent970bb267f39845c752d303dd13cbf5a1cfefb2dc
regulator: tps6105x: add optional devicetree support

Tell the regulator framework to retrieve regulator init
data from the 'regulator' subnode, or from the parent mfd
device's platform data.

Example:

i2c0 {
tps61052@33 {
compatible = "ti,tps61052";
reg = <0x33>;

regulator {
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
};
};

Tree: next-20191118
Signed-off-by: Sven Van Asbroeck <TheSven73@gmail.com>
Link: https://lore.kernel.org/r/20191119154611.29625-3-TheSven73@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/tps6105x-regulator.c