diff --git a/bindings/power/supply/qcom,battery-charger.txt b/bindings/power/supply/qcom,battery-charger.txt new file mode 100644 index 000000000000..f9bda8c3e837 --- /dev/null +++ b/bindings/power/supply/qcom,battery-charger.txt @@ -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: + Definition: must be "qcom,battery-charger" + += EXAMPLE + +&soc { + qcom,pmic_glink { + ... + qcom,battery_charger { + compatible = "qcom,battery-charger"; + }; + ... + }; +};