From c6965c0ca75d1835f5eefc5423edc1b8741859fa Mon Sep 17 00:00:00 2001 From: Wu Liangqing Date: Sat, 2 Nov 2019 11:54:26 +0800 Subject: [PATCH] ARM: dts: rockchip: rk3126-bnd: enabled power off charge Change-Id: I67723545a509b70ba629b2e4b916a82af752a576 Signed-off-by: Wu Liangqing --- arch/arm/boot/dts/rk3126-bnd-d708.dtsi | 9 +++++++++ arch/arm/boot/dts/rk3126-bnd-m88-emmc.dts | 15 +++++++++------ 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/rk3126-bnd-d708.dtsi b/arch/arm/boot/dts/rk3126-bnd-d708.dtsi index 14c965d8bb56..45ef5b3e0f62 100644 --- a/arch/arm/boot/dts/rk3126-bnd-d708.dtsi +++ b/arch/arm/boot/dts/rk3126-bnd-d708.dtsi @@ -73,6 +73,15 @@ enable-gpios = <&gpio2 RK_PB6 GPIO_ACTIVE_HIGH>; }; + charge-animation { + compatible = "rockchip,uboot-charge"; + rockchip,uboot-charge-on = <1>; + rockchip,android-charge-on = <0>; + rockchip,uboot-low-power-voltage = <3500>; + rockchip,screen-on-voltage = <3600>; + status = "okay"; + }; + rockchip_headset { compatible = "rockchip_headset"; headset_gpio = <&gpio2 18 GPIO_ACTIVE_LOW>; diff --git a/arch/arm/boot/dts/rk3126-bnd-m88-emmc.dts b/arch/arm/boot/dts/rk3126-bnd-m88-emmc.dts index a6e7df34257b..6729e2da48eb 100644 --- a/arch/arm/boot/dts/rk3126-bnd-m88-emmc.dts +++ b/arch/arm/boot/dts/rk3126-bnd-m88-emmc.dts @@ -74,6 +74,15 @@ default-brightness-level = <128>; }; + charge-animation { + compatible = "rockchip,uboot-charge"; + rockchip,uboot-charge-on = <1>; + rockchip,android-charge-on = <0>; + rockchip,uboot-low-power-voltage = <3500>; + rockchip,screen-on-voltage = <3600>; + status = "okay"; + }; + panel { compatible = "simple-panel"; backlight = <&backlight>; @@ -114,12 +123,6 @@ }; }; - uboot-charge { - compatible = "rockchip,uboot-charge"; - rockchip,uboot-charge-on = <0>; - rockchip,android-charge-on = <1>; - }; - rockchip_headset { compatible = "rockchip_headset"; io-channels = <&saradc 2>;