Commit Graph

2 Commits

Author SHA1 Message Date
Anjelique Melendez
869e35b819 dt-bindings: qcom,battery-charger: Add qcom,ship-mode-immediate property
Currently, charger FW configures and enables ship mode in parallel with
shutdown activity. This can cause a race condition leaving the device in
a bad state if the device is powering down while SW is still issuing SPMI
writes.

Add new "qcom,ship-mode-immediate" property to flag that ship mode should
be immediately configured after user sets ship_mode_en to avoid this
race condition.

Change-Id: I16b1e307cac8befff7a1136de1cb522e03a95c46
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
2024-03-04 12:03:09 -08:00
David Collins
8dd209e566 bindings: power: supply: add QTI battery charger
Add DT bindings for QTI battery charger which gets and sets
power supply properties by communicating with charger firmware
running on the remote subsystem (e.g. DSP) over PMIC Glink.

This is a snapshot taken as of qcom-6.1
commit 7b5e13f9043d ("dt-bindings: power: supply:
qcom,battery-charger: Add display panel property")
which was then converted to yaml.

Change-Id: I8e3aedfb70c627807388db3c449c283f35ecfd59
Signed-off-by: David Collins <quic_collinsd@quicinc.com>
2023-06-27 11:22:40 -07:00