Skip to content

Commit 69e85b2

Browse files
ChiHuaLdkalowsk
authored andcommitted
board: npcx: remove CONFIG_PINCTRL from defconfig of npcx boards
The CONFIG_PINCTRL is removed from the board's defconfig files. Drivers which use pin control function should add "select PINCTRL" in their Kconfig files. Fixes #78619 Signed-off-by: Jun Lin <[email protected]>
1 parent faf075a commit 69e85b2

File tree

16 files changed

+13
-9
lines changed

16 files changed

+13
-9
lines changed

boards/nuvoton/npcx4m8f_evb/npcx4m8f_evb_defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ CONFIG_UART_INTERRUPT_DRIVEN=y
2626
# GPIO Driver
2727
CONFIG_GPIO=y
2828

29-
# Pin Controller Driver
30-
CONFIG_PINCTRL=y
31-
3229
# Console Driver
3330
CONFIG_CONSOLE=y
3431
CONFIG_UART_CONSOLE=y

boards/nuvoton/npcx7m6fb_evb/npcx7m6fb_evb_defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ CONFIG_UART_INTERRUPT_DRIVEN=y
2626
# GPIO Driver
2727
CONFIG_GPIO=y
2828

29-
# Pin Controller Driver
30-
CONFIG_PINCTRL=y
31-
3229
# Console Driver
3330
CONFIG_CONSOLE=y
3431
CONFIG_UART_CONSOLE=y

boards/nuvoton/npcx9m6f_evb/npcx9m6f_evb_defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ CONFIG_UART_INTERRUPT_DRIVEN=y
2626
# GPIO Driver
2727
CONFIG_GPIO=y
2828

29-
# Pin Controller Driver
30-
CONFIG_PINCTRL=y
31-
3229
# Console Driver
3330
CONFIG_CONSOLE=y
3431
CONFIG_UART_CONSOLE=y

drivers/adc/Kconfig.npcx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ config ADC_NPCX
77
bool "Nuvoton NPCX embedded controller (EC) ADC driver"
88
default y
99
depends on DT_HAS_NUVOTON_NPCX_ADC_ENABLED
10+
select PINCTRL
1011
help
1112
This option enables the ADC driver for NPCX family of
1213
processors.

drivers/espi/Kconfig.npcx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ config ESPI_NPCX
88
default y
99
depends on SOC_FAMILY_NPCX
1010
depends on DT_HAS_NUVOTON_NPCX_ESPI_ENABLED
11+
select PINCTRL
1112
help
1213
This option enables the Intel Enhanced Serial Peripheral Interface
1314
(eSPI) for NPCX family of processors.

drivers/flash/Kconfig.npcx_fiu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ config FLASH_NPCX_FIU_QSPI
77
bool "Nuvoton NPCX QSPI Bus Flash driver"
88
default y
99
depends on DT_HAS_NUVOTON_NPCX_FIU_QSPI_ENABLED
10+
select PINCTRL
1011
help
1112
This option enables the QSPI Bus Flash driver for NPCX family of
1213
processors.

drivers/i2c/Kconfig.npcx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ config I2C_NPCX
77
bool "Nuvoton NPCX embedded controller (EC) I2C driver"
88
default y
99
depends on DT_HAS_NUVOTON_NPCX_I2C_PORT_ENABLED
10+
select PINCTRL
1011
help
1112
This option enables the I2C driver for NPCX family of
1213
processors.

drivers/i3c/Kconfig.npcx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ config I3C_NPCX
1010
depends on DT_HAS_NUVOTON_NPCX_I3C_ENABLED
1111
select RESET
1212
select I3C_IBI_WORKQUEUE if I3C_USE_IBI
13+
select PINCTRL
1314
default y
1415
help
1516
This option enables the I3C driver for NPCX family of

drivers/input/Kconfig.npcx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ config INPUT_NPCX_KBD
88
default y
99
depends on DT_HAS_NUVOTON_NPCX_KBD_ENABLED
1010
select INPUT_KBD_MATRIX
11+
select PINCTRL
1112
help
1213
This option enables the keyboard scan driver for NPCX family of
1314
processors.

drivers/peci/Kconfig.npcx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ config PECI_NPCX
88
default y
99
depends on DT_HAS_NUVOTON_NPCX_PECI_ENABLED
1010
select PECI_INTERRUPT_DRIVEN
11+
select PINCTRL
1112
help
1213
Enable the NPCX PECI IO driver.

0 commit comments

Comments
 (0)