linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] serial: sh-sci: Add R-Car Gen5 support
@ 2025-07-03  4:51 Kuninori Morimoto
  2025-07-03  4:51 ` [PATCH 1/2] dt-bindings: serial: sh-sci: Document r8a78000 bindings Kuninori Morimoto
  2025-07-03  4:52 ` [PATCH 2/2] serial: sh-sci: Add R-Car Gen5 support Kuninori Morimoto
  0 siblings, 2 replies; 6+ messages in thread
From: Kuninori Morimoto @ 2025-07-03  4:51 UTC (permalink / raw)
  To: Conor Dooley, Geert Uytterhoeven, Greg Kroah-Hartman, Jiri Slaby,
	Krzysztof Kozlowski, Rob Herring, Thierry Bultel, devicetree,
	linux-renesas-soc, linux-serial
  Cc: Nghia Nguyen


Hi Greg, Geert

These adds Renesas R-Car Gen5 serial initial support

Kuninori Morimoto (2):
  dt-bindings: serial: sh-sci: Document r8a78000 bindings
  serial: sh-sci: Add R-Car Gen5 support

 .../devicetree/bindings/serial/renesas,hscif.yaml          | 7 +++++++
 Documentation/devicetree/bindings/serial/renesas,scif.yaml | 7 +++++++
 drivers/tty/serial/sh-sci.c                                | 3 +++
 3 files changed, 17 insertions(+)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/2] dt-bindings: serial: sh-sci: Document r8a78000 bindings
  2025-07-03  4:51 [PATCH 0/2] serial: sh-sci: Add R-Car Gen5 support Kuninori Morimoto
@ 2025-07-03  4:51 ` Kuninori Morimoto
  2025-07-03  8:24   ` Geert Uytterhoeven
  2025-07-08 17:03   ` Rob Herring (Arm)
  2025-07-03  4:52 ` [PATCH 2/2] serial: sh-sci: Add R-Car Gen5 support Kuninori Morimoto
  1 sibling, 2 replies; 6+ messages in thread
From: Kuninori Morimoto @ 2025-07-03  4:51 UTC (permalink / raw)
  To: Conor Dooley, Geert Uytterhoeven, Greg Kroah-Hartman, Jiri Slaby,
	Krzysztof Kozlowski, Rob Herring, Thierry Bultel, devicetree,
	linux-renesas-soc, linux-serial
  Cc: Nghia Nguyen

From: Nghia Nguyen <nghia.nguyen.jg@renesas.com>

R-Car X5H (R8A78000) SoC has the R-Car Gen5 compatible SCIF and
HSCIF ports, so document the SoC specific bindings.

[Kuninori: tidyup for upstreaming]

Signed-off-by: Nghia Nguyen <nghia.nguyen.jg@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 .../devicetree/bindings/serial/renesas,hscif.yaml          | 7 +++++++
 Documentation/devicetree/bindings/serial/renesas,scif.yaml | 7 +++++++
 2 files changed, 14 insertions(+)

diff --git a/Documentation/devicetree/bindings/serial/renesas,hscif.yaml b/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
index 9480ed30915c..4b3f98a46cd9 100644
--- a/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
+++ b/Documentation/devicetree/bindings/serial/renesas,hscif.yaml
@@ -63,6 +63,12 @@ properties:
           - const: renesas,rcar-gen4-hscif # R-Car Gen4
           - const: renesas,hscif           # generic HSCIF compatible UART
 
+      - items:
+          - enum:
+              - renesas,hscif-r8a78000     # R-Car X5H
+          - const: renesas,rcar-gen5-hscif # R-Car Gen5
+          - const: renesas,hscif           # generic HSCIF compatible UART
+
   reg:
     maxItems: 1
 
@@ -120,6 +126,7 @@ if:
           - renesas,rcar-gen2-hscif
           - renesas,rcar-gen3-hscif
           - renesas,rcar-gen4-hscif
+          - renesas,rcar-gen5-hscif
 then:
   required:
     - resets
diff --git a/Documentation/devicetree/bindings/serial/renesas,scif.yaml b/Documentation/devicetree/bindings/serial/renesas,scif.yaml
index 8e82999e6acb..4560e06c6e68 100644
--- a/Documentation/devicetree/bindings/serial/renesas,scif.yaml
+++ b/Documentation/devicetree/bindings/serial/renesas,scif.yaml
@@ -70,6 +70,12 @@ properties:
           - const: renesas,rcar-gen4-scif # R-Car Gen4
           - const: renesas,scif           # generic SCIF compatible UART
 
+      - items:
+          - enum:
+              - renesas,scif-r8a78000     # R-Car X5H
+          - const: renesas,rcar-gen5-scif # R-Car Gen5
+          - const: renesas,scif           # generic SCIF compatible UART
+
       - items:
           - enum:
               - renesas,scif-r9a07g044      # RZ/G2{L,LC}
@@ -174,6 +180,7 @@ allOf:
               - renesas,rcar-gen2-scif
               - renesas,rcar-gen3-scif
               - renesas,rcar-gen4-scif
+              - renesas,rcar-gen5-scif
               - renesas,scif-r9a07g044
               - renesas,scif-r9a09g057
     then:
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] serial: sh-sci: Add R-Car Gen5 support
  2025-07-03  4:51 [PATCH 0/2] serial: sh-sci: Add R-Car Gen5 support Kuninori Morimoto
  2025-07-03  4:51 ` [PATCH 1/2] dt-bindings: serial: sh-sci: Document r8a78000 bindings Kuninori Morimoto
@ 2025-07-03  4:52 ` Kuninori Morimoto
  2025-07-03  8:31   ` Geert Uytterhoeven
  1 sibling, 1 reply; 6+ messages in thread
From: Kuninori Morimoto @ 2025-07-03  4:52 UTC (permalink / raw)
  To: Conor Dooley, Geert Uytterhoeven, Greg Kroah-Hartman, Jiri Slaby,
	Krzysztof Kozlowski, Rob Herring, Thierry Bultel, devicetree,
	linux-renesas-soc, linux-serial
  Cc: Nghia Nguyen

Add "rcar-gen5-scif" compatible string for R-Car Gen5 support.

Signed-off-by: Nghia Nguyen <nghia.nguyen.jg@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 drivers/tty/serial/sh-sci.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c
index 1c356544a832..06d674a744e2 100644
--- a/drivers/tty/serial/sh-sci.c
+++ b/drivers/tty/serial/sh-sci.c
@@ -3437,6 +3437,9 @@ static const struct of_device_id of_sci_match[] __maybe_unused = {
 	}, {
 		.compatible = "renesas,rcar-gen4-scif",
 		.data = &of_sci_rcar_scif
+	}, {
+		.compatible = "renesas,rcar-gen5-scif",
+		.data = &of_sci_rcar_scif
 	},
 	/* Generic types */
 	{
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] dt-bindings: serial: sh-sci: Document r8a78000 bindings
  2025-07-03  4:51 ` [PATCH 1/2] dt-bindings: serial: sh-sci: Document r8a78000 bindings Kuninori Morimoto
@ 2025-07-03  8:24   ` Geert Uytterhoeven
  2025-07-08 17:03   ` Rob Herring (Arm)
  1 sibling, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2025-07-03  8:24 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Conor Dooley, Greg Kroah-Hartman, Jiri Slaby, Krzysztof Kozlowski,
	Rob Herring, Thierry Bultel, devicetree, linux-renesas-soc,
	linux-serial, Nghia Nguyen

On Thu, 3 Jul 2025 at 06:51, Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
> From: Nghia Nguyen <nghia.nguyen.jg@renesas.com>
>
> R-Car X5H (R8A78000) SoC has the R-Car Gen5 compatible SCIF and
> HSCIF ports, so document the SoC specific bindings.
>
> [Kuninori: tidyup for upstreaming]
>
> Signed-off-by: Nghia Nguyen <nghia.nguyen.jg@renesas.com>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] serial: sh-sci: Add R-Car Gen5 support
  2025-07-03  4:52 ` [PATCH 2/2] serial: sh-sci: Add R-Car Gen5 support Kuninori Morimoto
@ 2025-07-03  8:31   ` Geert Uytterhoeven
  0 siblings, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2025-07-03  8:31 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Conor Dooley, Greg Kroah-Hartman, Jiri Slaby, Krzysztof Kozlowski,
	Rob Herring, Thierry Bultel, devicetree, linux-renesas-soc,
	linux-serial, Nghia Nguyen

On Thu, 3 Jul 2025 at 06:52, Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
> Add "rcar-gen5-scif" compatible string for R-Car Gen5 support.
>
> Signed-off-by: Nghia Nguyen <nghia.nguyen.jg@renesas.com>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] dt-bindings: serial: sh-sci: Document r8a78000 bindings
  2025-07-03  4:51 ` [PATCH 1/2] dt-bindings: serial: sh-sci: Document r8a78000 bindings Kuninori Morimoto
  2025-07-03  8:24   ` Geert Uytterhoeven
@ 2025-07-08 17:03   ` Rob Herring (Arm)
  1 sibling, 0 replies; 6+ messages in thread
From: Rob Herring (Arm) @ 2025-07-08 17:03 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Thierry Bultel, Greg Kroah-Hartman, Geert Uytterhoeven,
	Nghia Nguyen, Conor Dooley, linux-renesas-soc, devicetree,
	Krzysztof Kozlowski, linux-serial, Jiri Slaby


On Thu, 03 Jul 2025 04:51:50 +0000, Kuninori Morimoto wrote:
> From: Nghia Nguyen <nghia.nguyen.jg@renesas.com>
> 
> R-Car X5H (R8A78000) SoC has the R-Car Gen5 compatible SCIF and
> HSCIF ports, so document the SoC specific bindings.
> 
> [Kuninori: tidyup for upstreaming]
> 
> Signed-off-by: Nghia Nguyen <nghia.nguyen.jg@renesas.com>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
>  .../devicetree/bindings/serial/renesas,hscif.yaml          | 7 +++++++
>  Documentation/devicetree/bindings/serial/renesas,scif.yaml | 7 +++++++
>  2 files changed, 14 insertions(+)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-07-08 17:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-03  4:51 [PATCH 0/2] serial: sh-sci: Add R-Car Gen5 support Kuninori Morimoto
2025-07-03  4:51 ` [PATCH 1/2] dt-bindings: serial: sh-sci: Document r8a78000 bindings Kuninori Morimoto
2025-07-03  8:24   ` Geert Uytterhoeven
2025-07-08 17:03   ` Rob Herring (Arm)
2025-07-03  4:52 ` [PATCH 2/2] serial: sh-sci: Add R-Car Gen5 support Kuninori Morimoto
2025-07-03  8:31   ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).