Skip to content

Commit 355d032

Browse files
cyliangtwnashif
authored andcommitted
boards: nuvoton: numaker: Drop PINCTRL from board defconfig
To remove CONFIG_PINCTRL from board side for numaker boards. The Drivers using Pinctrl should be turning Pinctrl on instead of the responsibility of the board. Fixes #78619 Signed-off-by: cyliang tw <[email protected]>
1 parent 9c24214 commit 355d032

File tree

17 files changed

+15
-4
lines changed

17 files changed

+15
-4
lines changed

boards/nuvoton/numaker_m2l31ki/numaker_m2l31ki_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# SPDX-License-Identifier: Apache-2.0
22

3-
CONFIG_PINCTRL=y
43
CONFIG_GPIO=y
54

65
# Enable system clock controller driver

boards/nuvoton/numaker_pfm_m467/numaker_pfm_m467_defconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# SPDX-License-Identifier: Apache-2.0
22

3-
CONFIG_PINCTRL=y
43
CONFIG_GPIO=y
54

65
# Enable system clock controller driver

boards/nuvoton/numaker_pfm_m487/numaker_pfm_m487_defconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
CONFIG_ARM_MPU=y
55
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=192000000
66

7-
# Enable GPIO and pinctrl drivers
7+
# Enable GPIO driver
88
CONFIG_GPIO=y
9-
CONFIG_PINCTRL=y
109

1110
# Enable UART driver
1211
CONFIG_SERIAL=y

drivers/adc/Kconfig.numaker

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ config ADC_NUMAKER
77
bool "Nuvoton NuMaker MCU ADC driver"
88
default y
99
select HAS_NUMAKER_ADC
10+
select PINCTRL
1011
depends on DT_HAS_NUVOTON_NUMAKER_ADC_ENABLED
1112
help
1213
This option enables the ADC driver for Nuvoton NuMaker family of

drivers/ethernet/Kconfig.numaker

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ config ETH_NUMAKER
77
bool "Nuvoton NUMAKER MCU Ethernet driver"
88
default y
99
select HAS_NUMAKER_ETH
10+
select PINCTRL
1011
depends on DT_HAS_NUVOTON_NUMAKER_ETHERNET_ENABLED
1112
help
1213
This option enables the Ethernet driver for Nuvoton NuMaker family of

drivers/gpio/Kconfig.numaker

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ config GPIO_NUMAKER
77
bool "Nuvoton NUMAKER MCU gpio driver"
88
default y
99
select HAS_NUMAKER_GPIO
10+
select PINCTRL
1011
depends on DT_HAS_NUVOTON_NUMAKER_GPIO_ENABLED
1112
help
1213
This option enables the GPIO driver for Nuvoton NUMAKER family of

drivers/gpio/Kconfig.numicro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
config GPIO_NUMICRO
77
bool "Nuvoton NuMicro GPIO driver"
88
default y
9+
select PINCTRL
910
depends on DT_HAS_NUVOTON_NUMICRO_GPIO_ENABLED
1011
help
1112
Enable the GPIO driver for the NuMicro family of processors.

drivers/i2c/Kconfig.numaker

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ config I2C_NUMAKER
77
bool "Nuvoton NuMaker I2C driver"
88
default y
99
select HAS_NUMAKER_I2C
10+
select PINCTRL
1011
depends on DT_HAS_NUVOTON_NUMAKER_I2C_ENABLED
1112
help
1213
This option enables I2C driver for Nuvoton NuMaker family of

drivers/pwm/Kconfig.numaker

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ config PWM_NUMAKER
77
bool "Nuvoton NuMaker MCU PWM driver"
88
default y
99
select HAS_NUMAKER_PWM
10+
select PINCTRL
1011
depends on DT_HAS_NUVOTON_NUMAKER_PWM_ENABLED
1112
help
1213
This option enables the PWM driver for Nuvoton NuMaker family of

drivers/serial/Kconfig.numaker

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ config UART_NUMAKER
99
select SERIAL_HAS_DRIVER
1010
select HAS_NUMAKER_UART
1111
select SERIAL_SUPPORT_INTERRUPT
12+
select PINCTRL
1213
depends on DT_HAS_NUVOTON_NUMAKER_UART_ENABLED
1314
help
1415
This option enables the UART driver for Nuvoton Numaker family of

0 commit comments

Comments
 (0)