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 <CHLin56@nuvoton.com>
This commit is contained in:
parent
faf075a9d4
commit
69e85b25fe
|
@ -26,9 +26,6 @@ CONFIG_UART_INTERRUPT_DRIVEN=y
|
|||
# GPIO Driver
|
||||
CONFIG_GPIO=y
|
||||
|
||||
# Pin Controller Driver
|
||||
CONFIG_PINCTRL=y
|
||||
|
||||
# Console Driver
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
|
|
|
@ -26,9 +26,6 @@ CONFIG_UART_INTERRUPT_DRIVEN=y
|
|||
# GPIO Driver
|
||||
CONFIG_GPIO=y
|
||||
|
||||
# Pin Controller Driver
|
||||
CONFIG_PINCTRL=y
|
||||
|
||||
# Console Driver
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
|
|
|
@ -26,9 +26,6 @@ CONFIG_UART_INTERRUPT_DRIVEN=y
|
|||
# GPIO Driver
|
||||
CONFIG_GPIO=y
|
||||
|
||||
# Pin Controller Driver
|
||||
CONFIG_PINCTRL=y
|
||||
|
||||
# Console Driver
|
||||
CONFIG_CONSOLE=y
|
||||
CONFIG_UART_CONSOLE=y
|
||||
|
|
|
@ -7,6 +7,7 @@ config ADC_NPCX
|
|||
bool "Nuvoton NPCX embedded controller (EC) ADC driver"
|
||||
default y
|
||||
depends on DT_HAS_NUVOTON_NPCX_ADC_ENABLED
|
||||
select PINCTRL
|
||||
help
|
||||
This option enables the ADC driver for NPCX family of
|
||||
processors.
|
||||
|
|
|
@ -8,6 +8,7 @@ config ESPI_NPCX
|
|||
default y
|
||||
depends on SOC_FAMILY_NPCX
|
||||
depends on DT_HAS_NUVOTON_NPCX_ESPI_ENABLED
|
||||
select PINCTRL
|
||||
help
|
||||
This option enables the Intel Enhanced Serial Peripheral Interface
|
||||
(eSPI) for NPCX family of processors.
|
||||
|
|
|
@ -7,6 +7,7 @@ config FLASH_NPCX_FIU_QSPI
|
|||
bool "Nuvoton NPCX QSPI Bus Flash driver"
|
||||
default y
|
||||
depends on DT_HAS_NUVOTON_NPCX_FIU_QSPI_ENABLED
|
||||
select PINCTRL
|
||||
help
|
||||
This option enables the QSPI Bus Flash driver for NPCX family of
|
||||
processors.
|
||||
|
|
|
@ -7,6 +7,7 @@ config I2C_NPCX
|
|||
bool "Nuvoton NPCX embedded controller (EC) I2C driver"
|
||||
default y
|
||||
depends on DT_HAS_NUVOTON_NPCX_I2C_PORT_ENABLED
|
||||
select PINCTRL
|
||||
help
|
||||
This option enables the I2C driver for NPCX family of
|
||||
processors.
|
||||
|
|
|
@ -10,6 +10,7 @@ config I3C_NPCX
|
|||
depends on DT_HAS_NUVOTON_NPCX_I3C_ENABLED
|
||||
select RESET
|
||||
select I3C_IBI_WORKQUEUE if I3C_USE_IBI
|
||||
select PINCTRL
|
||||
default y
|
||||
help
|
||||
This option enables the I3C driver for NPCX family of
|
||||
|
|
|
@ -8,6 +8,7 @@ config INPUT_NPCX_KBD
|
|||
default y
|
||||
depends on DT_HAS_NUVOTON_NPCX_KBD_ENABLED
|
||||
select INPUT_KBD_MATRIX
|
||||
select PINCTRL
|
||||
help
|
||||
This option enables the keyboard scan driver for NPCX family of
|
||||
processors.
|
||||
|
|
|
@ -8,5 +8,6 @@ config PECI_NPCX
|
|||
default y
|
||||
depends on DT_HAS_NUVOTON_NPCX_PECI_ENABLED
|
||||
select PECI_INTERRUPT_DRIVEN
|
||||
select PINCTRL
|
||||
help
|
||||
Enable the NPCX PECI IO driver.
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
menuconfig PS2_NPCX
|
||||
bool "Nuvoton NPCX embedded controller (EC) PS2 driver"
|
||||
depends on DT_HAS_NUVOTON_NPCX_PS2_CHANNEL_ENABLED
|
||||
select PINCTRL
|
||||
default y
|
||||
help
|
||||
Enable the NPCX family PS2 driver. It provides four PS/2 channels.
|
||||
|
|
|
@ -7,6 +7,7 @@ config PWM_NPCX
|
|||
bool "Nuvoton NPCX embedded controller (EC) PWM driver"
|
||||
default y
|
||||
depends on DT_HAS_NUVOTON_NPCX_PWM_ENABLED
|
||||
select PINCTRL
|
||||
help
|
||||
This option enables the PWM driver for NPCX family of
|
||||
processors.
|
||||
|
|
|
@ -8,5 +8,6 @@ config TACH_NPCX
|
|||
default y
|
||||
depends on DT_HAS_NUVOTON_NPCX_TACH_ENABLED
|
||||
depends on SOC_FAMILY_NPCX
|
||||
select PINCTRL
|
||||
help
|
||||
Enable the "Nuvoton NPCX tachometer sensor.
|
||||
|
|
|
@ -11,6 +11,7 @@ config UART_NPCX
|
|||
depends on DT_HAS_NUVOTON_NPCX_UART_ENABLED
|
||||
select SERIAL_HAS_DRIVER
|
||||
select SERIAL_SUPPORT_INTERRUPT
|
||||
select PINCTRL
|
||||
help
|
||||
This option enables the UART driver for NPCX family of
|
||||
processors.
|
||||
|
|
|
@ -7,6 +7,7 @@ menuconfig SPI_NPCX_SPIP
|
|||
bool "Nuvoton NPCX embedded controller (EC) SPI driver"
|
||||
default y
|
||||
depends on DT_HAS_NUVOTON_NPCX_SPIP_ENABLED
|
||||
select PINCTRL
|
||||
help
|
||||
Enable the SPI peripherals on NPCX MCU.
|
||||
|
||||
|
|
|
@ -55,6 +55,7 @@ config EC_HOST_CMD_BACKEND_SHI_NPCX
|
|||
bool "SHI by Nuvoton"
|
||||
depends on DT_HAS_NUVOTON_NPCX_SHI_ENABLED || \
|
||||
DT_HAS_NUVOTON_NPCX_SHI_ENHANCED_ENABLED
|
||||
select PINCTRL
|
||||
help
|
||||
This option enables the driver for SHI backend in the
|
||||
Nuvoton NPCX chip.
|
||||
|
|
Loading…
Reference in New Issue