mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
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. Change-Id: I8e3aedfb70c627807388db3c449c283f35ecfd59
This commit is contained in:
25
bindings/power/supply/qcom,battery-charger.txt
Normal file
25
bindings/power/supply/qcom,battery-charger.txt
Normal file
@@ -0,0 +1,25 @@
|
||||
QTI battery charger binding
|
||||
|
||||
This binding describes the Qualcomm Technologies, Inc. battery charger device.
|
||||
QTI battery charger gets and sets power supply properties by communicating with
|
||||
charger firmware running on the remote subsystem (e.g. DSP) over PMIC Glink.
|
||||
|
||||
Refer to Documentation/devicetree/bindings/soc/qcom/qcom,pmic-glink.txt for
|
||||
information on "qcom,pmic_glink" device which is used in the example below.
|
||||
|
||||
- compatible:
|
||||
Usage: required
|
||||
Value type: <stringlist>
|
||||
Definition: must be "qcom,battery-charger"
|
||||
|
||||
= EXAMPLE
|
||||
|
||||
&soc {
|
||||
qcom,pmic_glink {
|
||||
...
|
||||
qcom,battery_charger {
|
||||
compatible = "qcom,battery-charger";
|
||||
};
|
||||
...
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user