soc: qcom: stats: Add SDM845 stats config and compatible
authorAbel Vesa <abel.vesa@linaro.org>
Fri, 12 Aug 2022 10:12:38 +0000 (13:12 +0300)
committerBjorn Andersson <andersson@kernel.org>
Mon, 29 Aug 2022 21:38:52 +0000 (16:38 -0500)
commit0425c5c6ebb2388074ea18460199547f076cbf60
tree4f2717f3fa344c05fa9a80441c0a3e12dab81335
parentf2567b732b0aa2160228a956e0c2007feaeb4b64
soc: qcom: stats: Add SDM845 stats config and compatible

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 dedicated stats config and compatible for SDM845 to make the
driver aware of this num_records difference.

Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220812101240.1869605-2-abel.vesa@linaro.org
drivers/soc/qcom/qcom_stats.c