Skip to content

Commit 4a92220

Browse files
tagunilkartben
authored andcommitted
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 <[email protected]>
1 parent 45be45d commit 4a92220

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/serial/Kconfig.ns16550

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ menuconfig UART_NS16550
66
depends on DT_HAS_NS16550_ENABLED
77
select SERIAL_HAS_DRIVER
88
select SERIAL_SUPPORT_INTERRUPT
9+
select PINCTRL if $(dt_compat_any_has_prop,$(DT_COMPAT_NS16550),pinctrl-0)
910
help
1011
This option enables the NS16550 serial driver.
1112
This driver can be used for the serial hardware

0 commit comments

Comments
 (0)