From: Alastair D'Silva <alast...@d-silva.org> This patch series adds support for the Epson RX8900 RTC to the Aspeed board.
The tests use the existing imx25 infrastructure, and some minor changes have been made to uniquely identify the I2C buses. A NULL check have been added to eliminate empty i2cslave init functions. Support for named interrupts has been implemented in qtest to facilitate testing. Alastair D'Silva (6): arm: Uniquely name imx25 I2C buses. hw/i2c: Add a NULL check for i2c slave init callbacks qtest: Support named interrupts hw/timer: Add Epson RX8900 RTC support tests: Test all implemented RX8900 functionality arm: Add an RX8900 RTC to the ASpeed board default-configs/arm-softmmu.mak | 1 + hw/arm/aspeed.c | 12 + hw/arm/imx25_pdk.c | 4 +- hw/arm/pxa2xx.c | 9 +- hw/arm/tosa.c | 7 - hw/arm/z2.c | 7 - hw/core/irq.c | 17 +- hw/i2c/core.c | 6 +- hw/i2c/imx_i2c.c | 6 +- hw/timer/Makefile.objs | 2 + hw/timer/ds1338.c | 6 - hw/timer/rx8900.c | 890 ++++++++++++++++++++++++++++++++++++++++ hw/timer/rx8900_regs.h | 139 +++++++ hw/timer/trace-events | 31 ++ include/hw/irq.h | 12 +- qtest.c | 102 +++-- tests/Makefile.include | 2 + tests/libqtest.c | 87 +++- tests/libqtest.h | 59 +++ tests/rx8900-test.c | 881 +++++++++++++++++++++++++++++++++++++++ 20 files changed, 2208 insertions(+), 72 deletions(-) create mode 100644 hw/timer/rx8900.c create mode 100644 hw/timer/rx8900_regs.h create mode 100644 tests/rx8900-test.c -- 2.9.3