serial: core: add uart_iotype_mmio/io helper functions

To help simplify code that check on the io type mode of the port.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://patch.msgid.link/20260521-tty-upio-v3-2-bf74567994a0@dimonoff.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Hugo Villeneuve 2026-05-21 14:16:48 -04:00 • committed by Greg Kroah-Hartman
commit 6e85378a38
2 changed files with 32 additions and 0 deletions