From: Taniya Das <taniya.das@oss.qualcomm.com>
To: Vivek Aknurwar <vivek.aknurwar@oss.qualcomm.com>,
Bjorn Andersson <andersson@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Taniya Das <quic_tdas@quicinc.com>
Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Mike Tipton <mike.tipton@oss.qualcomm.com>
Subject: Re: [PATCH 4/7] clk: qcom: rpmh: Add support for Hawi RPMH clocks
Date: Tue, 31 Mar 2026 14:38:50 +0530 [thread overview]
Message-ID: <45d91247-3207-444f-946f-87eea56cfa58@oss.qualcomm.com> (raw)
In-Reply-To: <20260330-clk-hawi-v1-4-c2a663e1d35b@oss.qualcomm.com>
On 3/31/2026 6:04 AM, Vivek Aknurwar wrote:
> diff --git a/drivers/clk/qcom/clk-rpmh.c b/drivers/clk/qcom/clk-rpmh.c
> index 6a54481cc6ae..f9084c15467c 100644
> --- a/drivers/clk/qcom/clk-rpmh.c
> +++ b/drivers/clk/qcom/clk-rpmh.c
> @@ -405,7 +405,9 @@ DEFINE_CLK_RPMH_VRM(clk5, _a2_e0, "C5A_E0", 2);
> DEFINE_CLK_RPMH_VRM(clk6, _a2_e0, "C6A_E0", 2);
> DEFINE_CLK_RPMH_VRM(clk7, _a2_e0, "C7A_E0", 2);
> DEFINE_CLK_RPMH_VRM(clk8, _a2_e0, "C8A_E0", 2);
> +DEFINE_CLK_RPMH_VRM(clk9, _a2_e0, "C9A_E0", 2);
>
> +DEFINE_CLK_RPMH_VRM(clk7, _a4_e0, "C7A_E0", 4);
> DEFINE_CLK_RPMH_VRM(clk11, _a4_e0, "C11A_E0", 4);
>
> DEFINE_CLK_RPMH_BCM(ce, "CE0");
> @@ -965,6 +967,36 @@ static const struct clk_rpmh_desc clk_rpmh_eliza = {
> .num_clks = ARRAY_SIZE(eliza_rpmh_clocks),
> };
>
> +static struct clk_hw *hawi_rpmh_clocks[] = {
> + [RPMH_CXO_CLK] = &clk_rpmh_bi_tcxo_div2.hw,
> + [RPMH_CXO_CLK_A] = &clk_rpmh_bi_tcxo_div2_ao.hw,
> + [RPMH_DIV_CLK1] = &clk_rpmh_clk11_a4_e0.hw,
> + [RPMH_LN_BB_CLK1] = &clk_rpmh_clk6_a2_e0.hw,
> + [RPMH_LN_BB_CLK1_A] = &clk_rpmh_clk6_a2_e0_ao.hw,
> + [RPMH_LN_BB_CLK2] = &clk_rpmh_clk7_a4_e0.hw,
> + [RPMH_LN_BB_CLK2_A] = &clk_rpmh_clk7_a4_e0_ao.hw,
> + [RPMH_LN_BB_CLK3] = &clk_rpmh_clk8_a2_e0.hw,
> + [RPMH_LN_BB_CLK3_A] = &clk_rpmh_clk8_a2_e0_ao.hw,
> + [RPMH_LN_BB_CLK4] = &clk_rpmh_clk9_a2_e0.hw,
> + [RPMH_LN_BB_CLK4_A] = &clk_rpmh_clk9_a2_e0_ao.hw,
> + [RPMH_RF_CLK1] = &clk_rpmh_clk1_a1_e0.hw,
> + [RPMH_RF_CLK1_A] = &clk_rpmh_clk1_a1_e0_ao.hw,
> + [RPMH_RF_CLK2] = &clk_rpmh_clk2_a1_e0.hw,
> + [RPMH_RF_CLK2_A] = &clk_rpmh_clk2_a1_e0_ao.hw,
> + [RPMH_RF_CLK3] = &clk_rpmh_clk3_a2_e0.hw,
> + [RPMH_RF_CLK3_A] = &clk_rpmh_clk3_a2_e0_ao.hw,
> + [RPMH_RF_CLK4] = &clk_rpmh_clk4_a2_e0.hw,
> + [RPMH_RF_CLK4_A] = &clk_rpmh_clk4_a2_e0_ao.hw,
> + [RPMH_RF_CLK5] = &clk_rpmh_clk5_a2_e0.hw,
> + [RPMH_RF_CLK5_A] = &clk_rpmh_clk5_a2_e0_ao.hw,
> + [RPMH_IPA_CLK] = &clk_rpmh_ipa.hw,
> +};
> +
> +static const struct clk_rpmh_desc clk_rpmh_hawi = {
> + .clks = hawi_rpmh_clocks,
> + .num_clks = ARRAY_SIZE(hawi_rpmh_clocks),
> +};
> +
> static struct clk_hw *of_clk_rpmh_hw_get(struct of_phandle_args *clkspec,
> void *data)
> {
> @@ -1056,6 +1088,7 @@ static int clk_rpmh_probe(struct platform_device *pdev)
> static const struct of_device_id clk_rpmh_match_table[] = {
> { .compatible = "qcom,eliza-rpmh-clk", .data = &clk_rpmh_eliza},
> { .compatible = "qcom,glymur-rpmh-clk", .data = &clk_rpmh_glymur},
> + { .compatible = "qcom,hawi-rpmh-clk", .data = &clk_rpmh_hawi},
> { .compatible = "qcom,kaanapali-rpmh-clk", .data = &clk_rpmh_kaanapali},
Reviewed-by: Taniya Das <taniya.das@oss.qualcomm.com>
--
Thanks,
Taniya Das
next prev parent reply other threads:[~2026-03-31 9:08 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-31 0:34 [PATCH 0/7] clk: qcom: Add initial clock controllers for the upcoming Hawi SoC Vivek Aknurwar
2026-03-31 0:34 ` [PATCH 1/7] dt-bindings: clock: qcom-rpmhcc: Add RPMHCC bindings for Hawi Vivek Aknurwar
2026-04-08 13:26 ` Rob Herring (Arm)
2026-03-31 0:34 ` [PATCH 2/7] dt-bindings: clock: qcom: Add Hawi TCSR clock controller Vivek Aknurwar
2026-04-08 13:26 ` Rob Herring (Arm)
2026-03-31 0:34 ` [PATCH 3/7] dt-bindings: clock: qcom: Add Hawi global " Vivek Aknurwar
2026-04-08 13:26 ` Rob Herring (Arm)
2026-03-31 0:34 ` [PATCH 4/7] clk: qcom: rpmh: Add support for Hawi RPMH clocks Vivek Aknurwar
2026-03-31 9:08 ` Taniya Das [this message]
2026-03-31 9:30 ` Konrad Dybcio
2026-03-31 0:35 ` [PATCH 5/7] clk: qcom: Add Hawi TCSR clock controller driver Vivek Aknurwar
2026-03-31 9:13 ` Taniya Das
2026-03-31 0:35 ` [PATCH 6/7] clk: qcom: clk-alpha-pll: Add support for Taycan EHA_T PLL Vivek Aknurwar
2026-03-31 7:53 ` Konrad Dybcio
2026-03-31 9:10 ` Taniya Das
2026-03-31 0:35 ` [PATCH 7/7] clk: qcom: Add support for global clock controller on Hawi Vivek Aknurwar
2026-03-31 8:01 ` Konrad Dybcio
2026-03-31 9:13 ` Taniya Das
2026-03-31 21:11 ` Bjorn Andersson
2026-04-01 15:54 ` Mike Tipton
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=45d91247-3207-444f-946f-87eea56cfa58@oss.qualcomm.com \
--to=taniya.das@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.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=mike.tipton@oss.qualcomm.com \
--cc=mturquette@baylibre.com \
--cc=quic_tdas@quicinc.com \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=vivek.aknurwar@oss.qualcomm.com \
/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®