From 680a5ec8c2cfe2d31d25ac339366df4360a6804d Mon Sep 17 00:00:00 2001 From: Ondrej Jirman Date: Sat, 16 Apr 2022 02:12:06 +0200 Subject: [PATCH 109/464] arm64: dts: sun50i-a64-pinephone: Enable Pinephone Keyboard power manager Signed-off-by: Ondrej Jirman --- 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.34.1