* [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