diff mbox series

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

Message ID 20250123170508.13578-3-john.madieu.xa@bp.renesas.com (mailing list archive)
State Superseded
Commit f88fd3ffca71af74604cff803060c565ad6fa1ca
Delegated to: Geert Uytterhoeven
Headers show
Series soc: renesas: Add RZ/G3E SoC detection support | expand

Commit Message

John Madieu Jan. 23, 2025, 5:05 p.m. UTC
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@kernel.org>
Signed-off-by: John Madieu <john.madieu.xa@bp.renesas.com>
---
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@kernel.org>
    v1: Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
    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(-)

Comments

Geert Uytterhoeven Jan. 24, 2025, 2:18 p.m. UTC | #1
On Thu, Jan 23, 2025 at 6:05 PM John Madieu
<john.madieu.xa@bp.renesas.com> wrote:
> 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@kernel.org>
> Signed-off-by: John Madieu <john.madieu.xa@bp.renesas.com>
> ---
> Changes:
>
>  - v3 -> v4: No changes
>  - v2 -> v3: No changes
>  - v1 -> v2: Do not rely on syscon compatible string anymore

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v6.15.

Gr{oetje,eeting}s,

                        Geert


--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
diff mbox series

Patch

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