[v2,0/3] MSM8996 Pro CBF scaling support

Message ID 20230527093934.101335-1-y.oudjana@protonmail.com
Headers
Series MSM8996 Pro CBF scaling support |

Message

Yassine Oudjana May 27, 2023, 9:39 a.m. UTC
  From: Yassine Oudjana <y.oudjana@protonmail.com>

MSM8996 Pro has a /4 post divisor on its CBF PLL instead of /2, allowing
it to reach 192000000Hz on the lowest CPU OPPs (compared to 307200000Hz
on MSM8996). Add a compatible string to differentiate between the two and
handle the different divisor in the driver. Finally, add peak bandwidths
to CPU OPPs in msm8996pro.dtsi.

This series depends on the following patch series:
  clk: qcom: msm8996: add support for the CBF clock
  https://lore.kernel.org/linux-arm-msm/20230410200014.432418-1-dmitry.baryshkov@linaro.org/

Changes since v1:
  - Patch structs during probe instead of defining new ones.

Yassine Oudjana (3):
  dt-bindings: clock: qcom,msm8996-cbf: Add compatible for MSM8996 Pro
  arm64: dts: qcom: msm8996pro: Add CBF scaling support
  clk: qcom: cbf-msm8996: Add support for MSM8996 Pro

 .../bindings/clock/qcom,msm8996-cbf.yaml      |  4 +-
 arch/arm64/boot/dts/qcom/msm8996pro.dtsi      | 51 +++++++++++++++++++
 drivers/clk/qcom/clk-cbf-8996.c               | 10 +++-
 3 files changed, 62 insertions(+), 3 deletions(-)
  

Comments

Bjorn Andersson June 13, 2023, 10:30 p.m. UTC | #1
On Sat, 27 May 2023 12:39:31 +0300, Yassine Oudjana wrote:
> From: Yassine Oudjana <y.oudjana@protonmail.com>
> 
> MSM8996 Pro has a /4 post divisor on its CBF PLL instead of /2, allowing
> it to reach 192000000Hz on the lowest CPU OPPs (compared to 307200000Hz
> on MSM8996). Add a compatible string to differentiate between the two and
> handle the different divisor in the driver. Finally, add peak bandwidths
> to CPU OPPs in msm8996pro.dtsi.
> 
> [...]

Applied, thanks!

[2/3] arm64: dts: qcom: msm8996pro: Add CBF scaling support
      commit: 34354cc946abe6b6e4b71883dddfdd368e856d65

Best regards,
  
Bjorn Andersson July 31, 2023, 11:52 p.m. UTC | #2
On Sat, 27 May 2023 12:39:31 +0300, Yassine Oudjana wrote:
> From: Yassine Oudjana <y.oudjana@protonmail.com>
> 
> MSM8996 Pro has a /4 post divisor on its CBF PLL instead of /2, allowing
> it to reach 192000000Hz on the lowest CPU OPPs (compared to 307200000Hz
> on MSM8996). Add a compatible string to differentiate between the two and
> handle the different divisor in the driver. Finally, add peak bandwidths
> to CPU OPPs in msm8996pro.dtsi.
> 
> [...]

Applied, thanks!

[1/3] dt-bindings: clock: qcom,msm8996-cbf: Add compatible for MSM8996 Pro
      commit: 434cb57732cd6b39c41a218f2e1dfddd5373fe1b
[3/3] clk: qcom: cbf-msm8996: Add support for MSM8996 Pro
      commit: bc48641a68dcf9998c78248ce7e79d1a492463c1

Best regards,