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>
33 lines
363 B
Plaintext
33 lines
363 B
Plaintext
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if BOARD_EM_STARTERKIT
|
|
|
|
config BOARD
|
|
default "em_starterkit"
|
|
|
|
if GPIO
|
|
|
|
config GPIO_INIT_PRIORITY
|
|
default 70
|
|
|
|
endif # GPIO
|
|
|
|
if I2C_DW
|
|
|
|
config I2C_DW_CLOCK_SPEED
|
|
default 100
|
|
|
|
endif # I2C_DW
|
|
|
|
if SPI_DW
|
|
|
|
config SPI_DW_FIFO_DEPTH
|
|
default 32
|
|
|
|
config SPI_DW_ARC_AUX_REGS
|
|
default n
|
|
|
|
endif # SPI_DW
|
|
|
|
endif # BOARD_EM_STARTERKIT
|