From 92a192dc6bb1368ca07d3d1939f0dbf5044d6e1a Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Thu, 19 Dec 2019 16:37:24 -0800 Subject: [PATCH] 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 --- .../power/supply/qcom,battery-charger.txt | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 bindings/power/supply/qcom,battery-charger.txt diff --git a/bindings/power/supply/qcom,battery-charger.txt b/bindings/power/supply/qcom,battery-charger.txt new file mode 100644 index 00000000..f9bda8c3 --- /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"; + }; + ... + }; +};