[PATCH 11/17] aspeed: Add I2C Driver

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Mar 27 21:41:25 AEDT 2017


On Mon, 2017-03-27 at 21:40 +1100, Benjamin Herrenschmidt wrote:
> On Wed, 2017-03-22 at 07:05 -0600, Simon Glass wrote:
> > On 16 March 2017 at 15:36, Maxim Sloyko <maxims at google.com> wrote:
> > > Add Device Model based I2C driver for ast2500/ast2400 SoCs.
> > > The driver is very limited, it only supports master mode and
> > > synchronous byte-by-byte reads/writes, no DMA or Pool Buffers.
> > > 
> > > Signed-off-by: Maxim Sloyko <maxims at google.com>
> > > ---
> 
> Ah interesting, I was just rewriting that driver last week ... I'll
> review yours ASAP.

Ignore me, I was talking about the Linux one.

> 
> > >  drivers/i2c/Kconfig   |   9 ++
> > >  drivers/i2c/Makefile  |   1 +
> > >  drivers/i2c/ast_i2c.c | 355
> > > ++++++++++++++++++++++++++++++++++++++++++++++++++
> > >  drivers/i2c/ast_i2c.h | 132 +++++++++++++++++++
> > >  4 files changed, 497 insertions(+)
> > >  create mode 100644 drivers/i2c/ast_i2c.c
> > >  create mode 100644 drivers/i2c/ast_i2c.h
> > 
> > Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the openbmc mailing list