Skip to content

Commit df8eb56

Browse files
sorenb-xlnxWolfram Sang
authored andcommitted
i2c: Add driver for Cadence I2C controller
Add a driver for the Cadence I2C controller. This controller is for example found in Xilinx Zynq. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Tested-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Harini Katakam <harinik@xilinx.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
1 parent 893f067 commit df8eb56

File tree

4 files changed

+914
-0
lines changed

4 files changed

+914
-0
lines changed

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1402,6 +1402,7 @@ F: drivers/cpuidle/cpuidle-zynq.c
14021402
N: zynq
14031403
N: xilinx
14041404
F: drivers/clocksource/cadence_ttc_timer.c
1405+
F: drivers/i2c/busses/i2c-cadence.c
14051406
F: drivers/mmc/host/sdhci-of-arasan.c
14061407

14071408
ARM SMMU DRIVER

drivers/i2c/busses/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,13 @@ config I2C_BLACKFIN_TWI_CLK_KHZ
376376
help
377377
The unit of the TWI clock is kHz.
378378

379+
config I2C_CADENCE
380+
tristate "Cadence I2C Controller"
381+
depends on COMMON_CLK
382+
help
383+
Say yes here to select Cadence I2C Host Controller. This controller is
384+
e.g. used by Xilinx Zynq.
385+
379386
config I2C_CBUS_GPIO
380387
tristate "CBUS I2C driver"
381388
depends on GPIOLIB

drivers/i2c/busses/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ obj-$(CONFIG_I2C_AT91) += i2c-at91.o
3333
obj-$(CONFIG_I2C_AU1550) += i2c-au1550.o
3434
obj-$(CONFIG_I2C_BCM2835) += i2c-bcm2835.o
3535
obj-$(CONFIG_I2C_BLACKFIN_TWI) += i2c-bfin-twi.o
36+
obj-$(CONFIG_I2C_CADENCE) += i2c-cadence.o
3637
obj-$(CONFIG_I2C_CBUS_GPIO) += i2c-cbus-gpio.o
3738
obj-$(CONFIG_I2C_CPM) += i2c-cpm.o
3839
obj-$(CONFIG_I2C_DAVINCI) += i2c-davinci.o

0 commit comments

Comments
 (0)