diff options
author | Cédric Le Goater <clg@kaod.org> | 2018-06-08 13:15:32 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-06-08 13:15:32 +0100 |
commit | 5141d4158cf0dbdc13e42f175d1718d40b789f75 (patch) | |
tree | bf02ff272c838cc6688e7887ee236a68b1498a5f /tests/tmp105-test.c | |
parent | 3d165f12db211c0c17e937a87551d869b25a82db (diff) |
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>
Diffstat (limited to 'tests/tmp105-test.c')
-rw-r--r-- | tests/tmp105-test.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/tmp105-test.c b/tests/tmp105-test.c index d093cffe1e..34cae7a582 100644 --- a/tests/tmp105-test.c +++ b/tests/tmp105-test.c @@ -14,8 +14,6 @@ #include "qapi/qmp/qdict.h" #include "hw/misc/tmp105_regs.h" -#define OMAP2_I2C_1_BASE 0x48070000 - #define TMP105_TEST_ID "tmp105-test" #define TMP105_TEST_ADDR 0x49 |