Skip to content

Commit e1d5b65

Browse files
Richard RöjforsBen Dooks
Richard Röjfors
authored and
Ben Dooks
committed
i2c: Add support for Xilinx XPS IIC Bus Interface
This patch adds support for the Xilinx XPS IIC Bus Interface. The driver uses the dynamic mode, supporting to put several I2C messages in the FIFO to reduce the number of interrupts. It has the same feature as ocores, it can be passed a list of devices that will be added when the bus is probed. Signed-off-by: Richard Röjfors <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
1 parent 96eb716 commit e1d5b65

File tree

3 files changed

+835
-0
lines changed

3 files changed

+835
-0
lines changed

drivers/i2c/busses/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,16 @@ config I2C_OCTEON
582582
This driver can also be built as a module. If so, the module
583583
will be called i2c-octeon.
584584

585+
config I2C_XILINX
586+
tristate "Xilinx I2C Controller"
587+
depends on EXPERIMENTAL && HAS_IOMEM
588+
help
589+
If you say yes to this option, support will be included for the
590+
Xilinx I2C controller.
591+
592+
This driver can also be built as a module. If so, the module
593+
will be called xilinx_i2c.
594+
585595
comment "External I2C/SMBus adapter drivers"
586596

587597
config I2C_PARPORT

drivers/i2c/busses/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ obj-$(CONFIG_I2C_SIMTEC) += i2c-simtec.o
5656
obj-$(CONFIG_I2C_STU300) += i2c-stu300.o
5757
obj-$(CONFIG_I2C_VERSATILE) += i2c-versatile.o
5858
obj-$(CONFIG_I2C_OCTEON) += i2c-octeon.o
59+
obj-$(CONFIG_I2C_XILINX) += i2c-xiic.o
5960

6061
# External I2C/SMBus adapter drivers
6162
obj-$(CONFIG_I2C_PARPORT) += i2c-parport.o

0 commit comments

Comments
 (0)