[Qemu-devel] [PATCH 0/6] aspeed: I2C controller fixes

Cédric Le Goater posted 6 patches 6 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1494827476-1487-1-git-send-email-clg@kaod.org
Test checkpatch passed
Test docker passed
Test s390x passed
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
[Qemu-devel] [PATCH 0/6] aspeed: I2C controller fixes
Posted by Cédric Le Goater 6 years, 11 months ago
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


Re: [Qemu-devel] [PATCH 0/6] aspeed: I2C controller fixes
Posted by Peter Maydell 6 years, 10 months ago
On 15 May 2017 at 06:51, Cédric Le Goater <clg@kaod.org> wrote:
> 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.



Applied to target-arm.next, thanks.

-- PMM