Re: [PATCH v2 0/2] Add UART driver for Suplus SP7021 SoC

From: Andy Shevchenko
Date: Wed Nov 10 2021 - 11:42:14 EST


On Wed, Nov 10, 2021 at 9:51 AM Hammer Hsieh <hammerh0314@xxxxxxxxx> wrote:
>
> This is a patch series for UART driver for Suplus SP7021 SoC.
>
> Sunplus SP7021 is an ARM Cortex A7 (4 cores) based SoC. It integrates
> many peripherals (ex: UART. I2C, SPI, SDIO, eMMC, USB, SD card and
> etc.) into a single chip. It is designed for industrial control.
>
> Refer to:
> https://sunplus-tibbo.atlassian.net/wiki/spaces/doc/overview
> https://tibbo.com/store/plus1.html

...

> drivers/tty/serial/sunplus-uart.c | 1591 ++++++++++++++++++++
> include/soc/sunplus/sp_uart.h | 147 ++

Sorry, but I do not believe this driver requires so many LOCs. Please,
try to get it under 1000, I am pretty sure it's possible and
achievable.

--
With Best Regards,
Andy Shevchenko