EMMA2RH I2C driver
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 EMMA2RH I2C driver
Below is patch to support I2C controller on NEC EMMA2RH board
Signed-off: dmitry pervushin <[email protected]>
drivers/i2c/algos/Kconfig | 5 drivers/i2c/algos/Makefile | 1 drivers/i2c/algos/i2c-algo-emma2rh.c | 426 +++++++++++++++++++++++++++++++++++ drivers/i2c/algos/i2c-algo-emma2rh.h | 105 ++++++++ drivers/i2c/busses/Kconfig | 7 drivers/i2c/busses/Makefile | 1 drivers/i2c/busses/i2c-emma2rh.c | 253 ++++++++++++++++++++ 7 files changed, 798 insertions(+)
drivers/i2c/algos/Kconfig +5 -0
@@ -49,5 +49,10 @@ config I2C_ALGO_SGI Supports the SGI interfaces like the ones found on SGI Indy VINO or SGI O2 MACE. +config I2C_ALGO_EMMA2RH + tristate "I2C EMMA2RH interfaces" + depends on I2C && MARKEINS + help + NEC EMMA2RH I2C Algorithm endmenu
drivers/i2c/algos/Makefile +1 -0
@@ -6,6 +6,7 @@ obj-$(CONFIG_I2C_ALGOBIT) += i2c-algo-bi obj-$(CONFIG_I2C_ALGOPCF) += i2c-algo-pcf.o obj-$(CONFIG_I2C_ALGOPCA) += i2c-algo-pca.o obj-$(CONFIG_I2C_ALGO_SGI) += i2c-algo-sgi.o +obj-$(CONFIG_I2C_ALGO_EMMA2RH) += i2c-algo-emma2rh.o ifeq ($(CONFIG_I2C_DEBUG_ALGO),y) EXTRA_CFLAGS += -DDEBUG
drivers/i2c/algos/i2c-algo-emma2rh.c new file +426 -0
426 lines not on this page · raw message
drivers/i2c/algos/i2c-algo-emma2rh.h new file +105 -0
105 lines not on this page · raw message
drivers/i2c/busses/Kconfig +7 -0
@@ -573,4 +573,11 @@ config I2C_PNX This driver can also be built as a module. If so, the module will be called i2c-pnx. +config I2C_EMMA2RH + tristate "EMMA2RH I2C adapter" + depends on I2C && MARKEINS + select I2C_ALGO_EMMA2RH + help + Support for NEC EMMA2RH I2C Adapter + endmenu
drivers/i2c/busses/Makefile +1 -0
@@ -47,6 +47,7 @@ obj-$(CONFIG_I2C_VIAPRO) += i2c-viapro.o obj-$(CONFIG_I2C_VOODOO3) += i2c-voodoo3.o obj-$(CONFIG_SCx200_ACB) += scx200_acb.o obj-$(CONFIG_SCx200_I2C) += scx200_i2c.o +obj-$(CONFIG_I2C_EMMA2RH) += i2c-emma2rh.o ifeq ($(CONFIG_I2C_DEBUG_BUS),y) EXTRA_CFLAGS += -DDEBUG
drivers/i2c/busses/i2c-emma2rh.c new file +253 -0
253 lines not on this page · raw message
Quoted 1 line · dmitry pervushin
Below is patch to support I2C controller on NEC EMMA2RH board
I've dropped this one into the queue tree. Markus Gothe has already reported a bunch of issues so I'll leave polishing to him.
Ralf