From 0e8dcbc9fe73e0c8838ef03b5cea97c3081d3751 Mon Sep 17 00:00:00 2001 From: Minghao Zhang Date: Fri, 27 Sep 2024 10:10:22 +0800 Subject: [PATCH] dt-bindings: thermal: Document pm8550 compatible for bcl pmic5 This change documents pm8550 compatible for bcl pmic5. Change-Id: Ie3528f91d5ebec8c601ec4fc9bbd8037df824b3c Signed-off-by: Minghao Zhang --- bindings/thermal/qcom-bcl-pmic5.yaml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/bindings/thermal/qcom-bcl-pmic5.yaml b/bindings/thermal/qcom-bcl-pmic5.yaml index a0c67869..5bfb1a83 100644 --- a/bindings/thermal/qcom-bcl-pmic5.yaml +++ b/bindings/thermal/qcom-bcl-pmic5.yaml @@ -23,8 +23,10 @@ description: | properties: compatible: - const: qcom,bcl-v5 description: msm battery state of charge device + items: + - const: qcom,bcl-v5 + - const: qcom,pm8550-bcl-v5 reg: maxItems: 1 @@ -96,3 +98,16 @@ examples: qcom,bcl-mon-vbat-only; qcom,pmic7-threshold; }; + + bcl@4700 { + compatible = "qcom,pm8550-bcl-v5"; + reg = <0x4700 0x100>; + interrupts = <0x1 0x47 0x0 IRQ_TYPE_NONE>, + <0x1 0x47 0x1 IRQ_TYPE_NONE>, + <0x1 0x47 0x2 IRQ_TYPE_NONE>; + interrupt-names = "bcl-lvl0", + "bcl-lvl1", + "bcl-lvl2"; + qcom,pmic7-threshold; + #thermal-sensor-cells = <1>; + };