mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] clk: qcom: gpucc-sm8150: Update the gpu_cc_pll1 config
@ 2023-11-22  4:28 Satya Priya Kakitapalli
  2023-11-22 16:02 ` Konrad Dybcio
  2023-12-08 14:55 ` Bjorn Andersson
  0 siblings, 2 replies; 5+ messages in thread
From: Satya Priya Kakitapalli @ 2023-11-22  4:28 UTC (permalink / raw)
  To: Andy Gross, Konrad Dybcio, Michael Turquette, Stephen Boyd
  Cc: Bjorn Andersson, linux-arm-msm, linux-clk, linux-kernel,
	Satya Priya Kakitapalli

Update the test_ctl_hi_val and test_ctl_hi1_val of gpu_cc_pll1
as per latest HW recommendation.

Fixes: 0cef71f2ccc8 ("clk: qcom: Add graphics clock controller driver for SM8150")
Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
---
 drivers/clk/qcom/gpucc-sm8150.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/qcom/gpucc-sm8150.c b/drivers/clk/qcom/gpucc-sm8150.c
index 8422fd047493..c89a5b59ddb7 100644
--- a/drivers/clk/qcom/gpucc-sm8150.c
+++ b/drivers/clk/qcom/gpucc-sm8150.c
@@ -37,8 +37,8 @@ static struct alpha_pll_config gpu_cc_pll1_config = {
 	.config_ctl_hi_val = 0x00002267,
 	.config_ctl_hi1_val = 0x00000024,
 	.test_ctl_val = 0x00000000,
-	.test_ctl_hi_val = 0x00000002,
-	.test_ctl_hi1_val = 0x00000000,
+	.test_ctl_hi_val = 0x00000000,
+	.test_ctl_hi1_val = 0x00000020,
 	.user_ctl_val = 0x00000000,
 	.user_ctl_hi_val = 0x00000805,
 	.user_ctl_hi1_val = 0x000000d0,
-- 
2.25.1


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

* Re: [PATCH] clk: qcom: gpucc-sm8150: Update the gpu_cc_pll1 config
  2023-11-22  4:28 [PATCH] clk: qcom: gpucc-sm8150: Update the gpu_cc_pll1 config Satya Priya Kakitapalli
@ 2023-11-22 16:02 ` Konrad Dybcio
  2023-11-24 11:24   ` Satya Priya Kakitapalli (Temp)
  2023-12-08 14:55 ` Bjorn Andersson
  1 sibling, 1 reply; 5+ messages in thread
From: Konrad Dybcio @ 2023-11-22 16:02 UTC (permalink / raw)
  To: Satya Priya Kakitapalli, Andy Gross, Michael Turquette, Stephen Boyd
  Cc: Bjorn Andersson, linux-arm-msm, linux-clk, linux-kernel



On 11/22/23 05:28, Satya Priya Kakitapalli wrote:
> Update the test_ctl_hi_val and test_ctl_hi1_val of gpu_cc_pll1
> as per latest HW recommendation.
IIRC there is SM8150 v2.1 that's there on most devices and v2.2
that was used on the Microsoft Duo (or v2.0 and v2.1 respectively,
not sure, don't have any device on hand to read it back), do these
settings apply to both? Are they different for mobile vs auto?

Konrad

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

* Re: [PATCH] clk: qcom: gpucc-sm8150: Update the gpu_cc_pll1 config
  2023-11-22 16:02 ` Konrad Dybcio
@ 2023-11-24 11:24   ` Satya Priya Kakitapalli (Temp)
  2023-11-25 11:40     ` Konrad Dybcio
  0 siblings, 1 reply; 5+ messages in thread
From: Satya Priya Kakitapalli (Temp) @ 2023-11-24 11:24 UTC (permalink / raw)
  To: Konrad Dybcio, Andy Gross, Michael Turquette, Stephen Boyd
  Cc: Bjorn Andersson, linux-arm-msm, linux-clk, linux-kernel


On 11/22/2023 9:32 PM, Konrad Dybcio wrote:
>
>
> On 11/22/23 05:28, Satya Priya Kakitapalli wrote:
>> Update the test_ctl_hi_val and test_ctl_hi1_val of gpu_cc_pll1
>> as per latest HW recommendation.
> IIRC there is SM8150 v2.1 that's there on most devices and v2.2
> that was used on the Microsoft Duo (or v2.0 and v2.1 respectively,
> not sure, don't have any device on hand to read it back), do these
> settings apply to both? Are they different for mobile vs auto?
>

Yes these settings apply to all v2.x devices, also they are same for 
auto and mobile.


> Konrad

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

* Re: [PATCH] clk: qcom: gpucc-sm8150: Update the gpu_cc_pll1 config
  2023-11-24 11:24   ` Satya Priya Kakitapalli (Temp)
@ 2023-11-25 11:40     ` Konrad Dybcio
  0 siblings, 0 replies; 5+ messages in thread
From: Konrad Dybcio @ 2023-11-25 11:40 UTC (permalink / raw)
  To: Satya Priya Kakitapalli (Temp),
	Andy Gross, Michael Turquette, Stephen Boyd
  Cc: Bjorn Andersson, linux-arm-msm, linux-clk, linux-kernel

On 24.11.2023 12:24, Satya Priya Kakitapalli (Temp) wrote:
> 
> On 11/22/2023 9:32 PM, Konrad Dybcio wrote:
>>
>>
>> On 11/22/23 05:28, Satya Priya Kakitapalli wrote:
>>> Update the test_ctl_hi_val and test_ctl_hi1_val of gpu_cc_pll1
>>> as per latest HW recommendation.
>> IIRC there is SM8150 v2.1 that's there on most devices and v2.2
>> that was used on the Microsoft Duo (or v2.0 and v2.1 respectively,
>> not sure, don't have any device on hand to read it back), do these
>> settings apply to both? Are they different for mobile vs auto?
>>
> 
> Yes these settings apply to all v2.x devices, also they are same for auto and mobile.
Thanks for confirming!

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad

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

* Re: [PATCH] clk: qcom: gpucc-sm8150: Update the gpu_cc_pll1 config
  2023-11-22  4:28 [PATCH] clk: qcom: gpucc-sm8150: Update the gpu_cc_pll1 config Satya Priya Kakitapalli
  2023-11-22 16:02 ` Konrad Dybcio
@ 2023-12-08 14:55 ` Bjorn Andersson
  1 sibling, 0 replies; 5+ messages in thread
From: Bjorn Andersson @ 2023-12-08 14:55 UTC (permalink / raw)
  To: Andy Gross, Konrad Dybcio, Michael Turquette, Stephen Boyd,
	Satya Priya Kakitapalli
  Cc: linux-arm-msm, linux-clk, linux-kernel


On Wed, 22 Nov 2023 09:58:14 +0530, Satya Priya Kakitapalli wrote:
> Update the test_ctl_hi_val and test_ctl_hi1_val of gpu_cc_pll1
> as per latest HW recommendation.
> 
> 

Applied, thanks!

[1/1] clk: qcom: gpucc-sm8150: Update the gpu_cc_pll1 config
      commit: 6ebd9a4f8b8d2b35cf965a04849c4ba763722f13

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

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

end of thread, other threads:[~2023-12-08 14:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-22  4:28 [PATCH] clk: qcom: gpucc-sm8150: Update the gpu_cc_pll1 config Satya Priya Kakitapalli
2023-11-22 16:02 ` Konrad Dybcio
2023-11-24 11:24   ` Satya Priya Kakitapalli (Temp)
2023-11-25 11:40     ` Konrad Dybcio
2023-12-08 14:55 ` Bjorn Andersson

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®