[PATCH qemu 0/3] add i2c support

Cédric Le Goater clg at kaod.org
Wed May 18 05:24:59 AEST 2016


This serie adds an ASPEED I2C crontroller device model to qemu and a
couple of I2C slaves. The device are a little different from the real
hardware so you will have to recompile the palmetto dtb with the right
models.

Patches are also available here :

	https://github.com/legoater/qemu/commits/aspeed

Based on 'aspeed-integration' of https://github.com/amboar/qemu

Thanks,

Cédric Le Goater (3):
  i2c: add aspeed i2c crontroller
  ast2400: add a rtc device on I2C bus 0
  ast2400: add a temp sensor device on I2C bus 3

 hw/arm/ast2400.c            |  21 +++
 hw/i2c/Makefile.objs        |   1 +
 hw/i2c/aspeed_i2c.c         | 448 ++++++++++++++++++++++++++++++++++++++++++++
 include/hw/arm/ast2400.h    |   2 +
 include/hw/i2c/aspeed_i2c.h |  62 ++++++
 5 files changed, 534 insertions(+)
 create mode 100644 hw/i2c/aspeed_i2c.c
 create mode 100644 include/hw/i2c/aspeed_i2c.h

-- 
2.1.4



More information about the openbmc mailing list