All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] tty: serial: sh-sci: Add support for R-Car S4
@ 2021-12-09  7:08 Yoshihiro Shimoda
  2021-12-09  7:08 ` [PATCH v3 1/2] dt-bindings: serial: renesas,scif: Document r8a779f0 bindings Yoshihiro Shimoda
  2021-12-09  7:08 ` [PATCH v3 2/2] tty: serial: sh-sci: Add support for R-Car Gen4 Yoshihiro Shimoda
  0 siblings, 2 replies; 4+ messages in thread
From: Yoshihiro Shimoda @ 2021-12-09  7:08 UTC (permalink / raw)
  To: gregkh, robh+dt
  Cc: geert+renesas, linux-serial, devicetree, linux-renesas-soc,
	Yoshihiro Shimoda

This patch series is based on the latest tty/tty-next branch.

Changes from v2:
 - Rebase this patch series on the latest tty/tty-next.
 - Submitted sh-sci related patches only.
 - Add Reviewed-by in the dt-bindings patch.

Yoshihiro Shimoda (2):
  dt-bindings: serial: renesas,scif: Document r8a779f0 bindings
  tty: serial: sh-sci: Add support for R-Car Gen4

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

-- 
2.25.1


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

* [PATCH v3 1/2] dt-bindings: serial: renesas,scif: Document r8a779f0 bindings
  2021-12-09  7:08 [PATCH v3 0/2] tty: serial: sh-sci: Add support for R-Car S4 Yoshihiro Shimoda
@ 2021-12-09  7:08 ` Yoshihiro Shimoda
  2021-12-14 19:26   ` Rob Herring
  2021-12-09  7:08 ` [PATCH v3 2/2] tty: serial: sh-sci: Add support for R-Car Gen4 Yoshihiro Shimoda
  1 sibling, 1 reply; 4+ messages in thread
From: Yoshihiro Shimoda @ 2021-12-09  7:08 UTC (permalink / raw)
  To: gregkh, robh+dt
  Cc: geert+renesas, linux-serial, devicetree, linux-renesas-soc,
	Yoshihiro Shimoda

R-Car S4-8 (R8A779F0) SoC has the R-Car Gen4 compatible SCIF ports,
so document the SoC specific bindings.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 Documentation/devicetree/bindings/serial/renesas,scif.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/serial/renesas,scif.yaml b/Documentation/devicetree/bindings/serial/renesas,scif.yaml
index 21fbfa880e29..df2172b7d509 100644
--- a/Documentation/devicetree/bindings/serial/renesas,scif.yaml
+++ b/Documentation/devicetree/bindings/serial/renesas,scif.yaml
@@ -64,6 +64,12 @@ properties:
           - const: renesas,rcar-gen3-scif # R-Car Gen3 and RZ/G2
           - const: renesas,scif           # generic SCIF compatible UART
 
+      - items:
+          - enum:
+              - renesas,scif-r8a779f0     # R-Car S4-8
+          - const: renesas,rcar-gen4-scif # R-Car Gen4
+          - const: renesas,scif           # generic SCIF compatible UART
+
       - items:
           - enum:
               - renesas,scif-r9a07g044      # RZ/G2{L,LC}
@@ -153,6 +159,7 @@ if:
         enum:
           - renesas,rcar-gen2-scif
           - renesas,rcar-gen3-scif
+          - renesas,rcar-gen4-scif
           - renesas,scif-r9a07g044
 then:
   required:
-- 
2.25.1


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

* [PATCH v3 2/2] tty: serial: sh-sci: Add support for R-Car Gen4
  2021-12-09  7:08 [PATCH v3 0/2] tty: serial: sh-sci: Add support for R-Car S4 Yoshihiro Shimoda
  2021-12-09  7:08 ` [PATCH v3 1/2] dt-bindings: serial: renesas,scif: Document r8a779f0 bindings Yoshihiro Shimoda
@ 2021-12-09  7:08 ` Yoshihiro Shimoda
  1 sibling, 0 replies; 4+ messages in thread
From: Yoshihiro Shimoda @ 2021-12-09  7:08 UTC (permalink / raw)
  To: gregkh, robh+dt
  Cc: geert+renesas, linux-serial, devicetree, linux-renesas-soc,
	Yoshihiro Shimoda

Add serial support for R-Car Gen4 SoC.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 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 88005d2fc2a0..86731b816e3f 100644
--- a/drivers/tty/serial/sh-sci.c
+++ b/drivers/tty/serial/sh-sci.c
@@ -3181,6 +3181,9 @@ static const struct of_device_id of_sci_match[] = {
 	}, {
 		.compatible = "renesas,rcar-gen3-scif",
 		.data = SCI_OF_DATA(PORT_SCIF, SCIx_SH4_SCIF_BRG_REGTYPE),
+	}, {
+		.compatible = "renesas,rcar-gen4-scif",
+		.data = SCI_OF_DATA(PORT_SCIF, SCIx_SH4_SCIF_BRG_REGTYPE),
 	},
 	/* Generic types */
 	{
-- 
2.25.1


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

* Re: [PATCH v3 1/2] dt-bindings: serial: renesas,scif: Document r8a779f0 bindings
  2021-12-09  7:08 ` [PATCH v3 1/2] dt-bindings: serial: renesas,scif: Document r8a779f0 bindings Yoshihiro Shimoda
@ 2021-12-14 19:26   ` Rob Herring
  0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2021-12-14 19:26 UTC (permalink / raw)
  To: Yoshihiro Shimoda
  Cc: linux-renesas-soc, robh+dt, geert+renesas, gregkh, linux-serial,
	devicetree

On Thu, 09 Dec 2021 16:08:16 +0900, Yoshihiro Shimoda wrote:
> R-Car S4-8 (R8A779F0) SoC has the R-Car Gen4 compatible SCIF ports,
> so document the SoC specific bindings.
> 
> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>  Documentation/devicetree/bindings/serial/renesas,scif.yaml | 7 +++++++
>  1 file changed, 7 insertions(+)
> 

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

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

end of thread, other threads:[~2021-12-14 19:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-09  7:08 [PATCH v3 0/2] tty: serial: sh-sci: Add support for R-Car S4 Yoshihiro Shimoda
2021-12-09  7:08 ` [PATCH v3 1/2] dt-bindings: serial: renesas,scif: Document r8a779f0 bindings Yoshihiro Shimoda
2021-12-14 19:26   ` Rob Herring
2021-12-09  7:08 ` [PATCH v3 2/2] tty: serial: sh-sci: Add support for R-Car Gen4 Yoshihiro Shimoda

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.