Skip to content

Commit c7e08c8

Browse files
Gerhard EnglederAndi Shyti
authored andcommitted
i2c: keba: Add KEBA I2C controller support
The KEBA I2C controller is found in the system FPGA of KEBA PLC devices. It is used to connect EEPROMs and hardware monitoring chips. The It is a simple I2C controller with a fixed bus speed of 100 kbit/s. The whole message transmission is executed by the driver. The driver triggers all steps over control, status and data register. There are no FIFOs or interrupts. Signed-off-by: Gerhard Engleder <[email protected]> Signed-off-by: Andi Shyti <[email protected]>
1 parent 43457ad commit c7e08c8

File tree

3 files changed

+610
-0
lines changed

3 files changed

+610
-0
lines changed

drivers/i2c/busses/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,17 @@ config I2C_JZ4780
779779

780780
If you don't know what to do here, say N.
781781

782+
config I2C_KEBA
783+
tristate "KEBA I2C controller support"
784+
depends on HAS_IOMEM
785+
select AUXILIARY_BUS
786+
help
787+
This driver supports the I2C controller found in KEBA system FPGA
788+
devices.
789+
790+
This driver can also be built as a module. If so, the module
791+
will be called i2c-keba.
792+
782793
config I2C_KEMPLD
783794
tristate "Kontron COM I2C Controller"
784795
depends on MFD_KEMPLD

drivers/i2c/busses/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ obj-$(CONFIG_I2C_IMX) += i2c-imx.o
7676
obj-$(CONFIG_I2C_IMX_LPI2C) += i2c-imx-lpi2c.o
7777
obj-$(CONFIG_I2C_IOP3XX) += i2c-iop3xx.o
7878
obj-$(CONFIG_I2C_JZ4780) += i2c-jz4780.o
79+
obj-$(CONFIG_I2C_KEBA) += i2c-keba.o
7980
obj-$(CONFIG_I2C_KEMPLD) += i2c-kempld.o
8081
obj-$(CONFIG_I2C_LPC2K) += i2c-lpc2k.o
8182
obj-$(CONFIG_I2C_LS2X) += i2c-ls2x.o

0 commit comments

Comments
 (0)