qemu/hw/arm
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
..
allwinner-a10.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
armv7m.c hw/arm: QOM'ify armv7m.c 2016-05-12 13:40:48 +01:00
ast2400.c i2c: add aspeed i2c controller 2016-06-06 16:59:29 +01:00
bcm2835_peripherals.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
bcm2836.c hw/arm/bcm2836: Wire up CPU timer interrupts correctly 2016-04-04 17:33:51 +01:00
boot.c ARM: Virt: Set numa-node-id for cpu and memory nodes 2016-05-12 13:22:27 +01:00
collie.c explicitly include qom/cpu.h 2016-05-19 16:42:27 +02:00
cubieboard.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
digic_boards.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
digic.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
exynos4_boards.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
exynos4210.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
fsl-imx6.c Add ENET device to i.MX6 SOC. 2016-06-02 10:42:46 +08:00
fsl-imx25.c Add ENET/Gbps Ethernet support to FEC device 2016-06-02 10:42:46 +08:00
fsl-imx31.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
gumstix.c machine: Use type_init() to register machine classes 2016-03-16 15:34:05 -03:00
highbank.c hw/arm: QOM'ify highbank.c 2016-05-12 13:42:06 +01:00
imx25_pdk.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
integratorcp.c hw/arm: QOM'ify integratorcp.c 2016-05-12 13:42:06 +01:00
kzm.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
mainstone.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
Makefile.objs i.MX: Add sabrelite i.MX6 emulation. 2016-05-12 13:22:29 +01:00
musicpal.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
netduino2.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
nseries.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
omap1.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
omap2.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
omap_sx1.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
palm.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
palmetto-bmc.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
pxa2xx_gpio.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
pxa2xx_pic.c hw/arm: QOM'ify pxa2xx_pic.c 2016-05-12 13:42:08 +01:00
pxa2xx.c hw/arm: QOM'ify pxa2xx.c 2016-05-12 13:42:07 +01:00
raspi.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
realview.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
sabrelite.c i.MX: Add sabrelite i.MX6 emulation. 2016-05-12 13:22:29 +01:00
spitz.c hw/arm: QOM'ify spitz.c 2016-05-12 13:42:09 +01:00
stellaris.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
stm32f205_soc.c arm: include cpu-qom.h in files that require ARMCPU 2016-05-19 16:42:27 +02:00
strongarm.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
strongarm.h arm: include cpu-qom.h in files that require ARMCPU 2016-05-19 16:42:27 +02:00
sysbus-fdt.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
tosa.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
versatilepb.c hw/arm: QOM'ify versatilepb.c 2016-05-12 13:42:12 +01:00
vexpress.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
virt-acpi-build.c hw/arm/virt: fix limit of 64-bit ACPI/ECAM PCI MMIO range 2016-06-06 16:59:28 +01:00
virt.c machine: add properties to compat_props incrementaly 2016-05-20 14:28:54 -03:00
xilinx_zynq.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
xlnx-ep108.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
xlnx-zynqmp.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
z2.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00