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

Commit da94423c authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

dt-bindings: smb1390: add support to disable smb1390 based on SOC

Charger driver disables SMB1390 once charging enters Taper charging
phase, this is to prevent SMB1390 from pumping high current into battery
at higher voltages. There are condition like adapter reset where SMB1390
might get enabled at higher battery voltage and pump current into the
battery before software gets chance to disable it and this could lead to
battery OV.

Fix this by by keeping SMB1390 disabled above a configured battery SOC.

Change-Id: I37a238a94ed94da500390de919547012a7fd1cf4
parent aef03761
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -48,6 +48,12 @@ Charger specific properties:
	      If this value is not specified or is not one of the above
	      then default value is 110.

- qcom,max-cutoff-soc
  Usage:      optional
  Value type: <u32>
  Definition: SOC beyond which SMB1390 is kept disabled.
	      If this value is not specified then default value is 85%.

================================================
Second Level Nodes - SMB1390 Charger Peripherals
================================================