[PATCH v4 2/9] dt-bindings: soc: renesas: Add RZ/G3E variant SYS binding

From: John Madieu
Date: Thu Jan 23 2025 - 12:08:12 EST


Add RZ/G3E (R9A09G047) variant to the existing RZ/V2H System Controller
(SYS) binding as both IPs are compatible.

They however have different SoC IDs, RZ/G3E has VSP control register
compared to RZ/V2H SYS IP. Hence a new compatible string
renesas,r9a09g047-sys introduced to handle these differences.

Reviewed-by: Rob Herring (Arm) <robh@xxxxxxxxxx>
Signed-off-by: John Madieu <john.madieu.xa@xxxxxxxxxxxxxx>
---
Changes:

- v3 -> v4: No changes
- v2 -> v3: No changes
- v1 -> v2: Do not rely on syscon compatible string anymore

Notes:
v1: Acked-by: Rob Herring (Arm) <robh@xxxxxxxxxx>
v1: Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
v2: Tags dropped due to small changes in compatible property structure.
v3: Accidentaly dropped Rob's Rb tag
v4: Restored Rob's Rb tag

.../bindings/soc/renesas/renesas,r9a09g057-sys.yaml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/soc/renesas/renesas,r9a09g057-sys.yaml b/Documentation/devicetree/bindings/soc/renesas/renesas,r9a09g057-sys.yaml
index ebbf0c9109ce..e0f7503a9f35 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,r9a09g047-sys # RZ/G3E
+ - renesas,r9a09g057-sys # RZ/V2H

reg:
maxItems: 1
--
2.25.1