projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
723ca92
)
ARM: sun6i: a31s: primo81: Enable battery power supply
author
Chen-Yu Tsai
<wens@csie.org>
Fri, 9 Jun 2017 16:05:49 +0000
(
00:05
+0800)
committer
Maxime 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
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/sun6i-a31s-primo81.dts
b/arch/arm/boot/dts/sun6i-a31s-primo81.dts
index 73b163a7d9dde3035f2003e32958a28b4c2bbe69..4c10123509c40402f4fb5658a8421de940eccf1a 100644
(file)
--- 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>;