Browse Source

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>
pull/80937/head
Jun Lin 8 months ago committed by Dan Kalowsky
parent
commit
69e85b25fe
  1. 3
      boards/nuvoton/npcx4m8f_evb/npcx4m8f_evb_defconfig
  2. 3
      boards/nuvoton/npcx7m6fb_evb/npcx7m6fb_evb_defconfig
  3. 3
      boards/nuvoton/npcx9m6f_evb/npcx9m6f_evb_defconfig
  4. 1
      drivers/adc/Kconfig.npcx
  5. 1
      drivers/espi/Kconfig.npcx
  6. 1
      drivers/flash/Kconfig.npcx_fiu
  7. 1
      drivers/i2c/Kconfig.npcx
  8. 1
      drivers/i3c/Kconfig.npcx
  9. 1
      drivers/input/Kconfig.npcx
  10. 1
      drivers/peci/Kconfig.npcx
  11. 1
      drivers/ps2/Kconfig.npcx
  12. 1
      drivers/pwm/Kconfig.npcx
  13. 1
      drivers/sensor/nuvoton/nuvoton_tach_npcx/Kconfig
  14. 1
      drivers/serial/Kconfig.npcx
  15. 1
      drivers/spi/Kconfig.npcx
  16. 1
      subsys/mgmt/ec_host_cmd/backends/Kconfig

3
boards/nuvoton/npcx4m8f_evb/npcx4m8f_evb_defconfig

@ -26,9 +26,6 @@ CONFIG_UART_INTERRUPT_DRIVEN=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

3
boards/nuvoton/npcx7m6fb_evb/npcx7m6fb_evb_defconfig

@ -26,9 +26,6 @@ CONFIG_UART_INTERRUPT_DRIVEN=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

3
boards/nuvoton/npcx9m6f_evb/npcx9m6f_evb_defconfig

@ -26,9 +26,6 @@ CONFIG_UART_INTERRUPT_DRIVEN=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

1
drivers/adc/Kconfig.npcx

@ -7,6 +7,7 @@ config ADC_NPCX @@ -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.

1
drivers/espi/Kconfig.npcx

@ -8,6 +8,7 @@ config ESPI_NPCX @@ -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.

1
drivers/flash/Kconfig.npcx_fiu

@ -7,6 +7,7 @@ config FLASH_NPCX_FIU_QSPI @@ -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.

1
drivers/i2c/Kconfig.npcx

@ -7,6 +7,7 @@ config I2C_NPCX @@ -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.

1
drivers/i3c/Kconfig.npcx

@ -10,6 +10,7 @@ config I3C_NPCX @@ -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

1
drivers/input/Kconfig.npcx

@ -8,6 +8,7 @@ config INPUT_NPCX_KBD @@ -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.

1
drivers/peci/Kconfig.npcx

@ -8,5 +8,6 @@ config PECI_NPCX @@ -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.

1
drivers/ps2/Kconfig.npcx

@ -6,6 +6,7 @@ @@ -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.

1
drivers/pwm/Kconfig.npcx

@ -7,6 +7,7 @@ config PWM_NPCX @@ -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.

1
drivers/sensor/nuvoton/nuvoton_tach_npcx/Kconfig

@ -8,5 +8,6 @@ config TACH_NPCX @@ -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.

1
drivers/serial/Kconfig.npcx

@ -11,6 +11,7 @@ config UART_NPCX @@ -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.

1
drivers/spi/Kconfig.npcx

@ -7,6 +7,7 @@ menuconfig SPI_NPCX_SPIP @@ -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.

1
subsys/mgmt/ec_host_cmd/backends/Kconfig

@ -55,6 +55,7 @@ config EC_HOST_CMD_BACKEND_SHI_NPCX @@ -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…
Cancel
Save