spi: remove Kconfig.defconfig setting of SPI drivers

Now that SPI drivers are enabled based on devicetree
we need to remove any cases of them getting enabled by
Kconfig.defconfig* files as this can lead to errors.

Typically the Kconfig.defconfig* will blindly enable a
sensor and not respect the devicetree state of the SPI.
Additionally we can get problems with prj.conf/defconfig
getting incorrectly overridden.

Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
Kumar Gala 2022-07-26 06:53:04 -05:00 committed by Carles Cufí
parent fb9c241530
commit 960f2f1a37
46 changed files with 2 additions and 194 deletions

View file

@ -26,11 +26,6 @@ endif # I2C_DW
endif # I2C
if SPI
config SPI_DW
default y
if SPI_DW
config SPI_DW_FIFO_DEPTH
@ -41,6 +36,4 @@ config SPI_DW_ARC_AUX_REGS
endif # SPI_DW
endif # SPI
endif # BOARD_EM_STARTERKIT

View file

@ -17,11 +17,6 @@ config I2C
endif # GPIO
if SPI
config SPI_DW
default y
if SPI_DW
config SPI_DW_FIFO_DEPTH
@ -35,8 +30,6 @@ config SPI_DW_ACCESS_WORD_ONLY
endif # SPI_DW
endif # SPI
if I2C
config I2C_DW

View file

@ -21,13 +21,6 @@ config NUM_IRQS
config GPIO
default y if "$(dt_nodelabel_enabled,daplink_qspi_mux)"
if SPI
config SPI_XLNX_AXI_QUADSPI
default y
endif # SPI
if FLASH
config SPI

View file

@ -30,11 +30,9 @@ config USB_DEVICE_DRIVER
default y
endif # USB_DEVICE_STACK
if SPI
config SPI_DW
default y
if SPI_DW
config SPI_DW_FIFO_DEPTH
default 256
endif # SPI
endif # SPI_DW
endif # BOARD_CVSXDEVKIT

View file

@ -39,11 +39,4 @@ config SYS_CLOCK_TICKS_PER_SEC
endif # RTOS_TIMER
if SPI
config SPI_XEC_QMSPI
default y
endif # SPI
endif # BOARD_MEC15XXEVB_ASSY6853

View file

@ -22,10 +22,6 @@ config PWM_SIFIVE
default y
depends on PWM
config SPI_SIFIVE
default y
depends on SPI
config I2C_SIFIVE
default y
depends on I2C

View file

@ -12,8 +12,4 @@ config SYS_CLOCK_TICKS_PER_SEC
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 1000000
config SPI_SIFIVE
default y
depends on SPI
endif

View file

@ -12,8 +12,4 @@ config SYS_CLOCK_TICKS_PER_SEC
config SYS_CLOCK_HW_CYCLES_PER_SEC
default 1000000
config SPI_SIFIVE
default y
depends on SPI
endif

View file

@ -15,9 +15,6 @@ config ENTROPY_TELINK_B91_TRNG
config SOC_FLASH_TELINK_B91
default y if FLASH
config SPI_TELINK_B91
default y if SPI
config IEEE802154_TELINK_B91
default y if IEEE802154

View file

@ -27,10 +27,6 @@ config I2C_SAM_TWI
default y
depends on I2C
config SPI_SAM
default y
depends on SPI
if NETWORKING
config NET_L2_ETHERNET

View file

@ -45,10 +45,6 @@ config I2C_SAM_TWIM
default y
depends on I2C
config SPI_SAM
default y
depends on SPI
config USART_SAM
default y
depends on SERIAL

View file

@ -32,8 +32,4 @@ config I2C_SAM_TWI
default y
depends on I2C
config SPI_SAM
default y
depends on SPI
endif # SOC_SERIES_SAM4S

View file

@ -57,10 +57,6 @@ config I2S_SAM_SSC
default y
depends on I2S
config SPI_SAM
default y
depends on SPI
config USB_DC_SAM_USBHS
default y
depends on USB_DEVICE_DRIVER

View file

@ -23,9 +23,6 @@ config HWINFO_SAM0
config PWM_SAM0_TCC
default PWM
config SPI_SAM0
default SPI
config USB_DC_SAM0
default USB_DEVICE_DRIVER

View file

@ -21,9 +21,5 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
source "soc/arm/cypress/psoc6/Kconfig.defconfig.psoc*"
config SPI_PSOC6
default y
depends on SPI
endif # SOC_SERIES_PSOC62 || \
# SOC_SERIES_PSOC63

View file

@ -47,8 +47,4 @@ config PECI_XEC
default y
depends on PECI
config SPI_XEC_QMSPI
default y
depends on SPI
endif # SOC_MEC1501_HSZ

View file

@ -31,10 +31,6 @@ config ESPI_XEC_V2
default y
depends on ESPI
config SPI_XEC_QMSPI_LDMA
default y
depends on SPI
config PECI_XEC
default y
depends on PECI

View file

@ -38,10 +38,6 @@ config I2C_NPCX
default y
depends on I2C
config SPI_NPCX_FIU
default y
depends on SPI
source "soc/arm/nuvoton_npcx/npcx7/Kconfig.defconfig.npcx7*"
endif # SOC_SERIES_NPCX7

View file

@ -38,10 +38,6 @@ config I2C_NPCX
default y
depends on I2C
config SPI_NPCX_FIU
default y
depends on SPI
source "soc/arm/nuvoton_npcx/npcx9/Kconfig.defconfig.npcx9*"
endif # SOC_SERIES_NPCX9

View file

@ -86,10 +86,6 @@ config COUNTER_MCUX_GPT
endif # COUNTER
config SPI_MCUX_LPSPI
default y if HAS_MCUX_LPSPI
depends on SPI
config ADC_MCUX_LPADC
default y if HAS_MCUX_LPADC
depends on ADC

View file

@ -16,10 +16,6 @@ config I2C_MCUX_FLEXCOMM
default y if HAS_MCUX_FLEXCOMM
depends on I2C
config SPI_MCUX_FLEXCOMM
default y if HAS_MCUX_FLEXCOMM
depends on SPI
config CLOCK_CONTROL_MCUX_SYSCON
default y if HAS_MCUX_SYSCON
depends on CLOCK_CONTROL

View file

@ -16,10 +16,6 @@ config I2C_MCUX_FLEXCOMM
default y if HAS_MCUX_FLEXCOMM
depends on I2C
config SPI_MCUX_FLEXCOMM
default y if HAS_MCUX_FLEXCOMM
depends on SPI
config I2S_MCUX_FLEXCOMM
default y if HAS_MCUX_FLEXCOMM
depends on I2S

View file

@ -37,10 +37,6 @@ config PWM_MCUX_FTM
default y
depends on PWM
config SPI_MCUX_DSPI
default y
depends on SPI
config ENTROPY_MCUX_RNGA
default y
depends on ENTROPY_GENERATOR

View file

@ -48,10 +48,6 @@ config PWM_MCUX_FTM
config SPI
default n
config SPI_MCUX_DSPI
default y
depends on SPI
config ETH_MCUX
default y
depends on NET_L2_ETHERNET

View file

@ -45,10 +45,6 @@ config PWM_MCUX_FTM
default y
depends on PWM
config SPI_MCUX_DSPI
default y
depends on SPI
config ETH_MCUX
default y
depends on NET_L2_ETHERNET

View file

@ -52,10 +52,6 @@ config PWM_MCUX_FTM
default y
depends on PWM
config SPI_MCUX_DSPI
default y
depends on SPI
config USB_KINETIS
default y
depends on USB_DEVICE_DRIVER

View file

@ -75,10 +75,6 @@ config I2C_MCUX_LPI2C
default y
depends on I2C
config SPI_MCUX_LPSPI
default y
depends on SPI
config ADC_MCUX_ADC12
default y
depends on ADC

View file

@ -35,10 +35,6 @@ config PWM_MCUX_FTM
default y
depends on PWM
config SPI_MCUX_DSPI
default y
depends on SPI
source "soc/arm/nxp_kinetis/kv5x/Kconfig.defconfig.mkv*"
endif # SOC_SERIES_KINETIS_KV5X

View file

@ -41,10 +41,6 @@ config PWM_MCUX_FTM
default y
depends on PWM
config SPI_MCUX_DSPI
default y
depends on SPI
config ENTROPY_MCUX_RNGA
default y
depends on ENTROPY_GENERATOR

View file

@ -22,10 +22,6 @@ config I2C_MCUX
default y
depends on I2C
config SPI_MCUX_DSPI
default y
depends on SPI
config ENTROPY_MCUX_TRNG
default y
depends on ENTROPY_GENERATOR

View file

@ -27,10 +27,6 @@ config I2C_MCUX
default y
depends on I2C
config SPI_MCUX_DSPI
default y
depends on SPI
config ENTROPY_MCUX_TRNG
default y
depends on ENTROPY_GENERATOR

View file

@ -7,10 +7,6 @@ config I2C_MCUX_FLEXCOMM
default y if HAS_MCUX_FLEXCOMM
depends on I2C
config SPI_MCUX_FLEXCOMM
default y if HAS_MCUX_FLEXCOMM
depends on SPI
config CLOCK_CONTROL_MCUX_SYSCON
default y if HAS_MCUX_SYSCON
depends on CLOCK_CONTROL

View file

@ -14,7 +14,3 @@ config I2C_GECKO
config SOC_FLASH_GECKO
default y
depends on FLASH
config SPI_GECKO
default y
depends on SPI

View file

@ -10,7 +10,3 @@ config I2C_GECKO
config SOC_FLASH_GECKO
default y
depends on FLASH
config SPI_GECKO
default y
depends on SPI

View file

@ -11,10 +11,6 @@ config SOC_FLASH_GECKO
default y
depends on FLASH
config SPI_GECKO
default y
depends on SPI
config PWM_GECKO
default y
depends on PWM

View file

@ -11,10 +11,6 @@ config SOC_FLASH_GECKO
default y
depends on FLASH
config SPI_GECKO
default y
depends on SPI
config PWM_GECKO
default y
depends on PWM

View file

@ -10,7 +10,3 @@ config I2C_GECKO
config SOC_FLASH_GECKO
default y
depends on FLASH
config SPI_GECKO
default y
depends on SPI

View file

@ -10,7 +10,3 @@ config I2C_GECKO
config SOC_FLASH_GECKO
default y
depends on FLASH
config SPI_GECKO
default y
depends on SPI

View file

@ -10,7 +10,3 @@ config I2C_GECKO
config SOC_FLASH_GECKO
default y
depends on FLASH
config SPI_GECKO
default y
depends on SPI

View file

@ -10,7 +10,3 @@ config I2C_GECKO
config SOC_FLASH_GECKO
default y
depends on FLASH
config SPI_GECKO
default y
depends on SPI

View file

@ -11,10 +11,6 @@ config SOC_FLASH_GECKO
default y
depends on FLASH
config SPI_GECKO
default y
depends on SPI
config PWM_GECKO
default y
depends on PWM

View file

@ -11,10 +11,6 @@ config SOC_FLASH_GECKO
default y
depends on FLASH
config SPI_GECKO
default y
depends on SPI
config PWM_GECKO
default y
depends on PWM

View file

@ -14,7 +14,3 @@ config I2C_GECKO
config SOC_FLASH_GECKO
default y
depends on FLASH
config SPI_GECKO
default y
depends on SPI

View file

@ -37,10 +37,6 @@ config PWM_STM32
default y
depends on PWM
config SPI_STM32
default y
depends on SPI
config I2S_STM32
default y
depends on I2S

View file

@ -33,10 +33,6 @@ config I2C_CC13XX_CC26XX
default y
depends on I2C
config SPI_CC13XX_CC26XX
default y
depends on SPI
if IEEE802154
config IEEE802154_CC13XX_CC26XX

View file

@ -126,10 +126,6 @@ config I2C_RV32M1_LPI2C
default y
depends on I2C
config SPI_RV32M1_LPSPI
default y
depends on SPI
config PWM_RV32M1_TPM
default y
depends on PWM