i2c: fix: Add support for the Arm's Versatile Express I2C controller
authorHeiko Schocher <hs@denx.de>
Thu, 11 Oct 2018 05:26:33 +0000 (07:26 +0200)
committerHeiko Schocher <hs@denx.de>
Fri, 12 Oct 2018 05:25:39 +0000 (07:25 +0200)
accidentially while fixing merge errors for patch:
https://lists.denx.de/pipermail/u-boot/2018-September/342278.html

missed to add files:

MAINTAINERS
drivers/i2c/Kconfig
drivers/i2c/Makefile

add them with this patch.

Signed-off-by: Heiko Schocher <hs@denx.de>
Acked-by: Liviu Dudau <liviu.dudau@foss.arm.com>
MAINTAINERS
drivers/i2c/Kconfig
drivers/i2c/Makefile

index ace7d9a4b64dbdada0f75c739cde22da59896b5a..cc71a8f6be1b1443648f1125acae1099c673c929 100644 (file)
@@ -453,6 +453,7 @@ M:  Liviu Dudau <liviu.dudau@foss.arm.com>
 S:     Supported
 T:     git git://github.com/ARM-software/u-boot.git
 F:     drivers/video/mali_dp.c
+F:     drivers/i2c/i2c-versatile.c
 
 MICROBLAZE
 M:     Michal Simek <monstr@monstr.eu>
index ae3b501555167d78ea1ec9fd7164f1ea5e870877..1ef22e6bcde2ffcefef7b3ba07118558f5e9af32 100644 (file)
@@ -416,6 +416,13 @@ config SYS_I2C_UNIPHIER_F
          Support for UniPhier FIFO-builtin I2C controller driver.
          This I2C controller is used on PH1-Pro4 or newer UniPhier SoCs.
 
+config SYS_I2C_VERSATILE
+       bool "Arm Ltd Versatile I2C bus driver"
+       depends on DM_I2C && (TARGET_VEXPRESS_CA15_TC2 || TARGET_VEXPRESS64_JUNO)
+       help
+         Add support for the Arm Ltd Versatile Express I2C driver. The I2C host
+         controller is present in the development boards manufactured by Arm Ltd.
+
 config SYS_I2C_MVTWSI
        bool "Marvell I2C driver"
        depends on DM_I2C
index f2cbe78c53b15de3fd569a12b15e6e5b3308b87a..d3637bcd8d65745c9c73b479119da4fe5392e324 100644 (file)
@@ -36,6 +36,7 @@ obj-$(CONFIG_SYS_I2C_STM32F7) += stm32f7_i2c.o
 obj-$(CONFIG_SYS_I2C_TEGRA) += tegra_i2c.o
 obj-$(CONFIG_SYS_I2C_UNIPHIER) += i2c-uniphier.o
 obj-$(CONFIG_SYS_I2C_UNIPHIER_F) += i2c-uniphier-f.o
+obj-$(CONFIG_SYS_I2C_VERSATILE) += i2c-versatile.o
 obj-$(CONFIG_SYS_I2C_ZYNQ) += zynq_i2c.o
 obj-$(CONFIG_TEGRA186_BPMP_I2C) += tegra186_bpmp_i2c.o