From: Sreeshankar K <sreeshankar0910@gmail.com>
To: Bjorn Andersson <andersson@kernel.org>,
Abel Vesa <abelvesa@kernel.org>, Stephen Boyd <sboyd@kernel.org>,
Brian Masney <bmasney+clk@redhat.com>,
Jerome Brunet <jbrunet+clk@baylibre.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Taniya Das <taniya.das@oss.qualcomm.com>,
Amit Kucheria <amitk@kernel.org>,
Thara Gopinath <thara.gopinath@gmail.com>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Daniel Lezcano <daniel.lezcano@kernel.org>,
Zhang Rui <rui.zhang@intel.com>,
Lukasz Luba <lukasz.luba@arm.com>,
Konrad Dybcio <konradybcio@kernel.org>,
Robert Marko <robimarko@gmail.com>,
Guru Das Srinagesh <linux@gurudas.dev>,
Viresh Kumar <viresh.kumar@linaro.org>,
Manivannan Sadhasivam <mani@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-pm@vger.kernel.org,
Sreeshankar K <sreeshankar0910@gmail.com>
Subject: [PATCH v13 5/8] thermal/qcom/lmh: Add support for Qualcomm SM7250
Date: Wed, 04 Nov 2026 16:46:37 +0000 [thread overview]
Message-ID: <20261104-master-v13-5-355b65c6f764@gmail.com> (raw)
In-Reply-To: <20261104-master-v13-0-355b65c6f764@gmail.com>
Qualcomm SM7250 features an asymmetric 6+2 core topology where the
Silver cluster consists of CPU 0 to CPU 5 and the Gold/Prime cluster
starts at logical CPU 6.
Add the SoC match data defining the CPU-to-node mapping (CPU 0 to
LMH_CLUSTER0_NODE_ID, and CPU 6 to LMH_CLUSTER1_NODE_ID), and register
the "qcom,sm7250-lmh" compatible string so both LMh cluster instances
can probe and register their respective DCVSh interrupt domains.
Signed-off-by: Sreeshankar K <sreeshankar0910@gmail.com>
---
drivers/thermal/qcom/lmh.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/drivers/thermal/qcom/lmh.c b/drivers/thermal/qcom/lmh.c
index ef49ed1c6..ad6d34b8e 100644
--- a/drivers/thermal/qcom/lmh.c
+++ b/drivers/thermal/qcom/lmh.c
@@ -110,12 +110,22 @@ static const struct qcom_lmh_node_map sdm845_lmh_map[] = {
{ .cpu_id = 4, .node_id = LMH_CLUSTER1_NODE_ID },
};
+static const struct qcom_lmh_node_map sm7250_lmh_map[] = {
+ { .cpu_id = 0, .node_id = LMH_CLUSTER0_NODE_ID },
+ { .cpu_id = 6, .node_id = LMH_CLUSTER1_NODE_ID },
+};
+
static const struct qcom_lmh_soc_data sdm845_lmh_data = {
.map = sdm845_lmh_map,
.num_nodes = ARRAY_SIZE(sdm845_lmh_map),
.flags = LMH_ENABLE_ALGOS,
};
+static const struct qcom_lmh_soc_data sm7250_lmh_data = {
+ .map = sm7250_lmh_map,
+ .num_nodes = ARRAY_SIZE(sm7250_lmh_map),
+};
+
static const struct qcom_lmh_soc_data sm8150_lmh_data = {
.map = sdm845_lmh_map,
.num_nodes = ARRAY_SIZE(sdm845_lmh_map),
@@ -124,6 +134,7 @@ static const struct qcom_lmh_soc_data sm8150_lmh_data = {
static const struct of_device_id lmh_table[] = {
{ .compatible = "qcom,sc8180x-lmh", .data = &sm8150_lmh_data },
{ .compatible = "qcom,sdm845-lmh", .data = &sdm845_lmh_data },
+ { .compatible = "qcom,sm7250-lmh", .data = &sm7250_lmh_data },
{ .compatible = "qcom,sm8150-lmh", .data = &sm8150_lmh_data },
{}
};
--
2.43.0
next prev parent reply other threads:[~2026-11-04 16:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-04 16:46 [PATCH v13 0/8] Add initial support for Qualcomm SM7250 SoC Sreeshankar K
2026-11-04 16:46 ` [PATCH v13 1/8] dt-bindings: clock: Add SM7250 global clock controller Sreeshankar K
2026-11-04 16:46 ` [PATCH v13 2/8] clk: qcom: Add Global Clock Controller (GCC) driver for SM7250 Sreeshankar K
2026-11-04 16:46 ` [PATCH v13 3/8] thermal/drivers/qcom/lmh: Switch to match data for SoC CPU-to-node mappings Sreeshankar K
2026-11-04 16:46 ` [PATCH v13 4/8] dt-bindings: thermal: lmh: Document SM7250 LMh Sreeshankar K
2026-11-04 19:56 ` Rob Herring (Arm)
2026-11-04 16:46 ` Sreeshankar K [this message]
2026-11-04 16:46 ` [PATCH v13 6/8] dt-bindings: firmware: qcom,scm: Document SM7250 SCM Sreeshankar K
2026-11-04 16:46 ` [PATCH v13 7/8] dt-bindings: cpufreq: qcom-hw: Document SM7250 cpufreq hardware Sreeshankar K
2026-11-04 16:46 ` [PATCH v13 8/8] arm64: dts: qcom: Add SM7250 devicetree file Sreeshankar K
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=20261104-master-v13-5-355b65c6f764@gmail.com \
--to=sreeshankar0910@gmail.com \
--cc=abelvesa@kernel.org \
--cc=amitk@kernel.org \
--cc=andersson@kernel.org \
--cc=bmasney+clk@redhat.com \
--cc=conor+dt@kernel.org \
--cc=daniel.lezcano@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jbrunet+clk@baylibre.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux@gurudas.dev \
--cc=lukasz.luba@arm.com \
--cc=mani@kernel.org \
--cc=rafael@kernel.org \
--cc=robh@kernel.org \
--cc=robimarko@gmail.com \
--cc=rui.zhang@intel.com \
--cc=sboyd@kernel.org \
--cc=taniya.das@oss.qualcomm.com \
--cc=thara.gopinath@gmail.com \
--cc=viresh.kumar@linaro.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®