[RFC PATCH v1 3/4] ARM: dts: rockchip: Enable power off in pmic for Radxa Rock

2014-10-07 Thread Romain Perier
Add poweroff-source property to act8846 node. shutdown/poweroff commands are now handled for this board. Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/rk3188-radxarock.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b

Re: [RFC][PATCH 1/4] regulator: Add helper function to get "poweroff-source" property

2014-10-02 Thread Romain Perier
Adding the corresponding drivers and DT maintainers to the loop (parts of the kernel which use this property) Le 01/10/2014 20:07, Mark Brown a écrit : On Tue, Sep 30, 2014 at 05:29:43PM +, Romain Perier wrote: +/** + * of_get_regulator_poweroff_source - Get poweroff-source for given

Re: [RFC][PATCH 1/4] regulator: Add helper function to get poweroff-source property

2014-10-02 Thread Romain Perier
Adding the corresponding drivers and DT maintainers to the loop (parts of the kernel which use this property) Le 01/10/2014 20:07, Mark Brown a écrit : On Tue, Sep 30, 2014 at 05:29:43PM +, Romain Perier wrote: +/** + * of_get_regulator_poweroff_source - Get poweroff-source for given

[RFC][PATCH 1/4] regulator: Add helper function to get "poweroff-source" property

2014-09-30 Thread Romain Perier
ce" which marks the device as able to shutdown the system. Signed-off-by: Romain Perier --- drivers/regulator/of_regulator.c | 12 include/linux/regulator/of_regulator.h | 6 ++ 2 files changed, 18 insertions(+) diff --git a/drivers/regulator/of_regulator.c b/drivers/regu

[RFC][PATCH 4/4] dt-bindings: Document the property poweroff-source for act8865 regulator

2014-09-30 Thread Romain Perier
Signed-off-by: Romain Perier --- Documentation/devicetree/bindings/regulator/act8865-regulator.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/act8865-regulator.txt b/Documentation/devicetree/bindings/regulator/act8865-regulator.txt index

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

2014-09-30 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-

[RFC][PATCH 3/4] ARM: dts: rockchip: Enable power off in pmic for Radxa Rock

2014-09-30 Thread Romain Perier
Add "poweroff-source" property to act8846 node. shutdown/poweroff commands are now handled for this board. Signed-off-by: Romain Perier --- arch/arm/boot/dts/rk3188-radxarock.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/ar

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

2014-09-30 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

[RFC][PATCH 3/4] ARM: dts: rockchip: Enable power off in pmic for Radxa Rock

2014-09-30 Thread Romain Perier
Add poweroff-source property to act8846 node. shutdown/poweroff commands are now handled for this board. Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/rk3188-radxarock.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b

[RFC][PATCH 1/4] regulator: Add helper function to get poweroff-source property

2014-09-30 Thread Romain Perier
the device as able to shutdown the system. Signed-off-by: Romain Perier romain.per...@gmail.com --- drivers/regulator/of_regulator.c | 12 include/linux/regulator/of_regulator.h | 6 ++ 2 files changed, 18 insertions(+) diff --git a/drivers/regulator/of_regulator.c b/drivers

[RFC][PATCH 4/4] dt-bindings: Document the property poweroff-source for act8865 regulator

2014-09-30 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- Documentation/devicetree/bindings/regulator/act8865-regulator.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/act8865-regulator.txt b/Documentation/devicetree/bindings/regulator

[PATCH v1 2/3] ARM: dts: rockchip: Enable power off in pmic for Radxa Rock

2014-09-27 Thread Romain Perier
Add "active-semi,system-power-controller" property to act8846 node. shutdown/poweroff commands are now handled for this board. Signed-off-by: Romain Perier --- arch/arm/boot/dts/rk3188-radxarock.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/rk3188-radxar

[PATCH v1 3/3] dt-bindings: Document the property system-power-controller for act8865 regulator

2014-09-27 Thread Romain Perier
Signed-off-by: Romain Perier --- Documentation/devicetree/bindings/regulator/act8865-regulator.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/act8865-regulator.txt b/Documentation/devicetree/bindings/regulator/act8865-regulator.txt index

[PATCH v1 1/3] regulator: act8865: Add support to turn off all outputs

2014-09-27 Thread Romain Perier
U. Signed-off-by: Romain Perier --- drivers/regulator/act8865-regulator.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/regulator/act8865-regulator.c b/drivers/regulator/act8865-regulator.c index afd06f9..6cf202d 100644 --- a/drivers/regulat

[PATCH v1 3/3] dt-bindings: Document the property system-power-controller for act8865 regulator

2014-09-27 Thread Romain Perier
Signed-off-by: Romain Perier romain.per...@gmail.com --- Documentation/devicetree/bindings/regulator/act8865-regulator.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/act8865-regulator.txt b/Documentation/devicetree/bindings/regulator

[PATCH v1 1/3] regulator: act8865: Add support to turn off all outputs

2014-09-27 Thread Romain Perier
-off-by: Romain Perier romain.per...@gmail.com --- drivers/regulator/act8865-regulator.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/regulator/act8865-regulator.c b/drivers/regulator/act8865-regulator.c index afd06f9..6cf202d 100644 --- a/drivers

[PATCH v1 2/3] ARM: dts: rockchip: Enable power off in pmic for Radxa Rock

2014-09-27 Thread Romain Perier
Add active-semi,system-power-controller property to act8846 node. shutdown/poweroff commands are now handled for this board. Signed-off-by: Romain Perier romain.per...@gmail.com --- arch/arm/boot/dts/rk3188-radxarock.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts

<    3   4   5   6   7   8