From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Subject: Re: [PATCH] sh-sci: add R8A7743/5 support Date: Fri, 30 Sep 2016 18:06:25 +0300 Message-ID: References: <2017044.9fZNuWa2OZ@wasted.cogentembedded.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-renesas-soc-owner@vger.kernel.org To: Geert Uytterhoeven Cc: Greg KH , Jiri Slaby , "linux-serial@vger.kernel.org" , Rob Herring , Mark Rutland , Linux-Renesas List-Id: linux-serial@vger.kernel.org On 09/30/2016 11:38 AM, Geert Uytterhoeven wrote: >> 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 [...] >> =================================================================== >> --- 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, > > Geert MBR, Sergei