]> git.baikalelectronics.ru Git - kernel.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)
commit27731de0fa6b2fc45c56d8e0cb6dc553d137c36d
tree9e196302b6a4235ee2e6e51cc1611811db1919bd
parent64c2ca13cdb66d3099f983e58d3b1961db8a0718
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