qualcommax: add pending GPLL parent fixes
authorRobert Marko <robimarko@gmail.com>
Sun, 15 Oct 2023 15:29:39 +0000 (17:29 +0200)
committerRobert Marko <robimarko@gmail.com>
Sun, 15 Oct 2023 15:29:39 +0000 (17:29 +0200)
commitf8ea89c2d4727357af4151583a7df633c6c6350d
tree48c7ac59563dcb6c89f65cb471c7d7c50360e98b
parentb35756446391d1b21970a0e05f8f6f5e069f73cf
qualcommax: add pending GPLL parent fixes

SBL will configure IPQ807x cores to boot at 800MHz as a safe default
frequency that is provided by GPLL0, but GPLL0 is not currently configured
as a possible parent in the APSS clock driver not being passed to it via
DTS which will then cause the kernel to not properly identify the current
CPU frequency during booting and will think that CPU is currently at XO
frequency of 19.2MHz instead of 800MHz cores are actually at and print:
cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 19200 KHz, changing to: 1017600 KHz

So, lets import patches pending upstream to prevent GPLL scaling and feed
the GPLL0 clock to APSS clock driver so we get:
cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 800000 KHz, changing to: 1017600 KHz

This is mostly cosmetic fix, but with all of the possible SBL and FW
versions there could be edge cases resolved by this and not scaling GPLL-s
anymore.

Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/qualcommax/patches-6.1/0131-clk-qcom-ipq8074-drop-the-CLK_SET_RATE_PARENT-flag-f.patch [new file with mode: 0644]
target/linux/qualcommax/patches-6.1/0132-clk-qcom-apss-ipq6018-add-the-GPLL0-clock-also-as-cl.patch [new file with mode: 0644]
target/linux/qualcommax/patches-6.1/0133-arm64-dts-qcom-ipq8074-include-the-GPLL0-as-clock-pr.patch [new file with mode: 0644]