Re: [PATCH v7 0/2] i2c: sunxi: add P2WI controller support

From: Wolfram Sang
Date: Wed Jun 11 2014 - 18:25:29 EST


On Wed, Jun 11, 2014 at 11:17:28AM +0200, Boris BREZILLON wrote:
> Hello,
>
> This series adds support for the P2WI block used by some Allwinner boards
> to interface with the AXP221 PMIC.
>
> The P2WI controller looks like an SMBus controller which only supports byte
> data transfers. But, it differs from standard SMBus protocol on several
> aspects:
> - it supports only one slave device, and thus drop the address field
> - it adds a parity bit every 8bits of data
> - only one read access is required to read a byte (instead of a write
> followed by a read access in standard SMBus protocol)
> - there's no Ack bit after each byte transfer
>
> This means this bus cannot be used to interface with standard SMBus
> devices (the only known device to support this interface is the AXP221
> PMIC).
> However the P2WI protocol is close enough to SMBus to be integrated in
> the I2C subsystem (see this thread [1] for detailed reasons that led to
> integrating this driver in the I2C subsystem).
>
> [1] http://www.spinics.net/lists/linux-i2c/msg15066.html

Applied to for-next, thanks!

Attachment: signature.asc
Description: Digital signature