mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH] clk: qcom: gcc-msm8939: Fix mclk0 & mclk1 for 24 MHz
       [not found] <20231028120756.316574-1-vincent.knecht@mailoo.org>
@ 2023-10-28 13:06 ` Konrad Dybcio
  2023-10-29  6:48   ` Vincent Knecht
  2023-10-28 19:06 ` Bryan O'Donoghue
  1 sibling, 1 reply; 3+ messages in thread
From: Konrad Dybcio @ 2023-10-28 13:06 UTC (permalink / raw)
  To: Vincent Knecht, Bjorn Andersson, Andy Gross, Michael Turquette,
	Stephen Boyd, Shawn Guo, Bryan O'Donoghue, linux-arm-msm,
	linux-clk, linux-kernel
  Cc: Stephan Gerhold

On 28.10.2023 14:07, Vincent Knecht wrote:
> Fix mclk0 & mclk1 parent map to use correct GPLL6 configuration and
> freq_tbl to use GPLL6 instead of GPLL0 so that they tick at 24 MHz.
> 
> Fixes: 1664014e4679 ("clk: qcom: gcc-msm8939: Add MSM8939 Generic Clock Controller")
> Suggested-by: Stephan Gerhold <stephan@gerhold.net>
Reported-by?


> Signed-off-by: Vincent Knecht <vincent.knecht@mailoo.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: qcom: gcc-msm8939: Fix mclk0 & mclk1 for 24 MHz
       [not found] <20231028120756.316574-1-vincent.knecht@mailoo.org>
  2023-10-28 13:06 ` [PATCH] clk: qcom: gcc-msm8939: Fix mclk0 & mclk1 for 24 MHz Konrad Dybcio
@ 2023-10-28 19:06 ` Bryan O'Donoghue
  1 sibling, 0 replies; 3+ messages in thread
From: Bryan O'Donoghue @ 2023-10-28 19:06 UTC (permalink / raw)
  To: Vincent Knecht, Bjorn Andersson, Andy Gross, Konrad Dybcio,
	Michael Turquette, Stephen Boyd, Shawn Guo, linux-arm-msm,
	linux-clk, linux-kernel
  Cc: Stephan Gerhold

On 28/10/2023 13:07, Vincent Knecht wrote:
> Fix mclk0 & mclk1 parent map to use correct GPLL6 configuration and
> freq_tbl to use GPLL6 instead of GPLL0 so that they tick at 24 MHz.
> 
> Fixes: 1664014e4679 ("clk: qcom: gcc-msm8939: Add MSM8939 Generic Clock Controller")
> Suggested-by: Stephan Gerhold <stephan@gerhold.net>
> Signed-off-by: Vincent Knecht <vincent.knecht@mailoo.org>
> ---
>   drivers/clk/qcom/gcc-msm8939.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/clk/qcom/gcc-msm8939.c b/drivers/clk/qcom/gcc-msm8939.c
> index b45f97c07eeb..e4a44377b75f 100644
> --- a/drivers/clk/qcom/gcc-msm8939.c
> +++ b/drivers/clk/qcom/gcc-msm8939.c
> @@ -432,7 +432,7 @@ static const struct parent_map gcc_xo_gpll0_gpll1a_gpll6_sleep_map[] = {
>   	{ P_XO, 0 },
>   	{ P_GPLL0, 1 },
>   	{ P_GPLL1_AUX, 2 },
> -	{ P_GPLL6, 2 },
> +	{ P_GPLL6, 3 },
>   	{ P_SLEEP_CLK, 6 },
>   };
>   
> @@ -1100,7 +1100,7 @@ static struct clk_rcg2 jpeg0_clk_src = {
>   };
>   
>   static const struct freq_tbl ftbl_gcc_camss_mclk0_1_clk[] = {
> -	F(24000000, P_GPLL0, 1, 1, 45),
> +	F(24000000, P_GPLL6, 1, 1, 45),
>   	F(66670000, P_GPLL0, 12, 0, 0),
>   	{ }
>   };

Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: qcom: gcc-msm8939: Fix mclk0 & mclk1 for 24 MHz
  2023-10-28 13:06 ` [PATCH] clk: qcom: gcc-msm8939: Fix mclk0 & mclk1 for 24 MHz Konrad Dybcio
@ 2023-10-29  6:48   ` Vincent Knecht
  0 siblings, 0 replies; 3+ messages in thread
From: Vincent Knecht @ 2023-10-29  6:48 UTC (permalink / raw)
  To: Konrad Dybcio, Bjorn Andersson, Andy Gross, Michael Turquette,
	Stephen Boyd, Shawn Guo, Bryan O'Donoghue, linux-arm-msm,
	linux-clk, linux-kernel
  Cc: Stephan Gerhold

Le samedi 28 octobre 2023 à 15:06 +0200, Konrad Dybcio a écrit :
> On 28.10.2023 14:07, Vincent Knecht wrote:
> > Fix mclk0 & mclk1 parent map to use correct GPLL6 configuration and
> > freq_tbl to use GPLL6 instead of GPLL0 so that they tick at 24 MHz.
> > 
> > Fixes: 1664014e4679 ("clk: qcom: gcc-msm8939: Add MSM8939 Generic Clock Controller")
> > Suggested-by: Stephan Gerhold <stephan@gerhold.net>
> Reported-by?

I believe S-b is accurate:
I mentioned a problem about those clocks on IRC,
and Stephan pointed to the 2 problems fixed in this patch.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-29  6:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20231028120756.316574-1-vincent.knecht@mailoo.org>
2023-10-28 13:06 ` [PATCH] clk: qcom: gcc-msm8939: Fix mclk0 & mclk1 for 24 MHz Konrad Dybcio
2023-10-29  6:48   ` Vincent Knecht
2023-10-28 19:06 ` Bryan O'Donoghue

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®