mbox series

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

Message ID 20230503130051.144708-1-y.oudjana@protonmail.com (mailing list archive)
Headers show
Series MSM8996 Pro CBF scaling support | expand

Message

Yassine Oudjana May 3, 2023, 1 p.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/

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               | 121 +++++++++++++++---
 3 files changed, 160 insertions(+), 16 deletions(-)