+183
−36
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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:
Zhenhua Huang <zhenhuah@codeaurora.org>