summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml
diff options
context:
space:
mode:
authorKonrad Dybcio <konrad.dybcio@linaro.org>2023-11-30 17:58:21 +0300
committerBjorn Andersson <andersson@kernel.org>2023-12-03 07:16:30 +0300
commitfa78d0280fdc984d3dc1209b8c7c7a22ec9735de (patch)
treed176708a9522fdb74205ebc97bc7f03da0ee3ba5 /Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml
parent086fdb48bc65d6fde0f0e7d42dbfb3c00ea52628 (diff)
downloadlinux-fa78d0280fdc984d3dc1209b8c7c7a22ec9735de.tar.xz
dt-bindings: soc: qcom: stats: Add QMP handle
The stats can be expanded by poking the Always-On Subsystem through QMP. Allow passing a QMP handle for configurations that support it. Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20231130-topic-ddr_sleep_stats-v1-1-5981c2e764b6@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml')
-rw-r--r--Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml
index 96a7f1822022..686a7ef2f48a 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom-stats.yaml
@@ -31,10 +31,24 @@ properties:
reg:
maxItems: 1
+ qcom,qmp:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description: Reference to the AOSS side-channel message RAM
+
required:
- compatible
- reg
+allOf:
+ - if:
+ not:
+ properties:
+ compatible:
+ const: qcom,rpmh-stats
+ then:
+ properties:
+ qcom,qmp: false
+
additionalProperties: false
examples: