arm64: dts: qcom: sm6375: Set up L3 scaling
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Tue, 27 Jun 2023 14:07:37 +0000 (16:07 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 10 Jul 2023 04:34:23 +0000 (21:34 -0700)
commitfdc3cf9fc3b266af2b23c82c616b6b87d37c97e0
treea5df68ece77b6cfa21515b4815b4fd453eead70b
parent55c9b1bf29dad107b3871bbb250c00df80a68791
arm64: dts: qcom: sm6375: Set up 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. They will be replaced with a dynamic, bwmon-style
decision maker once support for MEMLAT is introduced upstream.

Available values from the HW LUT:
300000
556800
652800
768000
844800
921600
1171200
1382400
1497600

This commit dramatically improves overall performance of the system.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230627-topic-6375_l3-v1-1-9cb03ef05150@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm6375.dtsi