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>
This commit is contained in:
@@ -54,6 +54,12 @@ properties:
|
|||||||
$ref: /schemas/types.yaml#/definitions/phandle-array
|
$ref: /schemas/types.yaml#/definitions/phandle-array
|
||||||
minItems: 1
|
minItems: 1
|
||||||
|
|
||||||
|
qcom,ship-mode-immediate:
|
||||||
|
description: |
|
||||||
|
Flag indicating that ship mode will be configured immediately and enabled
|
||||||
|
after shut down is initiated.
|
||||||
|
$ref: /schemas/types.yaml#/definitions/flag
|
||||||
|
|
||||||
required:
|
required:
|
||||||
- compatible
|
- compatible
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user