From: DhruvinRajpura <dhruvin.rajpura@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Sebastian Reichel <sre@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
dhruvin.rajpura@oss.qualcomm.com, kamal.wadhwa@oss.qualcomm.com,
jishnu.prakash@oss.qualcomm.com,
Dhruvin Rajpura <drajpura@qti.qualcomm.com>
Subject: [PATCH 1/2] bindings: power: supply: qcom,pmic-glink: Document thermal-mitigation
Date: Tue, 09 Jun 2026 14:46:42 +0530 [thread overview]
Message-ID: <20260609-cooling_device_reg-v1-1-e15bddcb0086@qti.qualcomm.com> (raw)
In-Reply-To: <20260609-cooling_device_reg-v1-0-e15bddcb0086@qti.qualcomm.com>
From: Dhruvin Rajpura <drajpura@qti.qualcomm.com>
The qcom,thermal-mitigation property allows platforms to define
discrete fast charge current limits used by the thermal framework
to throttle battery charging in response to thermal events.
Document the qcom,thermal-mitigation property to describe the array
of fast charge current limits in microamps that map to thermal
cooling states.
Signed-off-by: Dhruvin Rajpura <drajpura@qti.qualcomm.com>
---
.../devicetree/bindings/soc/qcom/qcom,pmic-glink.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,pmic-glink.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,pmic-glink.yaml
index ff01d2f3ee5b..fcb69ebaa7cb 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,pmic-glink.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,pmic-glink.yaml
@@ -58,6 +58,16 @@ properties:
The array should contain a gpio entry for each PMIC Glink connector, in reg order.
It is defined that GPIO active level means "CC2" or Reversed/Flipped orientation.
+ qcom,thermal-mitigation:
+ $ref: /schemas/types.yaml#/definitions/uint32-array
+ description:
+ Array of fast charge current limit values for different system thermal
+ mitigation levels. This should be a flat array that denotes the maximum
+ charging current (in uA) for each thermal level. Elements should be listed
+ in monotonically decreasing (non-increasing) order.
+ minItems: 1
+ maxItems: 10
+
nvmem-cells:
minItems: 3
maxItems: 3
--
2.34.1
next prev parent reply other threads:[~2026-06-09 9:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-09 9:16 [PATCH 0/2] power: supply: qcom_battmgr: Add thermal mitigation support DhruvinRajpura
2026-06-09 9:16 ` DhruvinRajpura [this message]
2026-06-10 9:04 ` [PATCH 1/2] bindings: power: supply: qcom,pmic-glink: Document thermal-mitigation Krzysztof Kozlowski
[not found] ` <CAB8MRjTwN6J3oSFVeF-w7WpZQamEyyQ6Ckyd=TAB=-N22b8k1g@mail.gmail.com>
2026-06-16 4:35 ` Krzysztof Kozlowski
2026-06-09 9:16 ` [PATCH 2/2] power: supply: qcom_battmgr: Add thermal mitigation support DhruvinRajpura
2026-06-09 9:42 ` Konrad Dybcio
[not found] ` <CAB8MRjTAbpwcrD==eZuaJdaprQoEsgr2L1EEU6x+gEu8tAVijQ@mail.gmail.com>
2026-06-19 15:15 ` Konrad Dybcio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260609-cooling_device_reg-v1-1-e15bddcb0086@qti.qualcomm.com \
--to=dhruvin.rajpura@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=drajpura@qti.qualcomm.com \
--cc=jishnu.prakash@oss.qualcomm.com \
--cc=kamal.wadhwa@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sre@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®