From: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
To: Stephen Boyd <sboyd@kernel.org>, Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Conor Dooley <conor+dt@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Michael Turquette <mturquette@baylibre.com>,
Richard Cochran <richardcochran@gmail.com>,
Rob Herring <robh+dt@kernel.org>, Will Deacon <will@kernel.org>
Cc: <linux-arm-msm@vger.kernel.org>, <linux-clk@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
<netdev@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH 4/8] clk: qcom: ipq5332: add gpll0_out_aux clock
Date: Tue, 31 Oct 2023 09:54:46 +0530 [thread overview]
Message-ID: <04680b40-9d2d-403c-93af-9e91a491a053@quicinc.com> (raw)
In-Reply-To: <ac223f97efea0d5077a4e3e4dbd805b4.sboyd@kernel.org>
On 10/31/2023 12:27 AM, Stephen Boyd wrote:
> Quoting Kathiravan Thirumoorthy (2023-10-30 02:47:19)
>> Add support for gpll0_out_aux clock which acts as the parent for
>> certain networking subsystem (NSS) clocks.
>>
>> Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@quicinc.com>
>> ---
>> drivers/clk/qcom/gcc-ipq5332.c | 14 ++++++++++++++
>> 1 file changed, 14 insertions(+)
>>
>> diff --git a/drivers/clk/qcom/gcc-ipq5332.c b/drivers/clk/qcom/gcc-ipq5332.c
>> index 235849876a9a..966bb7ca8854 100644
>> --- a/drivers/clk/qcom/gcc-ipq5332.c
>> +++ b/drivers/clk/qcom/gcc-ipq5332.c
>> @@ -87,6 +87,19 @@ static struct clk_alpha_pll_postdiv gpll0 = {
>> },
>> };
>>
>> +static struct clk_alpha_pll_postdiv gpll0_out_aux = {
>> + .offset = 0x20000,
>> + .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_STROMER_PLUS],
>> + .width = 4,
>> + .clkr.hw.init = &(struct clk_init_data) {
>
> const initdata
Thanks for pointing it out. Some of the clock structure doesn't have the
"const" qualifier. Will fix all those in V2.
>
>> + .name = "gpll0_out_aux",
>> + .parent_hws = (const struct clk_hw *[]) {
>> + &gpll0_main.clkr.hw },
>> + .num_parents = 1,
>> + .ops = &clk_alpha_pll_postdiv_ro_ops,
>> + },
>> +};
>> +
>> static struct clk_alpha_pll gpll2_main = {
>> .offset = 0x21000,
>> .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_STROMER_PLUS],
next prev parent reply other threads:[~2023-10-31 4:25 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-30 9:47 [PATCH 0/8] Add NSS clock controller support for IPQ5332 Kathiravan Thirumoorthy
2023-10-30 9:47 ` [PATCH 1/8] clk: qcom: ipq5332: drop the few nssnoc clocks Kathiravan Thirumoorthy
2023-10-30 18:42 ` Konrad Dybcio
2023-10-30 9:47 ` [PATCH 2/8] dt-bindings: clock: ipq5332: drop the few nss clocks definition Kathiravan Thirumoorthy
2023-10-30 11:07 ` Krzysztof Kozlowski
2023-10-30 18:56 ` Stephen Boyd
2023-10-31 4:20 ` Kathiravan Thirumoorthy
2023-10-30 9:47 ` [PATCH 3/8] dt-bindings: clock: ipq5332: add definition for GPLL0_OUT_AUX clock Kathiravan Thirumoorthy
2023-10-30 11:08 ` Krzysztof Kozlowski
2023-10-30 9:47 ` [PATCH 4/8] clk: qcom: ipq5332: add gpll0_out_aux clock Kathiravan Thirumoorthy
2023-10-30 18:57 ` Stephen Boyd
2023-10-31 4:24 ` Kathiravan Thirumoorthy [this message]
2023-10-30 9:47 ` [PATCH 5/8] dt-bindings: clock: add IPQ5332 NSSCC clock and reset definitions Kathiravan Thirumoorthy
2023-10-30 11:11 ` Krzysztof Kozlowski
2023-10-31 4:17 ` Kathiravan Thirumoorthy
2023-10-30 9:47 ` [PATCH 6/8] clk: qcom: add NSS clock Controller driver for IPQ5332 Kathiravan Thirumoorthy
2023-10-30 9:47 ` [PATCH 7/8] arm64: dts: qcom: ipq5332: add support for the NSSCC Kathiravan Thirumoorthy
2023-10-30 11:13 ` Krzysztof Kozlowski
2023-10-31 4:18 ` Kathiravan Thirumoorthy
2023-10-30 9:47 ` [PATCH 8/8] arm64: defconfig: build NSS Clock Controller driver for IPQ5332 Kathiravan Thirumoorthy
2023-10-30 10:26 ` Kathiravan Thirumoorthy
2023-10-30 11:08 ` Krzysztof Kozlowski
2023-10-31 4:16 ` Kathiravan Thirumoorthy
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=04680b40-9d2d-403c-93af-9e91a491a053@quicinc.com \
--to=quic_kathirav@quicinc.com \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=netdev@vger.kernel.org \
--cc=richardcochran@gmail.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
--cc=will@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