Message ID | 20230503130051.144708-1-y.oudjana@protonmail.com |
---|---|
Headers | show |
Series | MSM8996 Pro CBF scaling support | expand |
On 03/05/2023 15:00, Yassine Oudjana wrote: > From: Yassine Oudjana <y.oudjana@protonmail.com> > > The CBF clock on MSM8996 Pro has a different divisor compared to MSM8996 > and is therefore not fully compatible with it. Add a new compatible string > to differentiate between them. > > Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com> > --- > Documentation/devicetree/bindings/clock/qcom,msm8996-cbf.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
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(-)