]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: exynos: Fix charging regulator voltage and current for I9100
authorTimon Baetz <timon.baetz@protonmail.com>
Wed, 30 Dec 2020 20:53:03 +0000 (20:53 +0000)
committerKrzysztof Kozlowski <krzk@kernel.org>
Sun, 3 Jan 2021 16:31:05 +0000 (17:31 +0100)
commit042aa4eabf9086170b7f19a0ea5d6caf9800cb6c
treeb675fc0e07745d8e8b8ff349c7c5909122af7131
parent922908c094003ad0cf7f6cd926b765baea5812b5
ARM: dts: exynos: Fix charging regulator voltage and current for I9100

Set CHARGER current and CHARGER_CV voltage according to Galaxy S2 Epic
4G Touch SPH-D710 Android vendor sources [0,1].

Remove regulator-always-on. The regulator can be enabled and disabled
based on extcon events.

[0] https://github.com/krzk/linux-vendor-backup/blob/samsung/galaxy-s2-epic-4g-touch-sph-d710-exynos4210-dump/drivers/power/max8997_charger_u1.c#L169-L170
[1] https://github.com/krzk/linux-vendor-backup/blob/samsung/galaxy-s2-epic-4g-touch-sph-d710-exynos4210-dump/drivers/power/max8997_charger_u1.c#L390-L391

Signed-off-by: Timon Baetz <timon.baetz@protonmail.com>
Link: https://lore.kernel.org/r/20201230205139.1812366-7-timon.baetz@protonmail.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos4210-i9100.dts