* [PATCH] arm64: dts: qcom: ipq8074: fix the sleep clock frequency
@ 2022-02-11 12:14 Kathiravan T
2022-02-24 19:57 ` Bjorn Andersson
0 siblings, 1 reply; 4+ messages in thread
From: Kathiravan T @ 2022-02-11 12:14 UTC (permalink / raw)
To: agross, bjorn.andersson, robh+dt, varada, mraghava,
linux-arm-msm, devicetree, linux-kernel
Cc: stable, Kathiravan T
Sleep clock frequency should be 32768Hz. Lets fix it.
Cc: stable@vger.kernel.org
Fixes: 41dac73e243d ("arm64: dts: Add ipq8074 SoC and HK01 board support")
Link: https://lore.kernel.org/all/e2a447f8-6024-0369-f698-2027b6edcf9e@codeaurora.org/
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
---
arch/arm64/boot/dts/qcom/ipq8074.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
index 26ba7ce9222c..b6287355ad08 100644
--- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
@@ -13,7 +13,7 @@
clocks {
sleep_clk: sleep_clk {
compatible = "fixed-clock";
- clock-frequency = <32000>;
+ clock-frequency = <32768>;
#clock-cells = <0>;
};
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: qcom: ipq8074: fix the sleep clock frequency
2022-02-11 12:14 [PATCH] arm64: dts: qcom: ipq8074: fix the sleep clock frequency Kathiravan T
@ 2022-02-24 19:57 ` Bjorn Andersson
2022-02-25 12:18 ` Kathiravan Thirumoorthy
0 siblings, 1 reply; 4+ messages in thread
From: Bjorn Andersson @ 2022-02-24 19:57 UTC (permalink / raw)
To: Kathiravan T
Cc: agross, robh+dt, varada, mraghava, linux-arm-msm, devicetree,
linux-kernel, stable
On Fri 11 Feb 06:14 CST 2022, Kathiravan T wrote:
> Sleep clock frequency should be 32768Hz. Lets fix it.
>
> Cc: stable@vger.kernel.org
> Fixes: 41dac73e243d ("arm64: dts: Add ipq8074 SoC and HK01 board support")
> Link: https://lore.kernel.org/all/e2a447f8-6024-0369-f698-2027b6edcf9e@codeaurora.org/
> Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
Can you please confirm this? The documentation for GCC says that the
incoming sleep clock is 32000Hz.
Regards,
Bjorn
> ---
> arch/arm64/boot/dts/qcom/ipq8074.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
> index 26ba7ce9222c..b6287355ad08 100644
> --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
> +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
> @@ -13,7 +13,7 @@
> clocks {
> sleep_clk: sleep_clk {
> compatible = "fixed-clock";
> - clock-frequency = <32000>;
> + clock-frequency = <32768>;
> #clock-cells = <0>;
> };
>
> --
> 2.7.4
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: qcom: ipq8074: fix the sleep clock frequency
2022-02-24 19:57 ` Bjorn Andersson
@ 2022-02-25 12:18 ` Kathiravan Thirumoorthy
2022-03-04 3:57 ` Kathiravan Thirumoorthy
0 siblings, 1 reply; 4+ messages in thread
From: Kathiravan Thirumoorthy @ 2022-02-25 12:18 UTC (permalink / raw)
To: Bjorn Andersson
Cc: agross, robh+dt, varada, mraghava, linux-arm-msm, devicetree,
linux-kernel, stable, quic_srichara
On 2/25/2022 1:27 AM, Bjorn Andersson wrote:
> On Fri 11 Feb 06:14 CST 2022, Kathiravan T wrote:
>
>> Sleep clock frequency should be 32768Hz. Lets fix it.
>>
>> Cc: stable@vger.kernel.org
>> Fixes: 41dac73e243d ("arm64: dts: Add ipq8074 SoC and HK01 board support")
>> Link: https://lore.kernel.org/all/e2a447f8-6024-0369-f698-2027b6edcf9e@codeaurora.org/
>> Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
> Can you please confirm this? The documentation for GCC says that the
> incoming sleep clock is 32000Hz.
>
> Regards,
> Bjorn
Bjorn,
I checked the internal documents and it is derived from the PMIC as
32.7645KHz. I rounded off it to 32768Hz. Looks like GCC documentation is
not up-to-date.
All these information is available in the link
https://lore.kernel.org/all/e2a447f8-6024-0369-f698-2027b6edcf9e@codeaurora.org/
Please let me know if you need any further information.
Thanks,
Kathiravan T.
>> ---
>> arch/arm64/boot/dts/qcom/ipq8074.dtsi | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
>> index 26ba7ce9222c..b6287355ad08 100644
>> --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
>> @@ -13,7 +13,7 @@
>> clocks {
>> sleep_clk: sleep_clk {
>> compatible = "fixed-clock";
>> - clock-frequency = <32000>;
>> + clock-frequency = <32768>;
>> #clock-cells = <0>;
>> };
>>
>> --
>> 2.7.4
>>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: qcom: ipq8074: fix the sleep clock frequency
2022-02-25 12:18 ` Kathiravan Thirumoorthy
@ 2022-03-04 3:57 ` Kathiravan Thirumoorthy
0 siblings, 0 replies; 4+ messages in thread
From: Kathiravan Thirumoorthy @ 2022-03-04 3:57 UTC (permalink / raw)
To: Bjorn Andersson
Cc: agross, robh+dt, varada, mraghava, linux-arm-msm, devicetree,
linux-kernel, stable, quic_srichara
On 2/25/2022 5:48 PM, Kathiravan Thirumoorthy wrote:
>
> On 2/25/2022 1:27 AM, Bjorn Andersson wrote:
>> On Fri 11 Feb 06:14 CST 2022, Kathiravan T wrote:
>>
>>> Sleep clock frequency should be 32768Hz. Lets fix it.
>>>
>>> Cc: stable@vger.kernel.org
>>> Fixes: 41dac73e243d ("arm64: dts: Add ipq8074 SoC and HK01 board
>>> support")
>>> Link:
>>> https://lore.kernel.org/all/e2a447f8-6024-0369-f698-2027b6edcf9e@codeaurora.org/
>>> Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
>> Can you please confirm this? The documentation for GCC says that the
>> incoming sleep clock is 32000Hz.
>>
>> Regards,
>> Bjorn
>
> Bjorn,
>
> I checked the internal documents and it is derived from the PMIC as
> 32.7645KHz. I rounded off it to 32768Hz. Looks like GCC documentation
> is not up-to-date.
>
> All these information is available in the link
> https://lore.kernel.org/all/e2a447f8-6024-0369-f698-2027b6edcf9e@codeaurora.org/
>
> Please let me know if you need any further information.
>
> Thanks,
>
> Kathiravan T.
Bjorn,
Gentle Ping.
Thanks,
Kathiravan T.
>
>>> ---
>>> arch/arm64/boot/dts/qcom/ipq8074.dtsi | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
>>> b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
>>> index 26ba7ce9222c..b6287355ad08 100644
>>> --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
>>> +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
>>> @@ -13,7 +13,7 @@
>>> clocks {
>>> sleep_clk: sleep_clk {
>>> compatible = "fixed-clock";
>>> - clock-frequency = <32000>;
>>> + clock-frequency = <32768>;
>>> #clock-cells = <0>;
>>> };
>>> --
>>> 2.7.4
>>>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-03-04 3:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-11 12:14 [PATCH] arm64: dts: qcom: ipq8074: fix the sleep clock frequency Kathiravan T
2022-02-24 19:57 ` Bjorn Andersson
2022-02-25 12:18 ` Kathiravan Thirumoorthy
2022-03-04 3:57 ` Kathiravan Thirumoorthy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).