Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1333154
| From | Wolfram Sang <wsa@the-dreams.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 3/3] i2c: iproc: Support larger TX transfer |
| Date | 2016-02-12 22:50 +0100 |
| Message-ID | <r1tLe-49e-25@gated-at.bofh.it> (permalink) |
| References | <r1tia-3WT-5@gated-at.bofh.it> <r1tib-3WT-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Fri, Feb 12, 2016 at 01:10:43PM -0800, Ray Jui wrote: > From: Ray Jui <rjui@broadcom.com> > > 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> Applied to for-next, thanks!
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 0/3] iProc I2C driver enhancement Ray Jui <ray.jui@broadcom.com> - 2016-02-12 22:20 +0100
[PATCH v2 1/3] i2c: iproc: Add recovery mechanism in error case Ray Jui <ray.jui@broadcom.com> - 2016-02-12 22:20 +0100
Re: [PATCH v2 1/3] i2c: iproc: Add recovery mechanism in error case Ray Jui <ray.jui@broadcom.com> - 2016-02-12 22:50 +0100
Re: [PATCH v2 1/3] i2c: iproc: Add recovery mechanism in error case Wolfram Sang <wsa@the-dreams.de> - 2016-02-12 22:50 +0100
[PATCH v2 3/3] i2c: iproc: Support larger TX transfer Ray Jui <ray.jui@broadcom.com> - 2016-02-12 22:20 +0100
Re: [PATCH v2 3/3] i2c: iproc: Support larger TX transfer Wolfram Sang <wsa@the-dreams.de> - 2016-02-12 22:50 +0100
csiph-web