* [PATCH v3 2/4] dt-bindings: timer: renesas: ostm: Document Renesas RZ/G2L OSTM
[not found] <20211112184413.4391-1-biju.das.jz@bp.renesas.com>
@ 2021-11-12 18:44 ` Biju Das
2021-11-29 0:06 ` Rob Herring
0 siblings, 1 reply; 2+ messages in thread
From: Biju Das @ 2021-11-12 18:44 UTC (permalink / raw)
To: Rob Herring, Maxime Coquelin, Alexandre Torgue
Cc: Biju Das, Daniel Lezcano, Thomas Gleixner, Chris Brandt,
Geert Uytterhoeven, devicetree, linux-stm32, linux-arm-kernel,
Chris Paterson, Biju Das, Prabhakar Mahadev Lad,
linux-renesas-soc
Document the General Timer Module(a.k.a OSTM) found on the RZ/G2L SoC.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
V2->v3:
* Added Geert's Rb tag.
v1->v2:
* Use renesas,ostm instead od rzg2l-ostm
---
.../bindings/timer/renesas,ostm.yaml | 20 ++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/timer/renesas,ostm.yaml b/Documentation/devicetree/bindings/timer/renesas,ostm.yaml
index 600d47ab7d58..7fa7f977b44c 100644
--- a/Documentation/devicetree/bindings/timer/renesas,ostm.yaml
+++ b/Documentation/devicetree/bindings/timer/renesas,ostm.yaml
@@ -21,9 +21,10 @@ properties:
compatible:
items:
- enum:
- - renesas,r7s72100-ostm # RZ/A1H
- - renesas,r7s9210-ostm # RZ/A2M
- - const: renesas,ostm # Generic
+ - renesas,r7s72100-ostm # RZ/A1H
+ - renesas,r7s9210-ostm # RZ/A2M
+ - renesas,r9a07g044-ostm # RZ/G2{L,LC}
+ - const: renesas,ostm # Generic
reg:
maxItems: 1
@@ -37,6 +38,9 @@ properties:
power-domains:
maxItems: 1
+ resets:
+ maxItems: 1
+
required:
- compatible
- reg
@@ -44,6 +48,16 @@ required:
- clocks
- power-domains
+if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - renesas,r9a07g044-ostm
+then:
+ required:
+ - resets
+
additionalProperties: false
examples:
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread