Re: [PATCH 5/6] tty: serial: Add linflexuart driver for S32V234

2019-08-09 Thread Stefan-gabriel Mirea
On 8/9/2019 12:53 PM, Will Deacon wrote: > On Fri, Aug 09, 2019 at 09:45:40AM +, Stefan-gabriel Mirea wrote: >> On 8/8/2019 8:17 PM, Will Deacon wrote: >>> On Thu, Aug 08, 2019 at 12:47:00PM +, Stefan-gabriel Mirea wrote: On 8/8/2019 11:08 AM, Will Deacon wrote: > On Fri, Aug 02, 2

Re: [PATCH 5/6] tty: serial: Add linflexuart driver for S32V234

2019-08-09 Thread Will Deacon
On Fri, Aug 09, 2019 at 09:45:40AM +, Stefan-gabriel Mirea wrote: > On 8/8/2019 8:17 PM, Will Deacon wrote: > > On Thu, Aug 08, 2019 at 12:47:00PM +, Stefan-gabriel Mirea wrote: > >> On 8/8/2019 11:08 AM, Will Deacon wrote: > >>> On Fri, Aug 02, 2019 at 07:47:23PM +, Stefan-gabriel Mire

Re: [PATCH 5/6] tty: serial: Add linflexuart driver for S32V234

2019-08-09 Thread Stefan-gabriel Mirea
On 8/8/2019 8:17 PM, Will Deacon wrote: > On Thu, Aug 08, 2019 at 12:47:00PM +, Stefan-gabriel Mirea wrote: >> On 8/8/2019 11:08 AM, Will Deacon wrote: >>> On Fri, Aug 02, 2019 at 07:47:23PM +, Stefan-gabriel Mirea wrote: + linflex, + Use early cons

Re: [PATCH 5/6] tty: serial: Add linflexuart driver for S32V234

2019-08-08 Thread Will Deacon
Hi, On Thu, Aug 08, 2019 at 12:47:00PM +, Stefan-gabriel Mirea wrote: > On 8/8/2019 11:08 AM, Will Deacon wrote: > > On Fri, Aug 02, 2019 at 07:47:23PM +, Stefan-gabriel Mirea wrote: > >> + linflex, > >> + Use early console provided by Freescale LinFlex UART

Re: [PATCH 5/6] tty: serial: Add linflexuart driver for S32V234

2019-08-08 Thread Stefan-gabriel Mirea
Hello Will, On 8/8/2019 11:08 AM, Will Deacon wrote: > On Fri, Aug 02, 2019 at 07:47:23PM +, Stefan-gabriel Mirea wrote: >> + linflex, >> + Use early console provided by Freescale LinFlex UART >> + serial driver for NXP S32V234 SoCs. A valid

Re: [PATCH 5/6] tty: serial: Add linflexuart driver for S32V234

2019-08-08 Thread Will Deacon
On Fri, Aug 02, 2019 at 07:47:23PM +, Stefan-gabriel Mirea wrote: > Introduce support for LINFlex driver, based on: > - the version of Freescale LPUART driver after commit b3e3bf2ef2c7 ("Merge > 4.0-rc7 into tty-next"); > - commit abf1e0a98083 ("tty: serial: fsl_lpuart: lock port on console >

Re: [PATCH 5/6] tty: serial: Add linflexuart driver for S32V234

2019-08-07 Thread Stefan-gabriel Mirea
On 8/7/2019 7:56 PM, gre...@linuxfoundation.org wrote: > On Wed, Aug 07, 2019 at 04:42:17PM +, Stefan-gabriel Mirea wrote: >> On 8/6/2019 9:40 PM, gre...@linuxfoundation.org wrote: >>> On Tue, Aug 06, 2019 at 05:11:17PM +, Stefan-gabriel Mirea wrote: Other than that, I do not see an

Re: [PATCH 5/6] tty: serial: Add linflexuart driver for S32V234

2019-08-07 Thread gre...@linuxfoundation.org
On Wed, Aug 07, 2019 at 04:42:17PM +, Stefan-gabriel Mirea wrote: > On 8/6/2019 9:40 PM, gre...@linuxfoundation.org wrote: > > On Tue, Aug 06, 2019 at 05:11:17PM +, Stefan-gabriel Mirea wrote: > >> On 8/5/2019 6:31 PM, gre...@linuxfoundation.org wrote: > >>> On Fri, Aug 02, 2019 at 07:47:23

Re: [PATCH 5/6] tty: serial: Add linflexuart driver for S32V234

2019-08-07 Thread Stefan-gabriel Mirea
On 8/6/2019 9:40 PM, gre...@linuxfoundation.org wrote: > On Tue, Aug 06, 2019 at 05:11:17PM +, Stefan-gabriel Mirea wrote: >> On 8/5/2019 6:31 PM, gre...@linuxfoundation.org wrote: >>> On Fri, Aug 02, 2019 at 07:47:23PM +, Stefan-gabriel Mirea wrote: +/* Freescale Linflex UART */

Re: [PATCH 5/6] tty: serial: Add linflexuart driver for S32V234

2019-08-06 Thread gre...@linuxfoundation.org
On Tue, Aug 06, 2019 at 05:11:17PM +, Stefan-gabriel Mirea wrote: > On 8/5/2019 6:31 PM, gre...@linuxfoundation.org wrote: > > On Fri, Aug 02, 2019 at 07:47:23PM +, Stefan-gabriel Mirea wrote: > >> > >> +/* Freescale Linflex UART */ > >> +#define PORT_LINFLEXUART 121 > > > > Do you rea

Re: [PATCH 5/6] tty: serial: Add linflexuart driver for S32V234

2019-08-06 Thread Stefan-gabriel Mirea
On 8/5/2019 6:31 PM, gre...@linuxfoundation.org wrote: > On Fri, Aug 02, 2019 at 07:47:23PM +, Stefan-gabriel Mirea wrote: >> >> +/* Freescale Linflex UART */ >> +#define PORT_LINFLEXUART 121 > > Do you really need this modified? Hello Greg, This macro is meant to be assigned to port->ty

Re: [PATCH 5/6] tty: serial: Add linflexuart driver for S32V234

2019-08-05 Thread gre...@linuxfoundation.org
On Fri, Aug 02, 2019 at 07:47:23PM +, Stefan-gabriel Mirea wrote: > --- a/include/uapi/linux/serial_core.h > +++ b/include/uapi/linux/serial_core.h > @@ -293,4 +293,7 @@ > /* SiFive UART */ > #define PORT_SIFIVE_V0 120 > > +/* Freescale Linflex UART */ > +#define PORT_LINFLEXUART

[PATCH 5/6] tty: serial: Add linflexuart driver for S32V234

2019-08-02 Thread Stefan-gabriel Mirea
Introduce support for LINFlex driver, based on: - the version of Freescale LPUART driver after commit b3e3bf2ef2c7 ("Merge 4.0-rc7 into tty-next"); - commit abf1e0a98083 ("tty: serial: fsl_lpuart: lock port on console write"). In this basic version, the driver can be tested using initramfs and