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

From: Yassine Oudjana
Date: Sat May 27 2023 - 05:40:17 EST


From: Yassine Oudjana <y.oudjana@xxxxxxxxxxxxxx>

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@xxxxxxxxxx/

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(-)

--
2.40.1