drivers: serial: ns16550: select PINCTRL if necessary

The NS16550 driver may use pinctrl configuration if it's provided
for the nodes.

Signed-off-by: Ilya Tagunov <Ilya.Tagunov@synopsys.com>
This commit is contained in:
Ilya Tagunov 2024-11-27 11:54:04 +00:00 committed by Benjamin Cabé
commit 4a92220de0

View file

@ -6,6 +6,7 @@ menuconfig UART_NS16550
depends on DT_HAS_NS16550_ENABLED
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
select PINCTRL if $(dt_compat_any_has_prop,$(DT_COMPAT_NS16550),pinctrl-0)
help
This option enables the NS16550 serial driver.
This driver can be used for the serial hardware