Re: [PATCH V3 3/4] ARM64 LPC: support serial based on low-pin-count

2016-09-21 Thread Arnd Bergmann
On Wednesday, September 21, 2016 6:12:28 PM CEST zhichang wrote: > On 2016年09月15日 05:33, Arnd Bergmann wrote: > > On Wednesday, September 14, 2016 11:04:33 PM CEST zhichang.yuan wrote: > >> The 8250_hisi_lpc.c support both ACPI and dts similar to 8250_dw : > >> > >> +static struct platform_driver h

Re: [PATCH V3 3/4] ARM64 LPC: support serial based on low-pin-count

2016-09-14 Thread Arnd Bergmann
On Wednesday, September 14, 2016 11:04:33 PM CEST zhichang.yuan wrote: > The 8250_hisi_lpc.c support both ACPI and dts similar to 8250_dw : > > +static struct platform_driver hs_lpc8250_driver = { > + .driver = { > + .name = "hisi-lpc-uart", > + .of_matc

Re: [PATCH V3 3/4] ARM64 LPC: support serial based on low-pin-count

2016-09-14 Thread zhichang.yuan
On 2016/9/14 20:25, Arnd Bergmann wrote: > On Wednesday, September 14, 2016 8:15:53 PM CEST Zhichang Yuan wrote: >> From: "zhichang.yuan" >> >> On Hip06 platform, a 16550 compatible UART is connected to low-pin-count and >> controlled through the LPC I/O cycles. After registering the LPC uart >

Re: [PATCH V3 3/4] ARM64 LPC: support serial based on low-pin-count

2016-09-14 Thread Arnd Bergmann
On Wednesday, September 14, 2016 8:15:53 PM CEST Zhichang Yuan wrote: > From: "zhichang.yuan" > > On Hip06 platform, a 16550 compatible UART is connected to low-pin-count and > controlled through the LPC I/O cycles. After registering the LPC uart specific > serial_in/serial_out to 8250 core drive

[PATCH V3 3/4] ARM64 LPC: support serial based on low-pin-count

2016-09-14 Thread Zhichang Yuan
From: "zhichang.yuan" On Hip06 platform, a 16550 compatible UART is connected to low-pin-count and controlled through the LPC I/O cycles. After registering the LPC uart specific serial_in/serial_out to 8250 core driver, serial data can be read/written through the LPC. Signed-off-by: zhichang.yua