35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From 48ad2230933c363e0446380ae92acb73f1eedd6f Mon Sep 17 00:00:00 2001
|
|
From: Ondrej Jirman <megi@xff.cz>
|
|
Date: Sat, 16 Apr 2022 02:12:06 +0200
|
|
Subject: [PATCH 110/389] arm64: dts: sun50i-a64-pinephone: Enable Pinephone
|
|
Keyboard power manager
|
|
|
|
Signed-off-by: Ondrej Jirman <megi@xff.cz>
|
|
---
|
|
arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi | 9 +++++++++
|
|
1 file changed, 9 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
|
|
index c1896206ace7..daf981fd102f 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
|
|
@@ -427,6 +427,15 @@ vibrator {
|
|
enable-gpios = <&pio 3 2 GPIO_ACTIVE_HIGH>; /* PD2 */
|
|
vcc-supply = <®_dcdc1>;
|
|
};
|
|
+
|
|
+ keyboard-power {
|
|
+ compatible = "megi,pinephone-keyboard-power-manager";
|
|
+ phone-battery = "axp20x-battery";
|
|
+ phone-usb = "axp20x-usb";
|
|
+ kb-battery = "ip5xxx-battery";
|
|
+ kb-boost = "ip5xxx-boost";
|
|
+ kb-usb = "ip5xxx-usb";
|
|
+ };
|
|
};
|
|
|
|
&codec {
|
|
--
|
|
2.35.3
|
|
|