From: Wolfram Sang <wsa@the-dreams.de>
To: Ray Jui <ray.jui@broadcom.com>
Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org,
bcm-kernel-feedback-list@broadcom.com,
Icarus Chau <ichau@broadcom.com>, Ray Jui <rjui@broadcom.com>
Subject: Re: [PATCH v2 3/3] i2c: iproc: Support larger TX transfer
Date: Fri, 12 Feb 2016 22:44:37 +0100 [thread overview]
Message-ID: <20160212214436.GC1529@katana> (raw)
In-Reply-To: <1455311443-30590-4-git-send-email-ray.jui@broadcom.com>
[-- Attachment #1: Type: text/plain, Size: 995 bytes --]
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!
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2016-02-12 21:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-12 21:10 [PATCH v2 0/3] iProc I2C driver enhancement Ray Jui
2016-02-12 21:10 ` [PATCH v2 1/3] i2c: iproc: Add recovery mechanism in error case Ray Jui
2016-02-12 21:41 ` Wolfram Sang
2016-02-12 21:45 ` Ray Jui
2016-02-12 21:10 ` [PATCH v2 2/3] i2c: iproc: Fix typo in the driver Ray Jui
2016-02-12 21:42 ` Wolfram Sang
2016-02-12 21:10 ` [PATCH v2 3/3] i2c: iproc: Support larger TX transfer Ray Jui
2016-02-12 21:44 ` Wolfram Sang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160212214436.GC1529@katana \
--to=wsa@the-dreams.de \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=ichau@broadcom.com \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ray.jui@broadcom.com \
--cc=rjui@broadcom.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.