arm64: dts: qcom: sm6350: Set up DDR & L3 scaling
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Wed, 4 Jan 2023 17:16:42 +0000 (18:16 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 18 Jan 2023 23:33:10 +0000 (17:33 -0600)
commitbba952275b81971d329189a879a5611bc8eb0dd1
tree71039e53d2f0e3ac81b4f4fa442650200d5962c8
parente17a806571bb01bb951faeec645944850241eae3
arm64: dts: qcom: sm6350: Set up DDR & L3 scaling

Add the CPU OPP tables including core frequency and L3 bus frequency.
The L3 throughput values were chosen by studying the frequencies
available in HW LUT and picking the highest one that's less than the
CPU frequency. DDR clock rates come from the vendor kernel.

Available values from the HW LUT:
300000000
556800000
652800000
806400000
844800000
940800000
1132800000
1209600000
1286400000
1401600000
1459200000

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230104171643.1004054-3-konrad.dybcio@linaro.org
arch/arm64/boot/dts/qcom/sm6350.dtsi
arch/arm64/boot/dts/qcom/sm7225.dtsi