]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
ARM: sun6i: a31s: primo81: Enable battery power supply
authorChen-Yu Tsai <wens@csie.org>
Fri, 9 Jun 2017 16:05:49 +0000 (00:05 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 14 Jun 2017 19:27:19 +0000 (21:27 +0200)
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 <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun6i-a31s-primo81.dts

index 73b163a7d9dde3035f2003e32958a28b4c2bbe69..4c10123509c40402f4fb5658a8421de940eccf1a 100644 (file)
 
 #include "axp22x.dtsi"
 
+&battery_power_supply {
+       status = "okay";
+};
+
 &reg_aldo3 {
        regulator-always-on;
        regulator-min-microvolt = <2700000>;