Re: [RFC PATCH v2 6/6] hw/misc: add a toy i2c echo device [DO NOT PULL]

2022-06-02 Thread Cédric Le Goater
On 6/1/22 23:08, Klaus Jensen wrote: From: Klaus Jensen Add an example I2C device to demonstrate how a slave may master the bus and send data asynchronously to another slave. The device will echo whatever it is sent to the device identified by the first byte received. I think this is useful

[RFC PATCH v2 6/6] hw/misc: add a toy i2c echo device [DO NOT PULL]

2022-06-01 Thread Klaus Jensen
From: Klaus Jensen Add an example I2C device to demonstrate how a slave may master the bus and send data asynchronously to another slave. The device will echo whatever it is sent to the device identified by the first byte received. Signed-off-by: Klaus Jensen --- hw/misc/i2c-echo.c | 162 +++