Skip to content

Commit

Permalink
arm64: dts: qcom: sdm845: Add the RPMh stats node
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Abel Vesa authored and Bjorn Andersson committed Aug 29, 2022
1 parent b0f8e8a commit 528dc60
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/arm64/boot/dts/qcom/sdm845.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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>,
Expand Down

0 comments on commit 528dc60

Please sign in to comment.