Re: [PATCH] sh-sci: add R8A7743/5 support
From: Sergei Shtylyov <hidden>
Date: 2016-09-30 15:06:33
Also in:
linux-renesas-soc
On 09/30/2016 11:38 AM, Geert Uytterhoeven wrote:
quoted
Renesas RZ/G SoC also have the SCIF, SCIFA, SCIFB, and HSCIF ports. Document RZ/G1[ME] (also known as R8A774[35]) SoC bindings along with the RZ/G family bindings. The driver itself also needs to recognize the latter binding for the SCIF ports, so teach it... Signed-off-by: Sergei Shtylyov <redacted>
[...]
quoted
===================================================================--- tty.orig/drivers/tty/serial/sh-sci.c +++ tty/drivers/tty/serial/sh-sci.c@@ -2950,6 +2950,9 @@ static const struct of_device_id of_sci_ }, { .compatible = "renesas,rcar-gen3-scif", .data = SCI_OF_DATA(PORT_SCIF, SCIx_SH4_SCIF_BRG_REGTYPE), + }, { + .compatible = "renesas,rzg-scif", + .data = SCI_OF_DATA(PORT_SCIF, SCIx_SH4_SCIF_BRG_REGTYPE), }, /* Generic types */ {However, I wouldn't bother adding RZ/G family-specific DT bindings, as RZ/G is a derivative of R-Car Gen2.
Then we shouldn't have added gen2/3 bindings too since they resolve to the
same register mapping as gen1. :-)
Gr{oetje,eeting}s,
GeertMBR, Sergei