[PATCH 1/5] dt-bindings: arm: renesas: Add syscon compatibility to RZ/V2H(P) SYS Controller

John Madieu posted 5 patches 1 year ago
There is a newer version of this series
[PATCH 1/5] dt-bindings: arm: renesas: Add syscon compatibility to RZ/V2H(P) SYS Controller
Posted by John Madieu 1 year ago
Update the RZ/V2H system controller binding to include syscon compatibility,
allowing it to be used as a generic system controller.

Signed-off-by: John Madieu <john.madieu.xa@bp.renesas.com>
---
 .../bindings/soc/renesas/renesas,r9a09g057-sys.yaml        | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/soc/renesas/renesas,r9a09g057-sys.yaml b/Documentation/devicetree/bindings/soc/renesas/renesas,r9a09g057-sys.yaml
index ebbf0c9109ce..8e6aa7e44857 100644
--- a/Documentation/devicetree/bindings/soc/renesas/renesas,r9a09g057-sys.yaml
+++ b/Documentation/devicetree/bindings/soc/renesas/renesas,r9a09g057-sys.yaml
@@ -22,7 +22,10 @@ description: |
 
 properties:
   compatible:
-    const: renesas,r9a09g057-sys
+    items:
+      - enum:
+          - renesas,r9a09g057-sys # RZ/V2H
+      - const: syscon
 
   reg:
     maxItems: 1
@@ -44,7 +47,7 @@ additionalProperties: false
 examples:
   - |
     sys: system-controller@10430000 {
-        compatible = "renesas,r9a09g057-sys";
+        compatible = "renesas,r9a09g057-sys", "syscon";
         reg = <0x10430000 0x10000>;
         clocks = <&cpg 1>;
         resets = <&cpg 1>;
-- 
2.25.1