]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
regulator: tps65023: add device tree support
authorThomas Elste <thomas.elste@imms.de>
Mon, 21 Sep 2015 14:30:47 +0000 (16:30 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 21 Sep 2015 17:13:17 +0000 (10:13 -0700)
commit2d3eda67dd2a02087a2ae6916c92ee1966945b88
tree062e072913eeed9399b3dfc99469177738988e86
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
regulator: tps65023: add device tree support

Add device tree based initialization support for tps65023 regulators.
Therefore add macros for regulator definition setting of_match and
regulators_node members. Add initialization of regulator_desc data
using these macros. Remove old regulator_desc initialization.

Add device tree binding document for tps65023 regulators.

Signed-off-by: Thomas Elste <thomas.elste@imms.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/tps65023.txt [new file with mode: 0644]
drivers/regulator/tps65023-regulator.c