diff options
author | Timon Baetz <timon.baetz@protonmail.com> | 2020-12-30 21:53:11 +0100 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2021-01-03 17:33:29 +0100 |
commit | 3803f461bd28c1c817281348509399778633e82f (patch) | |
tree | 464e29512ea917db5625a4f5fa654f61f9bcb4ac /arch/arm/boot/dts/exynos4210-i9100.dts | |
parent | ARM: dts: exynos: Fix charging regulator voltage and current for I9100 (diff) | |
download | linux-3803f461bd28c1c817281348509399778633e82f.tar.xz linux-3803f461bd28c1c817281348509399778633e82f.zip |
ARM: dts: exynos: Add top-off charging regulator node for I9100
Value taken from Galaxy S2 Epic 4G Touch SPH-D710 Android vendor
kernel [0] which always sets 200mA.
Also rearrange regulators based on definition in max8997.h.
[0] https://github.com/krzk/linux-vendor-backup/blob/samsung/galaxy-s2-epic-4g-touch-sph-d710-exynos4210-dump/drivers/power/sec_battery_u1.c#L1525
Signed-off-by: Timon Baetz <timon.baetz@protonmail.com>
Link: https://lore.kernel.org/r/20201230205139.1812366-8-timon.baetz@protonmail.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos4210-i9100.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos4210-i9100.dts | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/arch/arm/boot/dts/exynos4210-i9100.dts b/arch/arm/boot/dts/exynos4210-i9100.dts index 2837ac05d9b4..304a8ee2364c 100644 --- a/arch/arm/boot/dts/exynos4210-i9100.dts +++ b/arch/arm/boot/dts/exynos4210-i9100.dts @@ -560,6 +560,16 @@ regulator-boot-on; }; + EN32KHZ_AP { + regulator-name = "EN32KHZ_AP"; + regulator-always-on; + }; + + EN32KHZ_CP { + regulator-name = "EN32KHZ_CP"; + regulator-always-on; + }; + charger_reg: CHARGER { regulator-name = "CHARGER"; regulator-min-microamp = <200000>; @@ -573,13 +583,10 @@ regulator-always-on; }; - EN32KHZ_AP { - regulator-name = "EN32KHZ_AP"; - regulator-always-on; - }; - - EN32KHZ_CP { - regulator-name = "EN32KHZ_CP"; + CHARGER_TOPOFF { + regulator-name = "CHARGER_TOPOFF"; + regulator-min-microamp = <200000>; + regulator-max-microamp = <200000>; regulator-always-on; }; }; |