Re: [PATCH 5/7] serial: 8250_fintek: Add F81216 Support

2016-09-05 Thread Ji-Ze Hong (Peter Hong)
Hi Ricardo, Ricardo Ribalda Delgado 於 2016/9/1 下午 07:22 寫道: memcpy(pdata, &probe_data, sizeof(probe_data)); - uart->port.rs485_config = fintek_8250_rs485_config; Maybe just: if (pdata->id != CHIP_ID_F81216) uart->port.rs485_config = fintek_8250_rs485_config; Instead of th

Re: [PATCH 5/7] serial: 8250_fintek: Add F81216 Support

2016-09-01 Thread Ricardo Ribalda Delgado
Hi Peter On Thu, Sep 1, 2016 at 5:39 AM, Ji-Ze Hong (Peter Hong) wrote: > int fintek_8250_probe(struct uart_8250_port *uart) > { > struct fintek_8250 *pdata; > @@ -248,8 +270,8 @@ int fintek_8250_probe(struct uart_8250_port *uart) > return -ENOMEM; > > memcpy(pd

[PATCH 5/7] serial: 8250_fintek: Add F81216 Support

2016-08-31 Thread Ji-Ze Hong (Peter Hong)
Fintek F81216 is a LPC to 4 UARTs device. It's the F81216 series but support less functional than F81216AD/F81216H The following list is brief descriptions of F81216 series: F81216H (0105) 9Bit/High baud rate(not implements with mainline) RS485, 128Bytes FIFO (implemented) F81216