From 64fb31c188927a1de9101d7c71cdb260288f94d8 Mon Sep 17 00:00:00 2001 From: Subbaraman Narayanamurthy Date: Thu, 16 Jan 2020 18:16:18 -0800 Subject: [PATCH] bindings: soc: qcom: add QTI battery glink debug QTI battery glink debug device helps to get logs and debug information by communicating with charger firmware running on the remote subsystem (e.g. DSP) over PMIC Glink. Change-Id: I3a894b40bbbb67dbe26ad683cfabe330bf7e3d69 --- .../soc/qcom/qcom,battery-glink-debug.txt | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 bindings/soc/qcom/qcom,battery-glink-debug.txt diff --git a/bindings/soc/qcom/qcom,battery-glink-debug.txt b/bindings/soc/qcom/qcom,battery-glink-debug.txt new file mode 100644 index 000000000000..1e2e86967c19 --- /dev/null +++ b/bindings/soc/qcom/qcom,battery-glink-debug.txt @@ -0,0 +1,26 @@ +QTI battery glink debug binding + +This binding describes the Qualcomm Technologies, Inc. battery glink debug +device. QTI battery glink debug device helps to get logs and debug information +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_log" device which is used in the example below. + +- compatible: + Usage: required + Value type: + Definition: must be "qcom,battery-debug" + += EXAMPLE + +&soc { + qcom,pmic_glink_log { + ... + qcom,battery_debug { + compatible = "qcom,battery-debug"; + }; + ... + }; +};