From: Bjorn Andersson <andersson@kernel.org>
To: Kathiravan T <quic_kathirav@quicinc.com>
Cc: krzysztof.kozlowski@linaro.org, agross@kernel.org,
konrad.dybcio@linaro.org, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com,
sboyd@kernel.org, linus.walleij@linaro.org,
catalin.marinas@arm.com, will@kernel.org, shawnguo@kernel.org,
arnd@arndb.de, dmitry.baryshkov@linaro.org,
marcel.ziswiler@toradex.com, nfraprado@collabora.com,
robimarko@gmail.com, quic_gurus@quicinc.com,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
quic_varada@quicinc.com, quic_srichara@quicinc.com
Subject: Re: [PATCH V3 5/9] clk: qcom: add Global Clock controller (GCC) driver for IPQ5332 SoC
Date: Mon, 6 Feb 2023 19:41:08 -0800 [thread overview]
Message-ID: <20230207034108.bypitlfxicpz6wqb@ripper> (raw)
In-Reply-To: <20230206071217.29313-6-quic_kathirav@quicinc.com>
On Mon, Feb 06, 2023 at 12:42:13PM +0530, Kathiravan T wrote:
> diff --git a/drivers/clk/qcom/gcc-ipq5332.c b/drivers/clk/qcom/gcc-ipq5332.c
[..]
> +
> +enum {
> + DT_SLEEP_CLK,
> + DT_XO,
> + DT_PCIE_2LANE_PHY_PIPE_CLK,
> + DT_PCIE_2LANE_PHY_PIPE_X1_CLK,
> + DT_USB_PCIE_WRAPPER_PIPE_CLK,
This list does not match the clocks as defined in the binding.
> +};
> +
> +enum {
> + P_PCIE3X2_PIPE,
> + P_PCIE3X1_0_PIPE,
> + P_PCIE3X1_1_PIPE,
> + P_USB3PHY_0_PIPE,
> + P_CORE_BI_PLL_TEST_SE,
> + P_GCC_GPLL0_OUT_MAIN_DIV_CLK_SRC,
> + P_GPLL0_OUT_AUX,
> + P_GPLL0_OUT_MAIN,
> + P_GPLL2_OUT_AUX,
> + P_GPLL2_OUT_MAIN,
> + P_GPLL4_OUT_AUX,
> + P_GPLL4_OUT_MAIN,
> + P_SLEEP_CLK,
> + P_XO,
> +};
> +
> +static const struct clk_parent_data gcc_parent_data_xo = { .index = DT_XO };
> +
> +static struct clk_alpha_pll gpll0_main = {
> + .offset = 0x20000,
> + .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_STROMER_PLUS],
> + .clkr = {
> + .enable_reg = 0xb000,
> + .enable_mask = BIT(0),
> + .hw.init = &(const struct clk_init_data){
Please add a space between ')' and '{ on all these.
> + .name = "gpll0_main",
> + .parent_data = &gcc_parent_data_xo,
> + .num_parents = 1,
> + .ops = &clk_alpha_pll_stromer_ops,
> + },
> + },
> +};
[..]
> +static const struct qcom_cc_desc gcc_ipq5332_desc = {
> + .config = &gcc_ipq5332_regmap_config,
> + .clks = gcc_ipq5332_clocks,
> + .num_clks = ARRAY_SIZE(gcc_ipq5332_clocks),
> + .resets = gcc_ipq5332_resets,
> + .num_resets = ARRAY_SIZE(gcc_ipq5332_resets),
> + .clk_hws = gcc_ipq5332_hws,
> + .num_clk_hws = ARRAY_SIZE(gcc_ipq5332_hws),
No GDSCs?
Regards,
Bjorn
next prev parent reply other threads:[~2023-02-07 3:39 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-06 7:12 [PATCH V3 0/9] Add minimal boot support for IPQ5332 Kathiravan T
2023-02-06 7:12 ` [PATCH V3 1/9] dt-bindings: pinctrl: qcom: add IPQ5332 pinctrl Kathiravan T
2023-02-06 8:26 ` Krzysztof Kozlowski
2023-02-06 7:12 ` [PATCH V3 2/9] pinctrl: qcom: Introduce IPQ5332 TLMM driver Kathiravan T
2023-02-07 3:34 ` Bjorn Andersson
2023-02-06 7:12 ` [PATCH V3 3/9] clk: qcom: Add STROMER PLUS PLL type for IPQ5332 Kathiravan T
2023-02-06 7:12 ` [PATCH V3 4/9] dt-bindings: clock: Add Qualcomm IPQ5332 GCC Kathiravan T
2023-02-06 8:26 ` Krzysztof Kozlowski
2023-02-06 9:52 ` Dmitry Baryshkov
2023-02-07 4:26 ` Kathiravan T
2023-02-07 10:05 ` Dmitry Baryshkov
2023-02-06 7:12 ` [PATCH V3 5/9] clk: qcom: add Global Clock controller (GCC) driver for IPQ5332 SoC Kathiravan T
2023-02-06 9:52 ` Dmitry Baryshkov
2023-02-06 9:56 ` Dmitry Baryshkov
2023-02-07 4:29 ` Kathiravan T
2023-02-07 3:41 ` Bjorn Andersson [this message]
2023-02-07 4:31 ` Kathiravan T
2023-02-06 7:12 ` [PATCH V3 6/9] dt-bindings: qcom: add ipq5332 boards Kathiravan T
2023-02-06 8:27 ` Krzysztof Kozlowski
2023-02-06 7:12 ` [PATCH V3 7/9] dt-bindings: firmware: qcom,scm: document IPQ5332 SCM Kathiravan T
2023-02-06 7:12 ` [PATCH V3 8/9] arm64: dts: qcom: add IPQ5332 SoC and MI01.2 board support Kathiravan T
2023-02-06 7:12 ` [PATCH V3 9/9] arm64: defconfig: Enable IPQ5332 SoC base configs Kathiravan T
2023-02-06 9:53 ` Dmitry Baryshkov
2023-02-06 11:25 ` [PATCH V3 0/9] Add minimal boot support for IPQ5332 Linus Walleij
2023-02-06 11:42 ` Kathiravan T
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=20230207034108.bypitlfxicpz6wqb@ripper \
--to=andersson@kernel.org \
--cc=agross@kernel.org \
--cc=arnd@arndb.de \
--cc=catalin.marinas@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcel.ziswiler@toradex.com \
--cc=mturquette@baylibre.com \
--cc=nfraprado@collabora.com \
--cc=quic_gurus@quicinc.com \
--cc=quic_kathirav@quicinc.com \
--cc=quic_srichara@quicinc.com \
--cc=quic_varada@quicinc.com \
--cc=robh+dt@kernel.org \
--cc=robimarko@gmail.com \
--cc=sboyd@kernel.org \
--cc=shawnguo@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