alistair23-linux/drivers/i2c
Ray Jui 4916eb6909 i2c: iproc: Support larger TX transfer
The current iProc I2C driver only allows each TX transfer up to 63
bytes (the TX FIFO has a size of 64 bytes, and one byte is reserved
for slave address). This patch enhances the driver to support TX
transfer in each I2C message for up to 65535 bytes (a practical
maximum, since member 'max_write_len' of 'struct i2c_adapter_quirks is
of type 'u16')

This works by loading up the I2C TX FIFO and enabling the TX underrun
interrupt for each burst. After each burst of TX data is finished,
i.e., when the TX FIFO becomes empty, the TX underrun interrupt will be
triggered and another burst of TX data can be loaded into the TX FIFO.
This repeats until all TX data are finished

Signed-off-by: Ray Jui <rjui@broadcom.com>
Tested-by: Icarus Chau <ichau@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2016-02-12 22:43:08 +01:00
..
algos i2c: algo-bit: add I2C_AQ_NO_CLK_STRETCH 2015-11-30 18:37:25 +01:00
busses i2c: iproc: Support larger TX transfer 2016-02-12 22:43:08 +01:00
muxes i2c: mux: demux-pinctrl: add driver 2016-02-12 19:16:04 +01:00
i2c-boardinfo.c
i2c-core.c i2c: always enable RuntimePM for the adapter device 2016-01-10 09:27:06 +01:00
i2c-core.h
i2c-dev.c i2c-dev: Fix I2C_SLAVE ioctl comment 2015-10-23 23:26:44 +02:00
i2c-mux.c i2c: add ACPI support for I2C mux ports 2015-10-25 15:49:46 +01:00
i2c-slave-eeprom.c i2c: Drop owner assignment from i2c_driver 2015-08-10 08:37:35 +02:00
i2c-smbus.c i2c: smbus: fix typo in commet 2015-06-01 08:41:26 +09:00
i2c-stub.c
Kconfig
Makefile