diff mbox series

[v5,3/3] ARM: dts: sun8i-h2-plus-bananapi-m2-zero: add poweroff node

Message ID 20201211151445.115943-4-michael@fossekall.de
State Accepted
Commit 8315c99cc7cb6346ed0083a262b28d29765f082f
Headers show
Series [v5,1/3] power: reset: new driver regulator-poweroff | expand

Commit Message

Michael Klein Dec. 11, 2020, 3:14 p.m. UTC
Add add devicetree information for the regulator-poweroff driver.

Signed-off-by: Michael Klein <michael@fossekall.de>
---
 arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Maxime Ripard Dec. 14, 2020, 10:02 a.m. UTC | #1
On Fri, Dec 11, 2020 at 04:14:45PM +0100, Michael Klein wrote:
> Add add devicetree information for the regulator-poweroff driver.
> 
> Signed-off-by: Michael Klein <michael@fossekall.de>

Queued for 5.12, thanks!
Maxime
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
index b43028f9e6df..f8a7b1371e97 100644
--- a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
+++ b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts
@@ -86,6 +86,11 @@  reg_vcc1v2: vcc1v2 {
 		vin-supply = <&reg_vcc5v0>;
 	};
 
+	poweroff {
+		compatible = "regulator-poweroff";
+		cpu-supply = <&reg_vcc1v2>;
+	};
+
 	wifi_pwrseq: wifi_pwrseq {
 		compatible = "mmc-pwrseq-simple";
 		reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */