sensors: remove defconfig setting of sensor drivers

Now that sensor 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 sensor.
Additionally we can get problems with prj.conf/defconfig
as well getting incorrectly overridden.

Fixes #48198

Signed-off-by: Kumar Gala <galak@kernel.org>
This commit is contained in:
Kumar Gala 2022-07-22 22:02:57 -05:00 committed by Carles Cufí
commit df0c6d4c43
10 changed files with 0 additions and 39 deletions

View file

@ -20,10 +20,6 @@ config MCG_VDIV0
config MCG_FCRDIV
default 1
config TEMP_KINETIS
default y if "$(dt_nodelabel_enabled,adc1)"
depends on SENSOR && ADC
config I2C
default y if SENSOR

View file

@ -39,8 +39,4 @@ config SYS_CLOCK_TICKS_PER_SEC
endif # RTOS_TIMER
config TACH_XEC
default y
depends on SENSOR
endif # BOARD_MEC1501MODULAR_ASSY6885

View file

@ -46,8 +46,4 @@ config SPI_XEC_QMSPI
endif # SPI
config TACH_XEC
default y
depends on SENSOR
endif # BOARD_MEC15XXEVB_ASSY6853

View file

@ -36,8 +36,4 @@ config SYS_CLOCK_TICKS_PER_SEC
endif # RTOS_TIMER
config TACH_XEC
default y
depends on SENSOR
endif # BOARD_MEC172XEVB_ASSY6906

View file

@ -20,10 +20,6 @@ config MCG_VDIV0
config MCG_FCRDIV
default 1
config TEMP_KINETIS
default y if "$(dt_nodelabel_enabled,adc1)"
depends on SENSOR && ADC
if NETWORKING
config NET_L2_ETHERNET

View file

@ -8,10 +8,6 @@ if BOARD_TWR_KE18F
config BOARD
default "twr_ke18f"
config TEMP_KINETIS
default y if "$(dt_nodelabel_enabled,adc0)"
depends on SENSOR && ADC
config I2C
default y if SENSOR

View file

@ -15,9 +15,6 @@ config I2C
config SENSOR
default y
config VL53L0X
default y
config VL53L0X_RECONFIGURE_ADDRESS
default y

View file

@ -46,10 +46,6 @@ config I2C_NPCX
default y
depends on I2C
config TACH_NPCX
default y
depends on SENSOR
config SPI_NPCX_FIU
default y
depends on SPI

View file

@ -46,10 +46,6 @@ config I2C_NPCX
default y
depends on I2C
config TACH_NPCX
default y
depends on SENSOR
config SPI_NPCX_FIU
default y
depends on SPI

View file

@ -75,10 +75,6 @@ config PWM_ITE_IT8XXX2
default y
depends on PWM
config TACH_IT8XXX2
default y
depends on SENSOR
config PECI_ITE_IT8XXX2
default y
depends on PECI