forked from luck/tmp_suning_uos_patched
i2c: img-scb: Add Imagination Technologies I2C SCB driver
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>
This commit is contained in:
parent
039e60ed6c
commit
27bce457d5
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
1412
drivers/i2c/busses/i2c-img-scb.c
Normal file
1412
drivers/i2c/busses/i2c-img-scb.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user