Re: [PATCH v2 02/15] serial: core: add uart_iotype_mmio/legacy_io helper functions
From: Hugo Villeneuve
Date: Thu Apr 30 2026 - 11:30:30 EST
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:
>
> > To help simplify code that check on the io type mode of the port.
>
> ...
>
> > +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()
Hugo.