[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH v2 4/6] hw/i2c: add asynchronous send
From: |
Klaus Jensen |
Subject: |
Re: [RFC PATCH v2 4/6] hw/i2c: add asynchronous send |
Date: |
Thu, 2 Jun 2022 09:35:34 +0200 |
On Jun 2 09:32, Cédric Le Goater wrote:
> On 6/2/22 00:05, Corey Minyard wrote:
> > On Wed, Jun 01, 2022 at 11:08:29PM +0200, Klaus Jensen wrote:
> > > From: Klaus Jensen <k.jensen@samsung.com>
> > >
> > > Add an asynchronous version of i2c_send() that requires the slave to
> > > explicitly acknowledge on the bus with i2c_ack().
> > >
> > > The current master must use the new i2c_start_send_async() to indicate
> > > that it wants to do an asynchronous transfer. This allows the i2c core
> > > to check if the target slave supports this or not. This approach relies
> > > on adding a new enum i2c_event member, which is why a bunch of other
> > > devices needs changes in their event handling switches.
> >
> > This would be easier to read if you split out the default return of -1
> > in all the devices to a separate patch.
>
> yes and please drop ibm-cffps.c and ir35221.c which are not in mainline.
> I will address them myself.
>
Roger.
signature.asc
Description: PGP signature
- Re: [RFC PATCH v2 2/6] hw/i2c/aspeed: add DEV_ADDR in old register mode, (continued)
- [RFC PATCH v2 5/6] hw/i2c/aspeed: add slave device in old register mode, Klaus Jensen, 2022/06/01
- [RFC PATCH v2 6/6] hw/misc: add a toy i2c echo device [DO NOT PULL], Klaus Jensen, 2022/06/01
- Re: [RFC PATCH v2 0/6] hw/i2c: i2c slave mode support, Cédric Le Goater, 2022/06/02
- Re: [RFC PATCH v2 0/6] hw/i2c: i2c slave mode support, Klaus Jensen, 2022/06/02
- Re: [RFC PATCH v2 0/6] hw/i2c: i2c slave mode support, Cédric Le Goater, 2022/06/02
- Re: [RFC PATCH v2 0/6] hw/i2c: i2c slave mode support, Jae Hyun Yoo, 2022/06/02
- Re: [RFC PATCH v2 0/6] hw/i2c: i2c slave mode support, Cédric Le Goater, 2022/06/02
- Re: [RFC PATCH v2 0/6] hw/i2c: i2c slave mode support, Klaus Jensen, 2022/06/02
- Re: [RFC PATCH v2 0/6] hw/i2c: i2c slave mode support, Cédric Le Goater, 2022/06/03