aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbel Vesa <abel.vesa@linaro.org>2022-08-12 13:12:39 +0300
committerBjorn Andersson <andersson@kernel.org>2022-08-29 16:39:10 -0500
commit528dc60f9e5eadcfde651b1458da2b8d008a2cf0 (patch)
tree11b52a1b263a06e9429fc74fa45b9b86fc0398f9
parentarm64: dts: qcom: sdm845: Reduce reg size for aoss_qmp (diff)
downloadlinux-dev-528dc60f9e5eadcfde651b1458da2b8d008a2cf0.tar.xz
linux-dev-528dc60f9e5eadcfde651b1458da2b8d008a2cf0.zip
arm64: dts: qcom: sdm845: Add the RPMh stats node
SDM845 is a special case compared to the other platforms that use RPMh stats, since it only has 2 stats (aosd and cxsd), while the others have a 3rd one (ddr). So lets add the node but with a SDM845 dedicated compatible to make the driver aware of the different stats config. Signed-off-by: Abel Vesa <abel.vesa@linaro.org> Tested-by: Caleb Connolly <caleb.connolly@linaro.org> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20220812101240.1869605-3-abel.vesa@linaro.org
-rw-r--r--arch/arm64/boot/dts/qcom/sdm845.dtsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index 65691b9bd85e..347c3abc117b 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -4888,6 +4888,11 @@
};
};
+ sram@c3f0000 {
+ compatible = "qcom,sdm845-rpmh-stats";
+ reg = <0 0x0c3f0000 0 0x400>;
+ };
+
spmi_bus: spmi@c440000 {
compatible = "qcom,spmi-pmic-arb";
reg = <0 0x0c440000 0 0x1100>,