Skip to contentSkip to conversation

dt-bindings: soc: ti: pruss: Add documentation for PA_STATS support

PATCH Superseded MD Danish Anwar 2 participants 2 messages May 29, 2024 – May 31, 2024

Subsystems (2)

v2 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt-bindings: soc: ti: pruss: Add documentation for PA_STATS support

Add documentation for pa-stats node which is syscon regmap for PA_STATS registers. This will be used to dump statistics maintained by ICSSG firmware.

---
Changes from v1 to v2:
*) Added ^ in pa-stats as suggested by Krzysztof Kozlowski
<[email protected]>
*) Moved additionalProperties: false to right after after type:object as
suggested by Krzysztof Kozlowski <[email protected]>
*) Updated description of pa-stats to explain the purpose of PA_STATS
module in context of ICSSG.

v1 https://lore.kernel.org/all/[email protected]/

 .../devicetree/bindings/soc/ti/ti,pruss.yaml  | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml +20 -0
index c402cb2928e8..3cb1471cc6b6 100644
@@ -278,6 +278,26 @@ patternProperties:
 
     additionalProperties: false
 
+  ^pa-stats@[a-f0-9]+$:
+    description: |
+      PA-STATS sub-module represented as a SysCon. PA_STATS is a set of
+      registers where different statistics related to ICSSG, are dumped by
+      ICSSG firmware. This syscon sub-module will help the device to
+      access/read/write those statistics.
+
+    type: object
+
+    additionalProperties: false
+
+    properties:
+      compatible:
+        items:
+          - const: ti,pruss-pa-st
+          - const: syscon
+
+      reg:
+        maxItems: 1
+
   interrupt-controller@[a-f0-9]+$:
     description: |
       PRUSS INTC Node. Each PRUSS has a single interrupt controller instance
Signature · 1 line
2.34.1