aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-06-10 17:24:53 (GMT)
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-06-12 17:11:32 (GMT)
commit9efc9e8106d98cca4a3b2e0fdeceaf15c3d4eb8f (patch)
treebbc344bfde2c3e948f844d58bbb11918986ea037
parentf7ecf9fd0c411ffa2825c9814bb6b51b5cfbbbeb (diff)
downloadkernel_replicant_linux-9efc9e8106d98cca4a3b2e0fdeceaf15c3d4eb8f.zip
kernel_replicant_linux-9efc9e8106d98cca4a3b2e0fdeceaf15c3d4eb8f.tar.gz
kernel_replicant_linux-9efc9e8106d98cca4a3b2e0fdeceaf15c3d4eb8f.tar.bz2
HACK: ARM: dts: midas: always enable the battery charger
If we don't enable the CHARGER regulator, the battery doesn't charge: POWER_SUPPLY_NAME=max77693-charger POWER_SUPPLY_STATUS=Discharging POWER_SUPPLY_CHARGE_TYPE=N/A POWER_SUPPLY_HEALTH=Good POWER_SUPPLY_PRESENT=1 POWER_SUPPLY_ONLINE=1 POWER_SUPPLY_MODEL_NAME=MAX77693 POWER_SUPPLY_MANUFACTURER=Maxim Integrated The proper fix would be to add regulator support in this battery charger driver, like it's done for the MAX 77693 vibrator driver. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--arch/arm/boot/dts/exynos4412-midas.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4412-midas.dtsi b/arch/arm/boot/dts/exynos4412-midas.dtsi
index 4c15cb6..a842f73 100644
--- a/arch/arm/boot/dts/exynos4412-midas.dtsi
+++ b/arch/arm/boot/dts/exynos4412-midas.dtsi
@@ -155,6 +155,7 @@
regulator-name = "CHARGER";
regulator-min-microamp = <60000>;
regulator-max-microamp = <2580000>;
+ regulator-always-on;
};
};