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 <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
Chen-Yu Tsai 2017-06-10 00:05:49 +08:00 committed by Maxime Ripard
parent 723ca929a5
commit d5e9edfd37
1 changed files with 4 additions and 0 deletions

View File

@ -164,6 +164,10 @@
#include "axp22x.dtsi"
&battery_power_supply {
status = "okay";
};
&reg_aldo3 {
regulator-always-on;
regulator-min-microvolt = <2700000>;