]> git.karo-electronics.de Git - karo-tx-linux.git/commit
regulator: twl: Provide of_map_mode for twl4030
authorIvaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Tue, 5 Apr 2016 05:59:34 +0000 (08:59 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 5 Apr 2016 18:35:33 +0000 (11:35 -0700)
commita221f95ef4257a48c4f8cba8e804431ab66a359d
treeed8efa777fdae7ab108c9bf585cd9dca6d6b3a63
parent32e5deac3627a508f43806788dafa933b51d5d46
regulator: twl: Provide of_map_mode for twl4030

of_map_mode is needed so to be possible to set initial regulators mode from
the board DTS. Otherwise, for DT boot, regulators are left in their default
state after reset/reboot. Document device specific modes as well.

Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/twl-regulator.txt
drivers/regulator/twl-regulator.c