Re: [PATCH v2 02/15] serial: core: add uart_iotype_mmio/legacy_io helper functions

From: Andy Shevchenko

Date: Fri May 01 2026 - 07:49:09 EST


On Thu, Apr 30, 2026 at 11:30:11AM -0400, Hugo Villeneuve wrote:
> On Thu, 30 Apr 2026 17:08:25 +0200
> Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> wrote:
> > On Tue, Apr 28, 2026 at 01:53:48PM -0400, Hugo Villeneuve wrote:

...

> > > +bool uart_iotype_legacy_io(enum uart_iotype iotype)
> >
> > Why do we use 'legacy'? Still in use in modern CPUs...
>
> TBH I do not remember exactly where i got this, but what would you
> suggest?
>
> Maybe:
> uart_iotype_io()

Yep!

--
With Best Regards,
Andy Shevchenko