From: Chen-Yu Tsai Date: Fri, 9 Jun 2017 16:05:49 +0000 (+0800) Subject: ARM: sun6i: a31s: primo81: Enable battery power supply X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d5e9edfd37fc32098349b7753637bc1c80a16003;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: sun6i: a31s: primo81: Enable battery power supply The MSI Primo81 tablet has a 3500 mAh 3.7V LiPo battery. Enable the PMIC's battery power supply so the battery can be monitored. Signed-off-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- diff --git a/arch/arm/boot/dts/sun6i-a31s-primo81.dts b/arch/arm/boot/dts/sun6i-a31s-primo81.dts index 73b163a7d9dd..4c10123509c4 100644 --- a/arch/arm/boot/dts/sun6i-a31s-primo81.dts +++ b/arch/arm/boot/dts/sun6i-a31s-primo81.dts @@ -164,6 +164,10 @@ #include "axp22x.dtsi" +&battery_power_supply { + status = "okay"; +}; + ®_aldo3 { regulator-always-on; regulator-min-microvolt = <2700000>;