mbox series

[v3,00/21] arm64: dts: qcom: correct sleep clocks

Message ID 20241224-fix-board-clocks-v3-0-e9b08fbeadd3@linaro.org (mailing list archive)
Headers show
Series arm64: dts: qcom: correct sleep clocks | expand

Message

Dmitry Baryshkov Dec. 24, 2024, 10:16 a.m. UTC
Correct sleep clock frequencies. For several platforms I wasn't able to
find corresponding document and as such I didn't change defined clocks.
These platforms are: IPQ5018, IPQ5332, IPQ5424, IPQ6018, IPQ8074,
IPQ9574, MSM8953.

Also several MSM8996 / MSM8994 devices define divisor clocks at
32.768 kHz. Most likely these clocks are also generated by dividing the
19.2 MHz clock and should have the frequency 32.764 kHz, but being not
100% sure I decided to leave those as is for now.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
Changes in v3:
- Dropped the patches NAK-ed by Krzysztof
- Link to v2: https://lore.kernel.org/r/20241130-fix-board-clocks-v2-0-b9a35858657e@linaro.org

Changes in v2:
- Move clocks to SoC DTSI (offline discussion with Bjorn)
- Link to v1: https://lore.kernel.org/r/20241115-fix-board-clocks-v1-0-8cb00a4f57c2@linaro.org

---
Dmitry Baryshkov (21):
      arm64: dts: qcom: msm8916: correct sleep clock frequency
      arm64: dts: qcom: msm8939: correct sleep clock frequency
      arm64: dts: qcom: msm8994: correct sleep clock frequency
      arm64: dts: qcom: qcs404: correct sleep clock frequency
      arm64: dts: qcom: q[dr]u1000: correct sleep clock frequency
      arm64: dts: qcom: qrb4210-rb2: correct sleep clock frequency
      arm64: dts: qcom: sar2130p: correct sleep clock frequency
      arm64: dts: qcom: sc7280: correct sleep clock frequency
      arm64: dts: qcom: sdx75: correct sleep clock frequency
      arm64: dts: qcom: sm4450: correct sleep clock frequency
      arm64: dts: qcom: sm6125: correct sleep clock frequency
      arm64: dts: qcom: sm6375: correct sleep clock frequency
      arm64: dts: qcom: sm8250: correct sleep clock frequency
      arm64: dts: qcom: sm8350: correct sleep clock frequency
      arm64: dts: qcom: sm8450: correct sleep clock frequency
      arm64: dts: qcom: sm8550: correct sleep clock frequency
      arm64: dts: qcom: sm8650: correct sleep clock frequency
      arm64: dts: qcom: x1e80100: correct sleep clock frequency
      arm64: dts: qcom: sc8180x: drop extra XO clock frequencies
      arm64: dts: qcom: sdm670: move board clocks to sdm670.dtsi file
      arm64: dts: qcom: q[dr]u1000: move board clocks to qdu1000.dtsi file

 arch/arm64/boot/dts/qcom/msm8916.dtsi                      |  2 +-
 arch/arm64/boot/dts/qcom/msm8939.dtsi                      |  2 +-
 arch/arm64/boot/dts/qcom/msm8994.dtsi                      |  2 +-
 arch/arm64/boot/dts/qcom/qcs404.dtsi                       |  2 +-
 arch/arm64/boot/dts/qcom/qcs8550-aim300.dtsi               |  2 +-
 arch/arm64/boot/dts/qcom/qdu1000-idp.dts                   | 14 --------------
 arch/arm64/boot/dts/qcom/qdu1000.dtsi                      | 14 ++++++++++++++
 arch/arm64/boot/dts/qcom/qrb4210-rb2.dts                   |  2 +-
 arch/arm64/boot/dts/qcom/qru1000-idp.dts                   | 14 --------------
 arch/arm64/boot/dts/qcom/sar2130p.dtsi                     |  2 +-
 arch/arm64/boot/dts/qcom/sc7280.dtsi                       |  2 +-
 arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts        |  4 ----
 arch/arm64/boot/dts/qcom/sc8180x-primus.dts                |  4 ----
 arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts           | 14 --------------
 arch/arm64/boot/dts/qcom/sdm670.dtsi                       | 14 ++++++++++++++
 arch/arm64/boot/dts/qcom/sdx75.dtsi                        |  2 +-
 arch/arm64/boot/dts/qcom/sm4450.dtsi                       |  2 +-
 arch/arm64/boot/dts/qcom/sm6125.dtsi                       |  2 +-
 arch/arm64/boot/dts/qcom/sm6375.dtsi                       |  2 +-
 arch/arm64/boot/dts/qcom/sm8250.dtsi                       |  2 +-
 arch/arm64/boot/dts/qcom/sm8350.dtsi                       |  2 +-
 arch/arm64/boot/dts/qcom/sm8450.dtsi                       |  2 +-
 arch/arm64/boot/dts/qcom/sm8550-hdk.dts                    |  2 +-
 arch/arm64/boot/dts/qcom/sm8550-mtp.dts                    |  2 +-
 arch/arm64/boot/dts/qcom/sm8550-qrd.dts                    |  2 +-
 arch/arm64/boot/dts/qcom/sm8550-samsung-q5q.dts            |  2 +-
 .../arm64/boot/dts/qcom/sm8550-sony-xperia-yodo-pdx234.dts |  2 +-
 arch/arm64/boot/dts/qcom/sm8650-hdk.dts                    |  2 +-
 arch/arm64/boot/dts/qcom/sm8650-mtp.dts                    |  2 +-
 arch/arm64/boot/dts/qcom/sm8650-qrd.dts                    |  2 +-
 arch/arm64/boot/dts/qcom/x1e80100.dtsi                     |  2 +-
 31 files changed, 52 insertions(+), 74 deletions(-)
---
base-commit: 8155b4ef3466f0e289e8fcc9e6e62f3f4dceeac2
change-id: 20241115-fix-board-clocks-e3afe520627c

Best regards,

Comments

Bjorn Andersson Dec. 27, 2024, 4:15 a.m. UTC | #1
On Tue, 24 Dec 2024 12:16:59 +0200, Dmitry Baryshkov wrote:
> Correct sleep clock frequencies. For several platforms I wasn't able to
> find corresponding document and as such I didn't change defined clocks.
> These platforms are: IPQ5018, IPQ5332, IPQ5424, IPQ6018, IPQ8074,
> IPQ9574, MSM8953.
> 
> Also several MSM8996 / MSM8994 devices define divisor clocks at
> 32.768 kHz. Most likely these clocks are also generated by dividing the
> 19.2 MHz clock and should have the frequency 32.764 kHz, but being not
> 100% sure I decided to leave those as is for now.
> 
> [...]

Applied, thanks!

[01/21] arm64: dts: qcom: msm8916: correct sleep clock frequency
        commit: f088b921890cef28862913e5627bb2e2b5f82125
[02/21] arm64: dts: qcom: msm8939: correct sleep clock frequency
        commit: 5c775f586cde4fca3c5591c43b6dc8b243bc304c
[03/21] arm64: dts: qcom: msm8994: correct sleep clock frequency
        commit: a4148d869d47d8c86da0291dd95d411a5ebe90c8
[04/21] arm64: dts: qcom: qcs404: correct sleep clock frequency
        commit: 1473ff0b69de68b23ce9874548cdabc64d72725e
[05/21] arm64: dts: qcom: q[dr]u1000: correct sleep clock frequency
        commit: 5546604e034b6c383b65676ff8615b346897eccd
[06/21] arm64: dts: qcom: qrb4210-rb2: correct sleep clock frequency
        commit: 298192f365a343d84e9d2755e47bebebf0cfb82e
[07/21] arm64: dts: qcom: sar2130p: correct sleep clock frequency
        commit: 7fb01ef4907e3888c2002d71bf66ef52eb0fa634
[08/21] arm64: dts: qcom: sc7280: correct sleep clock frequency
        commit: f6ccdca14eac545320ab03d6ca91ca343e7372e5
[09/21] arm64: dts: qcom: sdx75: correct sleep clock frequency
        commit: b8021da9ddc65fa041e12ea1e0ff2dfce5c926eb
[10/21] arm64: dts: qcom: sm4450: correct sleep clock frequency
        commit: 158e67cf3619dbb5b9914bb364889041f4b90eea
[11/21] arm64: dts: qcom: sm6125: correct sleep clock frequency
        commit: b3c547e1507862f0e4d46432b665c5c6e61e14d6
[12/21] arm64: dts: qcom: sm6375: correct sleep clock frequency
        commit: 223382c94f1f07c475d39713e4c058401480b441
[13/21] arm64: dts: qcom: sm8250: correct sleep clock frequency
        commit: 75420e437eed69fa95d1d7c339dad86dea35319a
[14/21] arm64: dts: qcom: sm8350: correct sleep clock frequency
        commit: f4cc8c75cfc5d06084a31da2ff67e477565f0cae
[15/21] arm64: dts: qcom: sm8450: correct sleep clock frequency
        commit: c375ff3b887abf376607d4769c1114c5e3b6ea72
[16/21] arm64: dts: qcom: sm8550: correct sleep clock frequency
        commit: e59334a088c3e722c0a287d4616af997f46c985e
[17/21] arm64: dts: qcom: sm8650: correct sleep clock frequency
        commit: 448db0ba6ad2aafee2cbd91b491246749f6a6abc
[18/21] arm64: dts: qcom: x1e80100: correct sleep clock frequency
        commit: 67e25a3e12d128336114a5d1572e055a8bd33129
[19/21] arm64: dts: qcom: sc8180x: drop extra XO clock frequencies
        commit: aacd8c54b391c9e26a31483cf40f8837ffcfbdee
[20/21] arm64: dts: qcom: sdm670: move board clocks to sdm670.dtsi file
        commit: 55cc39c70d95460fbe08d2518e53a7f8870e1657
[21/21] arm64: dts: qcom: q[dr]u1000: move board clocks to qdu1000.dtsi file
        commit: a21fde626f775288aa62c6a5ae07f7e55c2b18c4

Best regards,