i2c: img-scb: Add Imagination Technologies I2C SCB driver
authorJames Hogan <james.hogan@imgtec.com>
Thu, 13 Nov 2014 18:32:21 +0000 (15:32 -0300)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 17 Nov 2014 18:54:24 +0000 (19:54 +0100)
Add support for the IMG I2C Serial Control Bus (SCB) found on the
Pistachio and TZ1090 SoCs.

Reviewed-by: Andrew Bresticker <abrestic@chromium.org>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
[Ezequiel: code cleaning and rebasing]
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/Makefile
drivers/i2c/busses/i2c-img-scb.c [new file with mode: 0644]

index 06e99eb..03c6119 100644 (file)
@@ -524,6 +524,16 @@ config I2C_IBM_IIC
          This driver can also be built as a module.  If so, the module
          will be called i2c-ibm_iic.
 
+config I2C_IMG
+       tristate "Imagination Technologies I2C SCB Controller"
+       depends on SOC_TZ1090 || COMPILE_TEST
+       help
+         Say Y here if you want to use the IMG I2C SCB controller,
+         available on the TZ1090 SoC.
+
+         This driver can also be built as a module.  If so, the module
+         will be called i2c-img-scb.
+
 config I2C_IMX
        tristate "IMX I2C interface"
        depends on ARCH_MXC
index 78d56c5..84861ea 100644 (file)
@@ -50,6 +50,7 @@ obj-$(CONFIG_I2C_GPIO)                += i2c-gpio.o
 obj-$(CONFIG_I2C_HIGHLANDER)   += i2c-highlander.o
 obj-$(CONFIG_I2C_HIX5HD2)      += i2c-hix5hd2.o
 obj-$(CONFIG_I2C_IBM_IIC)      += i2c-ibm_iic.o
+obj-$(CONFIG_I2C_IMG)          += i2c-img-scb.o
 obj-$(CONFIG_I2C_IMX)          += i2c-imx.o
 obj-$(CONFIG_I2C_IOP3XX)       += i2c-iop3xx.o
 obj-$(CONFIG_I2C_KEMPLD)       += i2c-kempld.o
Simple merge