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

Yassine Oudjana posted 3 patches 2 years, 8 months ago
.../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(-)
[PATCH v2 0/3] MSM8996 Pro CBF scaling support
Posted by Yassine Oudjana 2 years, 8 months ago
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(-)

-- 
2.40.1
Re: (subset) [PATCH v2 0/3] MSM8996 Pro CBF scaling support
Posted by Bjorn Andersson 2 years, 6 months ago
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,
-- 
Bjorn Andersson <andersson@kernel.org>
Re: (subset) [PATCH v2 0/3] MSM8996 Pro CBF scaling support
Posted by Bjorn Andersson 2 years, 8 months ago
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 <andersson@kernel.org>