]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
regulator: act8865: Add support to turn off all outputs
authorRomain Perier <romain.perier@gmail.com>
Tue, 14 Oct 2014 06:31:10 +0000 (06:31 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 22 Oct 2014 15:59:52 +0000 (16:59 +0100)
commit2b17fa2825fe6b7bf0848b4343833d7612edbccb
tree9e196302b6a4235ee2e6e51cc1611811db1919bd
parenta4b4e0461ec5532ad498f0dd0e68993ad79bec2b
regulator: act8865: Add support to turn off all outputs

When the property "poweroff-source" is found in the
devicetree, the function pm_power_off is defined. This function sends the
rights bit fields to the global off control register. shutdown/poweroff
commands are now supported for hardware components which use these PMU.

Signed-off-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/act8865-regulator.c