qemu-arm.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-arm] [PATCH v3 0/7] Add support for the Epson RX8900 RTC to the aspeed board
@ 2016-12-02  5:46 Alastair D'Silva
  2016-12-02  5:46 ` [Qemu-arm] [PATCH v3 1/7] arm: Uniquely name imx25 I2C buses Alastair D'Silva
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Alastair D'Silva @ 2016-12-02  5:46 UTC (permalink / raw)
  To: qemu-arm
  Cc: Peter Maydell, Andrew Jeffery, qemu-devel, Joel Stanley,
	Alastair D'Silva, Cédric Le Goater

From: Alastair D'Silva <alastair@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.

Changelog:
v3:
 - Add a table to Aspeed for i2c devices
 - Add range checks for time components
 - Shorten trace messages
 - Use qemu generated i2c bus names
 - Address style comments from Alexey for rx8900 driver
 - Fix long lines in qtest harness
 - Remove trailing whitespace in hw/arm/pxa
 - Remove stray headers from rx8900 driver
 - Support low voltage detection in rx8900 driver
v2:
 - Avoid using error_report
 - Fix TIE behaviour
 - Move temperature init out of reset, it should not change
   on a soft reset
 - Fix IRQ in test failures
 - Add a NULL check for i2c slave init callbacks, so that we
   no longer need to implement empty init functions.
 - Refactor to use the existing qemu trace infrastructure
 - Move the RX8900 definition into the aspeed machine init
 - It it possible for check_update_interrupt_seconds in the
   rx8900 test to return 6, depending on the alignment with
   the wall clock.
 - Support low voltage detection

Alastair D'Silva (7):
  arm: Uniquely name imx25 I2C buses.
  hw/arm: remove trailing whitespace
  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                 |  58 ++-
 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                   |  18 +-
 hw/i2c/core.c                   |   6 +-
 hw/i2c/imx_i2c.c                |   2 +-
 hw/timer/Makefile.objs          |   2 +
 hw/timer/ds1338.c               |   6 -
 hw/timer/rx8900.c               | 912 ++++++++++++++++++++++++++++++++++++++++
 hw/timer/rx8900_regs.h          | 141 +++++++
 hw/timer/trace-events           |  31 ++
 include/hw/irq.h                |  13 +-
 qtest.c                         | 102 +++--
 tests/Makefile.include          |   2 +
 tests/libqtest.c                |  88 +++-
 tests/libqtest.h                |  59 +++
 tests/rx8900-test.c             | 882 ++++++++++++++++++++++++++++++++++++++
 20 files changed, 2276 insertions(+), 74 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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2016-12-15  1:51 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-02  5:46 [Qemu-arm] [PATCH v3 0/7] Add support for the Epson RX8900 RTC to the aspeed board Alastair D'Silva
2016-12-02  5:46 ` [Qemu-arm] [PATCH v3 1/7] arm: Uniquely name imx25 I2C buses Alastair D'Silva
2016-12-14 17:41   ` Peter Maydell
2016-12-14 17:54     ` Cédric Le Goater
2016-12-02  5:46 ` [Qemu-devel] [PATCH v3 2/7] hw/arm: remove trailing whitespace Alastair D'Silva
2016-12-14 18:05   ` Peter Maydell
2016-12-02  5:46 ` [Qemu-devel] [PATCH v3 3/7] hw/i2c: Add a NULL check for i2c slave init callbacks Alastair D'Silva
2016-12-14 18:05   ` [Qemu-arm] " Peter Maydell
2016-12-02  5:46 ` [Qemu-devel] [PATCH v3 4/7] qtest: Support named interrupts Alastair D'Silva
2016-12-14 18:29   ` [Qemu-arm] " Peter Maydell
2016-12-14 23:19     ` Alastair D'Silva
2016-12-02  5:46 ` [Qemu-arm] [PATCH v3 5/7] hw/timer: Add Epson RX8900 RTC support Alastair D'Silva
2016-12-14 18:02   ` Peter Maydell
2016-12-15  0:48     ` Alastair D'Silva
2016-12-02  5:46 ` [Qemu-arm] [PATCH v3 6/7] tests: Test all implemented RX8900 functionality Alastair D'Silva
2016-12-02  5:46 ` [Qemu-arm] [PATCH v3 7/7] arm: Add an RX8900 RTC to the ASpeed board Alastair D'Silva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).