[PATCH v2 6/6] arm64: dts: allwinner: pinephone: Add power supplies to stk3311

From: Aren Moynihan
Date: Tue Apr 23 2024 - 18:41:53 EST


From: Ondrej Jirman <megi@xxxxxx>

This makes the driver disable the supply during sleep.

Signed-off-by: Ondrej Jirman <megi@xxxxxx>
Signed-off-by: Aren Moynihan <aren@xxxxxxxxxxxxxxxxx>
---

Notes:
Changes in v2:
- add leda-supply

arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
index b5a232209f2b..51ab1db95f81 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
@@ -250,6 +250,8 @@ light-sensor@48 {
reg = <0x48>;
interrupt-parent = <&pio>;
interrupts = <1 0 IRQ_TYPE_EDGE_FALLING>; /* PB0 */
+ vdd-supply = <&reg_ldo_io0>;
+ leda-supply = <&reg_dldo1>;
};

/* Accelerometer/gyroscope */
--
2.44.0