diff options
author | Chen-Yu Tsai <wens@csie.org> | 2017-06-09 19:05:49 +0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-06-14 22:27:19 +0300 |
commit | d5e9edfd37fc32098349b7753637bc1c80a16003 (patch) | |
tree | bcbfc936c554189ef80d60f7cd1e50cda3d28f2a | |
parent | 723ca929a507a05bf4638f620b284f25d2047cf3 (diff) | |
download | linux-d5e9edfd37fc32098349b7753637bc1c80a16003.tar.xz |
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>
-rw-r--r-- | arch/arm/boot/dts/sun6i-a31s-primo81.dts | 4 |
1 files changed, 4 insertions, 0 deletions
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>; |