Add the UART driver for MediaTek MT8188, giving the Genio boards a console. Register access is split into a shared core and a small per-SoC instantiation layer, so other MediaTek SoCs can reuse the core. The driver is instantiated for every enabled node rather than a fixed instance, and takes its gate clock from the infra-ao controller. Co-authored-by: Felix Freimann <felix.freimann@mediatek.com> Signed-off-by: Aary Patil <aary.patil@mediatek.com>
12 lines
316 B
Text
12 lines
316 B
Text
# Copyright (c) 2026 MediaTek Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config UART_MT8188
|
|
bool "MediaTek MT8188 UART driver"
|
|
default y
|
|
depends on DT_HAS_MEDIATEK_MT8188_UART_ENABLED
|
|
select PINCTRL
|
|
select SERIAL_HAS_DRIVER
|
|
select SERIAL_SUPPORT_INTERRUPT
|
|
help
|
|
Enable the UART driver for MediaTek MT8188.
|