[v6,2/2] i2c: qup: support SMBus block read

Wolfram Sang wsa-dev at sang-engineering.com
Tue Nov 29 13:46:26 PST 2016


On Tue, Oct 11, 2016 at 10:27:57AM -0600, Austin Christ wrote:
> From: Naveen Kaje <nkaje at codeaurora.org>
> 
> I2C QUP driver relies on SMBus emulation support from the framework.
> To handle SMBus block reads, the driver should check I2C_M_RECV_LEN
> flag and should read the first byte received as the message length.
> 
> The driver configures the QUP hardware to read one byte. Once the
> message length is known from this byte, the QUP hardware is configured
> to read the rest.
> 
> Signed-off-by: Naveen Kaje <nkaje at codeaurora.org>
> Signed-off-by: Austin Christ <austinwc at codeaurora.org>
> Reviewed-by: Sricharan R <sricharan at codeaurora.org>

Applied to for-next, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20161129/03699389/attachment.sig>


More information about the linux-arm-kernel mailing list