qemu-e2k/hw/i2c
Cédric Le Goater 1602001195 i2c: add aspeed i2c controller
The Aspeed AST2400 integrates a set of 14 I2C/SMBus bus controllers
directly connected to the APB bus. They can be programmed as master or
slave but the propopsed model only supports the master mode.

On the TODO list, we also have :

 - improve and harden the state machine.
 - bus recovery support (used by the Linux driver).
 - transfer mode state machine bits. this is not strictly necessary as
   it is mostly used for debug. The bus busy bit is deducted from the
   I2C core engine of qemu.
 - support of the pool buffer: 2048 bytes of internal SRAM (not used
   by the Linux driver).

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Message-id: 1464704307-25178-1-git-send-email-clg@kaod.org
[PMM: removed unused functions aspeed_i2c_bus_get_state() and
 aspeed_i2c_bus_set_state()]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2016-06-06 16:59:29 +01:00
..
Makefile.objs i2c: add aspeed i2c controller 2016-06-06 16:59:29 +01:00
aspeed_i2c.c i2c: add aspeed i2c controller 2016-06-06 16:59:29 +01:00
bitbang_i2c.c hw: Clean up includes 2016-01-29 15:07:25 +00:00
bitbang_i2c.h i2c: Rename i2c_bus to I2CBus 2014-02-14 16:22:31 +01:00
core.c hw: Clean up includes 2016-01-29 15:07:25 +00:00
exynos4210_i2c.c arm: Clean up includes 2016-01-29 15:07:23 +00:00
imx_i2c.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
omap_i2c.c arm devices: Clean up includes 2016-01-29 15:07:25 +00:00
pm_smbus.c x86: Clean up includes 2016-01-29 15:07:22 +00:00
smbus.c hw: Clean up includes 2016-01-29 15:07:25 +00:00
smbus_eeprom.c hw: Clean up includes 2016-01-29 15:07:25 +00:00
smbus_ich9.c x86: Clean up includes 2016-01-29 15:07:22 +00:00
versatile_i2c.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00