* [PATCH 0/2] Add SM7250 rpmh clocks
@ 2026-08-16 13:16 Sreeshankar K
2026-08-16 13:16 ` [PATCH 1/2] clk: qcom: rpmh: " Sreeshankar K
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Sreeshankar K @ 2026-08-16 13:16 UTC (permalink / raw)
To: andersson, mturquette, sboyd, robh, krzk+dt, conor+dt, quic_tdas
Cc: bmasney, linux-arm-msm, linux-clk, devicetree, linux-kernel,
Sreeshankar K
Qualcomm SM7250 is known as lito.
Add the RPMH clocks present in SM7250 SoC.
Sreeshankar K (2):
clk: qcom: rpmh: Add SM7250 rpmh clocks
dt-bindings: clock: qcom,rpmhcc: Document RPMHCC bindings for SM7250
.../bindings/clock/qcom,rpmhcc.yaml | 1 +
drivers/clk/qcom/clk-rpmh.c | 24 +++++++++++++++++++
2 files changed, 25 insertions(+)
--
2.43.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/2] clk: qcom: rpmh: Add SM7250 rpmh clocks
2026-08-16 13:16 [PATCH 0/2] Add SM7250 rpmh clocks Sreeshankar K
@ 2026-08-16 13:16 ` Sreeshankar K
2026-08-17 4:23 ` Dmitry Baryshkov
2026-08-18 11:38 ` Abel Vesa
2026-08-16 13:16 ` [PATCH 2/2] dt-bindings: clock: qcom,rpmhcc: Document RPMHCC bindings for SM7250 Sreeshankar K
2026-08-17 1:35 ` [PATCH 0/2] Add SM7250 rpmh clocks Dmitry Baryshkov
2 siblings, 2 replies; 7+ messages in thread
From: Sreeshankar K @ 2026-08-16 13:16 UTC (permalink / raw)
To: andersson, mturquette, sboyd, robh, krzk+dt, conor+dt, quic_tdas
Cc: bmasney, linux-arm-msm, linux-clk, devicetree, linux-kernel,
Sreeshankar K
Add the RPMH clocks present in SM7250 SoC.
Signed-off-by: Sreeshankar K <sreeshankar0910@gmail.com>
---
drivers/clk/qcom/clk-rpmh.c | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/drivers/clk/qcom/clk-rpmh.c b/drivers/clk/qcom/clk-rpmh.c
index 6367b2a5a..f4cafa274 100644
--- a/drivers/clk/qcom/clk-rpmh.c
+++ b/drivers/clk/qcom/clk-rpmh.c
@@ -1011,6 +1011,29 @@ static const struct clk_rpmh_desc clk_rpmh_hawi = {
.num_clks = ARRAY_SIZE(hawi_rpmh_clocks),
};
+static struct clk_hw *sm7250_rpmh_clocks[] = {
+ [RPMH_CXO_CLK] = &clk_rpmh_bi_tcxo_div2.hw,
+ [RPMH_CXO_CLK_A] = &clk_rpmh_bi_tcxo_div2_ao.hw,
+ [RPMH_LN_BB_CLK2] = &clk_rpmh_ln_bb_clk2_a2.hw,
+ [RPMH_LN_BB_CLK2_A] = &clk_rpmh_ln_bb_clk2_a2_ao.hw,
+ [RPMH_LN_BB_CLK3] = &clk_rpmh_ln_bb_clk3_a2.hw,
+ [RPMH_LN_BB_CLK3_A] = &clk_rpmh_ln_bb_clk3_a2_ao.hw,
+ [RPMH_RF_CLK1] = &clk_rpmh_rf_clk1_d.hw,
+ [RPMH_RF_CLK1_A] = &clk_rpmh_rf_clk1_d_ao.hw,
+ [RPMH_RF_CLK2] = &clk_rpmh_rf_clk2_d.hw,
+ [RPMH_RF_CLK2_A] = &clk_rpmh_rf_clk2_d_ao.hw,
+ [RPMH_RF_CLK3] = &clk_rpmh_rf_clk3_d.hw,
+ [RPMH_RF_CLK3_A] = &clk_rpmh_rf_clk3_d_ao.hw,
+ [RPMH_RF_CLK4] = &clk_rpmh_rf_clk4_d.hw,
+ [RPMH_RF_CLK4_A] = &clk_rpmh_rf_clk4_d_ao.hw,
+ [RPMH_IPA_CLK] = &clk_rpmh_ipa.hw,
+};
+
+static const struct clk_rpmh_desc clk_rpmh_sm7250 = {
+ .clks = sm7250_rpmh_clocks,
+ .num_clks = ARRAY_SIZE(sm7250_rpmh_clocks),
+};
+
static struct clk_hw *of_clk_rpmh_hw_get(struct of_phandle_args *clkspec,
void *data)
{
@@ -1120,6 +1143,7 @@ static const struct of_device_id clk_rpmh_match_table[] = {
{ .compatible = "qcom,sdx75-rpmh-clk", .data = &clk_rpmh_sdx75},
{ .compatible = "qcom,sm4450-rpmh-clk", .data = &clk_rpmh_sm4450},
{ .compatible = "qcom,sm6350-rpmh-clk", .data = &clk_rpmh_sm6350},
+ { .compatible = "qcom,sm7250-rpmh-clk", .data = &clk_rpmh_sm7250},
{ .compatible = "qcom,sm8150-rpmh-clk", .data = &clk_rpmh_sm8150},
{ .compatible = "qcom,sm8250-rpmh-clk", .data = &clk_rpmh_sm8250},
{ .compatible = "qcom,sm8350-rpmh-clk", .data = &clk_rpmh_sm8350},
--
2.43.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/2] dt-bindings: clock: qcom,rpmhcc: Document RPMHCC bindings for SM7250
2026-08-16 13:16 [PATCH 0/2] Add SM7250 rpmh clocks Sreeshankar K
2026-08-16 13:16 ` [PATCH 1/2] clk: qcom: rpmh: " Sreeshankar K
@ 2026-08-16 13:16 ` Sreeshankar K
2026-08-18 8:39 ` Krzysztof Kozlowski
2026-08-17 1:35 ` [PATCH 0/2] Add SM7250 rpmh clocks Dmitry Baryshkov
2 siblings, 1 reply; 7+ messages in thread
From: Sreeshankar K @ 2026-08-16 13:16 UTC (permalink / raw)
To: andersson, mturquette, sboyd, robh, krzk+dt, conor+dt, quic_tdas
Cc: bmasney, linux-arm-msm, linux-clk, devicetree, linux-kernel,
Sreeshankar K
Document RPMHCC bindings for clock rpmh driver on Qualcomm SM7250 SoC.
Signed-off-by: Sreeshankar K <sreeshankar0910@gmail.com>
---
Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml b/Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml
index d344b3386..df9e37f90 100644
--- a/Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml
+++ b/Documentation/devicetree/bindings/clock/qcom,rpmhcc.yaml
@@ -38,6 +38,7 @@ properties:
- qcom,sdx75-rpmh-clk
- qcom,sm4450-rpmh-clk
- qcom,sm6350-rpmh-clk
+ - qcom,sm7250-rpmh-clk
- qcom,sm8150-rpmh-clk
- qcom,sm8250-rpmh-clk
- qcom,sm8350-rpmh-clk
--
2.43.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 0/2] Add SM7250 rpmh clocks
2026-08-16 13:16 [PATCH 0/2] Add SM7250 rpmh clocks Sreeshankar K
2026-08-16 13:16 ` [PATCH 1/2] clk: qcom: rpmh: " Sreeshankar K
2026-08-16 13:16 ` [PATCH 2/2] dt-bindings: clock: qcom,rpmhcc: Document RPMHCC bindings for SM7250 Sreeshankar K
@ 2026-08-17 1:35 ` Dmitry Baryshkov
2 siblings, 0 replies; 7+ messages in thread
From: Dmitry Baryshkov @ 2026-08-17 1:35 UTC (permalink / raw)
To: Sreeshankar K
Cc: andersson, mturquette, sboyd, robh, krzk+dt, conor+dt, quic_tdas,
bmasney, linux-arm-msm, linux-clk, devicetree, linux-kernel
On Sun, Aug 16, 2026 at 01:16:43PM +0000, Sreeshankar K wrote:
> Qualcomm SM7250 is known as lito.
> Add the RPMH clocks present in SM7250 SoC.
>
> Sreeshankar K (2):
> clk: qcom: rpmh: Add SM7250 rpmh clocks
> dt-bindings: clock: qcom,rpmhcc: Document RPMHCC bindings for SM7250
For the future reference: first the bindings, then the driver, not the
other way around.
>
> .../bindings/clock/qcom,rpmhcc.yaml | 1 +
> drivers/clk/qcom/clk-rpmh.c | 24 +++++++++++++++++++
> 2 files changed, 25 insertions(+)
>
> --
> 2.43.0
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] clk: qcom: rpmh: Add SM7250 rpmh clocks
2026-08-16 13:16 ` [PATCH 1/2] clk: qcom: rpmh: " Sreeshankar K
@ 2026-08-17 4:23 ` Dmitry Baryshkov
2026-08-18 11:38 ` Abel Vesa
1 sibling, 0 replies; 7+ messages in thread
From: Dmitry Baryshkov @ 2026-08-17 4:23 UTC (permalink / raw)
To: Sreeshankar K
Cc: andersson, mturquette, sboyd, robh, krzk+dt, conor+dt, quic_tdas,
bmasney, linux-arm-msm, linux-clk, devicetree, linux-kernel
On Sun, Aug 16, 2026 at 01:16:44PM +0000, Sreeshankar K wrote:
> Add the RPMH clocks present in SM7250 SoC.
>
> Signed-off-by: Sreeshankar K <sreeshankar0910@gmail.com>
> ---
> drivers/clk/qcom/clk-rpmh.c | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] dt-bindings: clock: qcom,rpmhcc: Document RPMHCC bindings for SM7250
2026-08-16 13:16 ` [PATCH 2/2] dt-bindings: clock: qcom,rpmhcc: Document RPMHCC bindings for SM7250 Sreeshankar K
@ 2026-08-18 8:39 ` Krzysztof Kozlowski
0 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2026-08-18 8:39 UTC (permalink / raw)
To: Sreeshankar K
Cc: andersson, mturquette, sboyd, robh, krzk+dt, conor+dt, quic_tdas,
bmasney, linux-arm-msm, linux-clk, devicetree, linux-kernel
On Sun, Aug 16, 2026 at 01:16:45PM +0000, Sreeshankar K wrote:
> Document RPMHCC bindings for clock rpmh driver on Qualcomm SM7250 SoC.
>
> Signed-off-by: Sreeshankar K <sreeshankar0910@gmail.com>
A nit, subject: drop second/last, redundant "bindings for". The
"dt-bindings" prefix is already stating that these are bindings.
See also:
https://elixir.bootlin.com/linux/v7.1-rc7/source/Documentation/devicetree/bindings/submitting-patches.rst#L23
Why is this patchset separate from the other clock patchset? Please make
it easy and obvious to maintainers.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] clk: qcom: rpmh: Add SM7250 rpmh clocks
2026-08-16 13:16 ` [PATCH 1/2] clk: qcom: rpmh: " Sreeshankar K
2026-08-17 4:23 ` Dmitry Baryshkov
@ 2026-08-18 11:38 ` Abel Vesa
1 sibling, 0 replies; 7+ messages in thread
From: Abel Vesa @ 2026-08-18 11:38 UTC (permalink / raw)
To: Sreeshankar K
Cc: andersson, mturquette, sboyd, robh, krzk+dt, conor+dt, quic_tdas,
bmasney, linux-arm-msm, linux-clk, devicetree, linux-kernel
On 26-08-16 13:16:44, Sreeshankar K wrote:
> Add the RPMH clocks present in SM7250 SoC.
>
> Signed-off-by: Sreeshankar K <sreeshankar0910@gmail.com>
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-08-18 11:38 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-16 13:16 [PATCH 0/2] Add SM7250 rpmh clocks Sreeshankar K
2026-08-16 13:16 ` [PATCH 1/2] clk: qcom: rpmh: " Sreeshankar K
2026-08-17 4:23 ` Dmitry Baryshkov
2026-08-18 11:38 ` Abel Vesa
2026-08-16 13:16 ` [PATCH 2/2] dt-bindings: clock: qcom,rpmhcc: Document RPMHCC bindings for SM7250 Sreeshankar K
2026-08-18 8:39 ` Krzysztof Kozlowski
2026-08-17 1:35 ` [PATCH 0/2] Add SM7250 rpmh clocks Dmitry Baryshkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox