Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 99a4a3b6 authored by Zhenhua Huang's avatar Zhenhua Huang
Browse files

power: smb358-charger: Implement JEITA support through PMIC



Support JEITA based on PMIC therm. The SMB358 also supports JEITA
configuration in hardware, however in some designs the battery
thermistor is only connected to the PMIC's THERM pin. For such
condition, add the JEITA support using PMIC VADC for thermal reading.

Add some properties to support this feature:
	qcom,warm-bat-decidegc
	qcom,cool-bat-decidegc
	qcom,warm-bat-ma
	qcom,cool-bat-ma
	qcom,warm-bat-mv
	qcom,cool-bat-mv
JEITA only supported when all of these properties are defined.

Change-Id: I26a1ee0312e86f37a185531483167edfa3039fdf
Signed-off-by: default avatarZhenhua Huang <zhenhuah@codeaurora.org>
parent 88240c83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment