summaryrefslogtreecommitdiff
path: root/configs/display5_defconfig
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2019-09-03 17:38:39 +0300
committerStefano Babic <sbabic@denx.de>2019-10-08 17:35:59 +0300
commitdac9a8f8a2ae3a116748d056305251cfc035a6e4 (patch)
treea01770d920a508e38f89a57f37cb92a04a841030 /configs/display5_defconfig
parent5ca7094668401f68aa9b8380114097270fcd0d36 (diff)
downloadu-boot-dac9a8f8a2ae3a116748d056305251cfc035a6e4.tar.xz
DM: I2C: Switch display5 board to use DM_I2C
After this commit the display5 device would use I2C driver supporting driver model (DM_I2C). The 'i2c' and 'eeprom' commands now use DM I2C drivers and initialize on-bus devices according to device tree description. Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'configs/display5_defconfig')
-rw-r--r--configs/display5_defconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/configs/display5_defconfig b/configs/display5_defconfig
index 6703251e0a..8de5ec6306 100644
--- a/configs/display5_defconfig
+++ b/configs/display5_defconfig
@@ -67,6 +67,19 @@ CONFIG_DEFAULT_DEVICE_TREE="imx6q-display5"
CONFIG_ENV_IS_IN_SPI_FLASH=y
CONFIG_BOOTCOUNT_LIMIT=y
CONFIG_BOOTCOUNT_BOOTLIMIT=3
+CONFIG_I2C_SET_DEFAULT_BUS_NUM=y
+CONFIG_I2C_DEFAULT_BUS_NUMBER=0x2
+CONFIG_SYS_I2C_MXC=y
+CONFIG_SYS_I2C_MXC_I2C1=y
+CONFIG_SYS_I2C_MXC_I2C2=y
+CONFIG_SYS_I2C_MXC_I2C3=y
+CONFIG_MISC=y
+CONFIG_I2C_EEPROM=y
+CONFIG_SYS_I2C_EEPROM_ADDR=0x50
+CONFIG_SYS_I2C_EEPROM_BUS=2
+CONFIG_SYS_EEPROM_SIZE=32768
+CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS=5
+CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2
CONFIG_SUPPORT_EMMC_BOOT=y
CONFIG_FSL_USDHC=y
CONFIG_MTD_DEVICE=y
@@ -85,4 +98,5 @@ CONFIG_PINCTRL_IMX6=y
CONFIG_MXC_UART=y
CONFIG_SPI=y
CONFIG_MXC_SPI=y
+CONFIG_I2C_EDID=y
CONFIG_IMX_WATCHDOG=y