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)
commitf0a19fa823fb7b1f98d54b22a3ae0e5de88a1e50
tree9427c52d8d3e5867b1abd25a2d7afe2038b8f56b
parent62f7f3eca4c30064ab37b42d97cef4292d75fdd0
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