From: Bjorn Andersson <andersson@kernel.org>
To: Konrad Dybcio <konrad.dybcio@linaro.org>
Cc: Andy Gross <agross@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
Loic Poulain <loic.poulain@linaro.org>,
Marijn Suijten <marijn.suijten@somainline.org>,
linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] clk: qcom: dispcc-qcm2290: Fix BI_TCXO_AO handling
Date: Thu, 13 Apr 2023 20:23:02 -0700 [thread overview]
Message-ID: <20230414032302.bmrsntx6h7slbxu7@ripper> (raw)
In-Reply-To: <20230412-topic-qcm_dispcc-v1-1-bf2989a75ae4@linaro.org>
On Wed, Apr 12, 2023 at 04:53:05PM +0200, Konrad Dybcio wrote:
> BI_TCXO_AO was previously shoved in under the name of its non-AO
> sibling in parent_map_2. Resolve it.
>
> Fixes: cc517ea3333f ("clk: qcom: Add display clock controller driver for QCM2290")
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---
> drivers/clk/qcom/dispcc-qcm2290.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/clk/qcom/dispcc-qcm2290.c b/drivers/clk/qcom/dispcc-qcm2290.c
> index cbb5f1ec6a54..0f516c72e624 100644
> --- a/drivers/clk/qcom/dispcc-qcm2290.c
> +++ b/drivers/clk/qcom/dispcc-qcm2290.c
> @@ -24,6 +24,7 @@
>
> enum {
> P_BI_TCXO,
> + P_BI_TCXO_AO,
> P_DISP_CC_PLL0_OUT_MAIN,
> P_DSI0_PHY_PLL_OUT_BYTECLK,
> P_DSI0_PHY_PLL_OUT_DSICLK,
> @@ -83,7 +84,7 @@ static const struct clk_parent_data disp_cc_parent_data_1[] = {
> };
>
> static const struct parent_map disp_cc_parent_map_2[] = {
> - { P_BI_TCXO, 0 },
> + { P_BI_TCXO_AO, 0 },
I think the commit message fails to explain why the parent clock for the
AHB clocks should be active-only. Are you sure, can you please
elaborate?
Thanks,
Bjorn
> { P_GPLL0_OUT_MAIN, 4 },
> };
>
> @@ -154,7 +155,7 @@ static struct clk_regmap_div disp_cc_mdss_byte0_div_clk_src = {
> };
>
> static const struct freq_tbl ftbl_disp_cc_mdss_ahb_clk_src[] = {
> - F(19200000, P_BI_TCXO, 1, 0, 0),
> + F(19200000, P_BI_TCXO_AO, 1, 0, 0),
> F(37500000, P_GPLL0_OUT_MAIN, 8, 0, 0),
> F(75000000, P_GPLL0_OUT_MAIN, 4, 0, 0),
> { }
>
> --
> 2.40.0
>
next prev parent reply other threads:[~2023-04-14 3:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-12 14:53 [PATCH 0/3] QCM2290 dispcc fixups Konrad Dybcio
2023-04-12 14:53 ` [PATCH 1/3] clk: qcom: dispcc-qcm2290: Fix BI_TCXO_AO handling Konrad Dybcio
2023-04-14 3:23 ` Bjorn Andersson [this message]
2023-04-12 14:53 ` [PATCH 2/3] clk: qcom: dispcc-qcm2290: Remove inexistent DSI1PHY clk Konrad Dybcio
2023-04-12 14:53 ` [PATCH 3/3] clk: qcom: dispcc-qcm2290: Fix GPLL0_OUT_DIV handling Konrad Dybcio
2023-04-14 3:24 ` Bjorn Andersson
2023-04-14 3:37 ` (subset) [PATCH 0/3] QCM2290 dispcc fixups Bjorn Andersson
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=20230414032302.bmrsntx6h7slbxu7@ripper \
--to=andersson@kernel.org \
--cc=agross@kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=loic.poulain@linaro.org \
--cc=marijn.suijten@somainline.org \
--cc=mturquette@baylibre.com \
--cc=sboyd@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
all inboxes | Powered by JetHome®