Skip to contentSkip to conversation

i2c: fix: Add support for the Arm's Versatile Express I2C controller

PATCH New Heiko Schocher 2 participants 3 messages Oct 11, 2018 – Oct 16, 2018 I2C

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: fix: Add support for the Arm's Versatile Express I2C controller

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.

---

 MAINTAINERS          | 1 +
 drivers/i2c/Kconfig  | 7 +++++++
 drivers/i2c/Makefile | 1 +
 3 files changed, 9 insertions(+)
MAINTAINERS +1 -0
index ace7d9a4b6..cc71a8f6be 100644
@@ -453,6 +453,7 @@ M:	Liviu Dudau <[email protected]>
 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 <[email protected]>
drivers/i2c/Kconfig +7 -0
index ae3b501555..1ef22e6bcd 100644
@@ -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
drivers/i2c/Makefile +1 -0
index f2cbe78c53..d3637bcd8d 100644
@@ -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
 
Signature · 1 line
2.14.4
#1 lore raw

PATCH 1/1 i2c: fix: Add support for the Arm's Versatile Express I2C controller

Quoted 5 lines · Heiko Schocher

accidentially while fixing merge errors for patch:
https://lists.denx.de/pipermail/u-boot/2018-September/342278.html

missed to add files:

Quoted 7 lines

MAINTAINERS
drivers/i2c/Kconfig
drivers/i2c/Makefile

add them with this patch.

Quoted 52 lines

---

 MAINTAINERS          | 1 +
 drivers/i2c/Kconfig  | 7 +++++++
 drivers/i2c/Makefile | 1 +
 3 files changed, 9 insertions(+)
MAINTAINERS +1 -0
index ace7d9a4b6..cc71a8f6be 100644
@@ -453,6 +453,7 @@ M:	Liviu Dudau <[email protected]>
 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 <[email protected]>
drivers/i2c/Kconfig +7 -0
index ae3b501555..1ef22e6bcd 100644
@@ -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
drivers/i2c/Makefile +1 -0
index f2cbe78c53..d3637bcd8d 100644
@@ -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
 
Signature · 1 line
2.14.4
Signature · 8 lines
====================
| I would like to |
| fix the world,  |
| but they're not |
| giving me the   |
 \ source code!  /
  ---------------
    ¯\_(ツ)_/¯
#2 lore raw

PATCH 1/1 i2c: fix: Add support for the Arm's Versatile Express I2C controller

In reply to Heiko Schocher

Hello Heiko,

Am 11.10.2018 um 07:26 schrieb Heiko Schocher:

Quoted 11 lines

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.

Quoted 7 lines

---

  MAINTAINERS          | 1 +
  drivers/i2c/Kconfig  | 7 +++++++
  drivers/i2c/Makefile | 1 +
  3 files changed, 9 insertions(+)

applied to u-boot-i2c.git master

bye,
Heiko

Quoted 44 lines
MAINTAINERS +1 -0
index ace7d9a4b6..cc71a8f6be 100644
@@ -453,6 +453,7 @@ M:	Liviu Dudau <[email protected]>
  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 <[email protected]>
drivers/i2c/Kconfig +7 -0
index ae3b501555..1ef22e6bcd 100644
@@ -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
drivers/i2c/Makefile +1 -0
index f2cbe78c53..d3637bcd8d 100644
@@ -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
 
Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de