Hello, The new Linux driver for the Aspeed I2C controller revealed some serious limitations in the QEMU model. This series fixes these issues and also adds a couple of well-know I2C devices to the Aspeed machines.
The QEMU model now supports the recent Linux driver and the older one. Thanks, C. Cédric Le Goater (6): aspeed/i2c: improve command handling aspeed/i2c: handle LAST command under the RX command aspeed/i2c: introduce a state machine aspeed: add some I2C devices to the Aspeed machines hw/misc: add a TMP42{1,2,3} device model aspeed: add a temp sensor device on I2C bus 3 default-configs/arm-softmmu.mak | 1 + hw/arm/aspeed.c | 36 ++++ hw/i2c/aspeed_i2c.c | 65 ++++++- hw/misc/Makefile.objs | 1 + hw/misc/tmp421.c | 401 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 494 insertions(+), 10 deletions(-) create mode 100644 hw/misc/tmp421.c -- 2.7.4