Re: [PATCH v9 2/2] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-28 Thread Lyra Zhang
Hi, Baruch I'm sorry that I didn't receive your previous email. and my explanations are below. On Wed, Jan 28, 2015 at 2:12 PM, Baruch Siach wrote: > Hi Chunyan Zhang, > > On Wed, Jan 28, 2015 at 10:47:41AM +0800, Chunyan Zhang wrote: > [...] >> +static inline void sprd_rx(struct uart_port *port

Re: [PATCH v9 2/2] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-28 Thread Lyra Zhang
On Wed, Jan 28, 2015 at 5:54 PM, Baruch Siach wrote: > Hi Lyra Zhang, > > On Wed, Jan 28, 2015 at 04:46:33PM +0800, Lyra Zhang wrote: >> On Wed, Jan 28, 2015 at 2:12 PM, Baruch Siach wrote: >> > On Wed, Jan 28, 2015 at 10:47:41AM +0800, Chunyan Zhang wrote: >> >> + if (uart_handle_sys

Re: [PATCH v9 2/2] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-28 Thread Baruch Siach
Hi Lyra Zhang, On Wed, Jan 28, 2015 at 04:46:33PM +0800, Lyra Zhang wrote: > On Wed, Jan 28, 2015 at 2:12 PM, Baruch Siach wrote: > > On Wed, Jan 28, 2015 at 10:47:41AM +0800, Chunyan Zhang wrote: > >> + if (uart_handle_sysrq_char(port, ch)) > >> + continue; > > >

Re: [PATCH v9 2/2] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-27 Thread Baruch Siach
Hi Chunyan Zhang, On Wed, Jan 28, 2015 at 10:47:41AM +0800, Chunyan Zhang wrote: [...] > +static inline void sprd_rx(struct uart_port *port) > +{ > + struct tty_port *tty = &port->state->port; > + unsigned int ch, flag, lsr, max_count = SPRD_TIMEOUT; > + > + while ((serial_in(port, SPR

Re: [PATCH v9 2/2] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-27 Thread Peter Hurley
On 01/27/2015 09:47 PM, Chunyan Zhang wrote: > Add a full sc9836-uart driver for SC9836 SoC which is based on the > spreadtrum sharkl64 platform. > This driver also support earlycon. Reviewed-by: Peter Hurley -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

[PATCH v9 2/2] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-27 Thread Chunyan Zhang
Add a full sc9836-uart driver for SC9836 SoC which is based on the spreadtrum sharkl64 platform. This driver also support earlycon. Originally-by: Lanqing Liu Signed-off-by: Orson Zhai Signed-off-by: Chunyan Zhang Acked-by: Arnd Bergmann --- drivers/tty/serial/Kconfig | 18 + drivers/