You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
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 <richard.rojfors@pelagicore.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
This commit is contained in:
committed by
Ben Dooks
parent
96eb7164e3
commit
e1d5b6598c
@@ -582,6 +582,16 @@ config I2C_OCTEON
|
||||
This driver can also be built as a module. If so, the module
|
||||
will be called i2c-octeon.
|
||||
|
||||
config I2C_XILINX
|
||||
tristate "Xilinx I2C Controller"
|
||||
depends on EXPERIMENTAL && HAS_IOMEM
|
||||
help
|
||||
If you say yes to this option, support will be included for the
|
||||
Xilinx I2C controller.
|
||||
|
||||
This driver can also be built as a module. If so, the module
|
||||
will be called xilinx_i2c.
|
||||
|
||||
comment "External I2C/SMBus adapter drivers"
|
||||
|
||||
config I2C_PARPORT
|
||||
|
||||
@@ -56,6 +56,7 @@ obj-$(CONFIG_I2C_SIMTEC) += i2c-simtec.o
|
||||
obj-$(CONFIG_I2C_STU300) += i2c-stu300.o
|
||||
obj-$(CONFIG_I2C_VERSATILE) += i2c-versatile.o
|
||||
obj-$(CONFIG_I2C_OCTEON) += i2c-octeon.o
|
||||
obj-$(CONFIG_I2C_XILINX) += i2c-xiic.o
|
||||
|
||||
# External I2C/SMBus adapter drivers
|
||||
obj-$(CONFIG_I2C_PARPORT) += i2c-parport.o
|
||||
|
||||
824
drivers/i2c/busses/i2c-xiic.c
Normal file
824
drivers/i2c/busses/i2c-xiic.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user