Skip to content

Commit 9d0da02

Browse files
glneoaescolar
authored andcommitted
soc: ti: k3: Select PINCTRL in UART driver not Kconfig.defconfig
The default configuration for PINCTRL should not be set with the other default configurations in .defconfig, instead select a default value as part of defining the UART driver. Signed-off-by: Andrew Davis <[email protected]>
1 parent ee67369 commit 9d0da02

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

boards/ti/sk_am62/sk_am62_am6234_m4_defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ CONFIG_CORTEX_M_SYSTICK=y
1111
# Zephyr Kernel Configuration
1212
CONFIG_XIP=n
1313

14-
# Enable Pinctrl
15-
CONFIG_PINCTRL=y
16-
1714
# Serial Driver
1815
CONFIG_SERIAL=y
1916

drivers/serial/Kconfig.ns16550

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ config UART_NS16550_ACCESS_WORD_ONLY
6969

7070
config UART_NS16550_TI_K3
7171
bool "Add support for NS16550 variant specific to TI K3 SoCs"
72+
select PINCTRL
7273
help
7374
Enabling this configuration allows the users to use the UART port in
7475
Texas Instruments K3 SoCs by enabling a vendor specific extended register

soc/ti/k3/am6x/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
2727
default 200000000 if SOC_SERIES_AM6X_A53
2828
default 19200000 if SOC_SERIES_AM6X_R5
2929

30-
config PINCTRL
31-
default y
32-
3330
if SERIAL
3431

3532
config UART_NS16550

0 commit comments

Comments
 (0)