2024-05-29 11:52:04

by MD Danish Anwar

[permalink] [raw]
Subject: [PATCH v2] 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.

Signed-off-by: MD Danish Anwar <[email protected]>
---
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(+)

diff --git a/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml b/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml
index c402cb2928e8..3cb1471cc6b6 100644
--- a/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml
+++ b/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml
@@ -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
--
2.34.1



2024-05-31 16:23:50

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v2] dt-bindings: soc: ti: pruss: Add documentation for PA_STATS support

On 29/05/2024 13:51, MD Danish Anwar wrote:
> 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.
>
> Signed-off-by: MD Danish Anwar <[email protected]>
> ---
> Changes from v1 to v2:
> *) Added ^ in pa-stats as suggested by Krzysztof Kozlowski

Reviewed-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof