i2c: remove Kconfig.defconfig setting of I2C drivers

Now that I2C 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 I2C.
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-28 16:24:57 -05:00 committed by Carles Cufí
commit 5c57a36f9d
54 changed files with 2 additions and 233 deletions

View file

@ -3,10 +3,6 @@
source "soc/arm/nxp_lpc/*/Kconfig.defconfig.series"
config I2C_MCUX_FLEXCOMM
default y if HAS_MCUX_FLEXCOMM
depends on I2C
config SERIAL_INIT_PRIORITY
default 55
depends on SERIAL

View file

@ -24,11 +24,4 @@ config PINMUX_INIT_PRIORITY
endif # PINMUX
if I2C
config I2C_LPC11U6X
default y
endif # I2C
endif # SOC_SERIES_LPC11U6X