[RFC PATCH v3 2/5] regulator: act8865: Add support to turn off all outputs

2014-10-14 Thread Romain Perier
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

[RFC PATCH v3 2/5] regulator: act8865: Add support to turn off all outputs

2014-10-14 Thread Romain Perier
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