Re: [PATCH v4 3/5] serial: sc16is7xx: split into core and I2C/SPI parts (core)

From: Geert Uytterhoeven
Date: Tue Apr 23 2024 - 06:03:42 EST


On Tue, Apr 23, 2024 at 12:01 PM Geert Uytterhoeven
<geert@xxxxxxxxxxxxxx> wrote:
> On Tue, Apr 9, 2024 at 5:48 PM Hugo Villeneuve <hugo@xxxxxxxxxxx> wrote:
> > From: Hugo Villeneuve <hvilleneuve@xxxxxxxxxxxx>
> >
> > Split the common code from sc16is7xx driver and move the I2C and SPI bus
> > parts into interface-specific source files.
> >
> > sc16is7xx becomes the core functions which can support multiple bus
> > interfaces like I2C and SPI.
> >
> > No functional changes intended.
> >
> > Also simplify and improve Kconfig entries.
> > - Capitalize SPI keyword for consistency
> > - Display list of supported ICs each on a separate line (and aligned) to
> > facilitate locating a specific IC model
> > - Add Manufacturer name at start of description string
> > - Add UART keyword to description string
> >
> > Suggested-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> > Signed-off-by: Hugo Villeneuve <hvilleneuve@xxxxxxxxxxxx>
>
> Thanks for your patch, which is now commit d49216438139bca0
> ("serial: sc16is7xx: split into core and I2C/SPI parts (core)")
> in tty-next (next-20240415 and later).
>
> > --- a/drivers/tty/serial/Kconfig
> > +++ b/drivers/tty/serial/Kconfig
> > @@ -1021,41 +1021,30 @@ config SERIAL_SCCNXP_CONSOLE
> > Support for console on SCCNXP serial ports.
> >
> > config SERIAL_SC16IS7XX_CORE
> > - tristate
> > -
> > -config SERIAL_SC16IS7XX
> > - tristate "SC16IS7xx serial support"
> > + tristate "NXP SC16IS7xx UART support"
>
> Hence this replaces SERIAL_SC16IS7XX_CORE by SERIAL_SC16IS7XX,
> so arch/mips/configs/cu1??0-neo_defconfig needs to updated.

Or just rename SERIAL_SC16IS7XX_CORE back to SERIAL_SC16IS7XX.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68korg

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds