[PATCH 4/4] arm64: dts: allwinner: pinephone: Add power supply to stk3311

Aren Moynihan aren at peacevolution.org
Sun Apr 14 10:57:16 PDT 2024


From: Ondrej Jirman <megi at xff.cz>

This makes the driver disable the supply during sleep.

Signed-off-by: Ondrej Jirman <megi at xff.cz>
Signed-off-by: Aren Moynihan <aren at peacevolution.org>
---
 arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi | 1 +
 1 file changed, 1 insertion(+)

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




More information about the linux-arm-kernel mailing list