misc: add pca9552 LED blinker model
commit5141d4158cf0dbdc13e42f175d1718d40b789f75
authorCédric Le Goater <clg@kaod.org>
Fri, 8 Jun 2018 12:15:32 +0000 (8 13:15 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 8 Jun 2018 12:15:32 +0000 (8 13:15 +0100)
treebf02ff272c838cc6688e7887ee236a68b1498a5f
parent3d165f12db211c0c17e937a87551d869b25a82db
misc: add pca9552 LED blinker model

Specs are available here :

    https://www.nxp.com/docs/en/application-note/AN264.pdf

This is a simple model supporting the basic registers for led and GPIO
mode. The device also supports two blinking rates but not the model
yet.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180530064049.27976-7-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
default-configs/arm-softmmu.mak
hw/misc/Makefile.objs
hw/misc/pca9552.c [new file with mode: 0644]
include/hw/misc/pca9552.h [new file with mode: 0644]
include/hw/misc/pca9552_regs.h [new file with mode: 0644]
tests/Makefile.include
tests/libqos/i2c.h
tests/pca9552-test.c [new file with mode: 0644]
tests/tmp105-test.c