All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v5 00/14] arm: nRF51 Devices and Microbit Support
@ 2018-11-12 21:42 Steffen Görtz
  2018-11-12 21:42 ` [Qemu-devel] [PATCH v5 01/14] qtest: Add set_irq_in command to set IRQ/GPIO level Steffen Görtz
                   ` (18 more replies)
  0 siblings, 19 replies; 34+ messages in thread
From: Steffen Görtz @ 2018-11-12 21:42 UTC (permalink / raw)
  To: qemu-devel
  Cc: Stefan Hajnoczi, Joel Stanley, Jim Mussared, Julia Suvorova,
	Peter Maydell, Thomas Huth, Laurent Vivier, Steffen Görtz

This series contains additional peripheral devices for the nRF51822
microcontroller. 

Included devices:
- Random Number Generator
- Non-volatile Memories
- General purpose I/O
- Timer 
- Stub for clock peripheral

v5:
	* Nearly entirely new timer. The old timer had a lot of flaws. Review marks removed.
    * Basic test for new timer
    * Flash memory is now implemented by NRF51 NVM using a rom_device; Obeys write_enable and erase_enable.
    * Removed wrapper around qtest_set_irq (Thomas).
    * Use g_assert_not_reached in complementary default case in nrf51_gpio (Peter).
    * Revised multiline comments. 

v4:
    * Use int's instead of long's in set_irq_in, allow arbitrary base, fix documentation (Laurent)
    * Do not clear UICR on reset (Stefan)
    * Remove c99 style variable declaration (Peter)
    * Default case for is_connected (Stefan)
    * Timer retrigger after live migration (Stefan)
    * Various small fixes (Stefan)

v3:
    * Included device instantiation in this patch
    * All devices use the common definitions provided by the header
    * Removed obsolete comment from NVM header
    * Device Struct names have consistent capitalisation

v2:
    * Factored out common definitions to won header (Stefan)
    * Add set_irq_in command to support tests for GPIO
    * Add tests for GPIO
    * Removed LED matrix from this patch set
    * Small tidy ups on RNG, NVM, GPIO and Timer


Based-on: 20181025005052.27661-1-jusual@mail.ru

Steffen Görtz (14):
  qtest: Add set_irq_in command to set IRQ/GPIO level
  arm: Add header to host common definition for nRF51 SOC peripherals
  hw/misc/nrf51_rng: Add NRF51 random number generator peripheral
  arm: Instantiate NRF51 random number generator
  hw/nvram/nrf51_nvm: Add nRF51 non-volatile memories
  arm: Instantiate NRF51 special NVM's and NVMC
  tests: Add bbc:microbit / nRF51 test suite
  hw/gpio/nrf51_gpio: Add nRF51 GPIO peripheral
  arm: Instantiate NRF51 general purpose I/O
  tests/microbit-test: Add Tests for nRF51 GPIO
  hw/timer/nrf51_timer: Add nRF51 Timer peripheral
  arm: Instantiate NRF51 Timers
  tests/microbit-test: Add Tests for nRF51 Timer
  arm: Add Clock peripheral stub to NRF51 SOC

 Makefile.objs                  |   1 +
 hw/arm/nrf51_soc.c             | 152 ++++++++++---
 hw/gpio/Makefile.objs          |   1 +
 hw/gpio/nrf51_gpio.c           | 300 ++++++++++++++++++++++++++
 hw/gpio/trace-events           |   7 +
 hw/misc/Makefile.objs          |   1 +
 hw/misc/nrf51_rng.c            | 262 +++++++++++++++++++++++
 hw/nvram/Makefile.objs         |   1 +
 hw/nvram/nrf51_nvm.c           | 378 +++++++++++++++++++++++++++++++++
 hw/timer/Makefile.objs         |   1 +
 hw/timer/nrf51_timer.c         | 337 +++++++++++++++++++++++++++++
 hw/timer/trace-events          |   5 +
 include/hw/arm/nrf51.h         |  45 ++++
 include/hw/arm/nrf51_soc.h     |  11 +
 include/hw/char/nrf51_uart.h   |   1 -
 include/hw/gpio/nrf51_gpio.h   |  69 ++++++
 include/hw/misc/nrf51_rng.h    |  83 ++++++++
 include/hw/nvram/nrf51_nvm.h   |  64 ++++++
 include/hw/timer/nrf51_timer.h |  81 +++++++
 qtest.c                        |  43 ++++
 tests/Makefile.include         |   2 +
 tests/libqtest.c               |  10 +
 tests/libqtest.h               |  13 ++
 tests/microbit-test.c          | 358 +++++++++++++++++++++++++++++++
 24 files changed, 2197 insertions(+), 29 deletions(-)
 create mode 100644 hw/gpio/nrf51_gpio.c
 create mode 100644 hw/gpio/trace-events
 create mode 100644 hw/misc/nrf51_rng.c
 create mode 100644 hw/nvram/nrf51_nvm.c
 create mode 100644 hw/timer/nrf51_timer.c
 create mode 100644 include/hw/arm/nrf51.h
 create mode 100644 include/hw/gpio/nrf51_gpio.h
 create mode 100644 include/hw/misc/nrf51_rng.h
 create mode 100644 include/hw/nvram/nrf51_nvm.h
 create mode 100644 include/hw/timer/nrf51_timer.h
 create mode 100644 tests/microbit-test.c

-- 
2.19.1

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

end of thread, other threads:[~2018-12-16 12:42 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-12 21:42 [Qemu-devel] [PATCH v5 00/14] arm: nRF51 Devices and Microbit Support Steffen Görtz
2018-11-12 21:42 ` [Qemu-devel] [PATCH v5 01/14] qtest: Add set_irq_in command to set IRQ/GPIO level Steffen Görtz
2018-11-13  6:30   ` Thomas Huth
2018-11-13  9:38   ` Laurent Vivier
2018-11-12 21:42 ` [Qemu-devel] [PATCH v5 02/14] arm: Add header to host common definition for nRF51 SOC peripherals Steffen Görtz
2018-11-12 21:42 ` [Qemu-devel] [PATCH v5 03/14] hw/misc/nrf51_rng: Add NRF51 random number generator peripheral Steffen Görtz
2018-11-12 21:42 ` [Qemu-devel] [PATCH v5 04/14] arm: Instantiate NRF51 random number generator Steffen Görtz
2018-11-12 21:42 ` [Qemu-devel] [PATCH v5 05/14] hw/nvram/nrf51_nvm: Add nRF51 non-volatile memories Steffen Görtz
2018-11-16 16:24   ` Peter Maydell
2018-11-26  0:24     ` Steffen Görtz
2018-11-26 17:43       ` Peter Maydell
2018-12-16  6:20         ` Stefan Hajnoczi
2018-12-16 12:40           ` Peter Maydell
2018-11-12 21:42 ` [Qemu-devel] [PATCH v5 06/14] arm: Instantiate NRF51 special NVM's and NVMC Steffen Görtz
2018-11-16 16:25   ` Peter Maydell
2018-11-16 18:04   ` Stefan Hajnoczi
2018-11-12 21:42 ` [Qemu-devel] [PATCH v5 07/14] tests: Add bbc:microbit / nRF51 test suite Steffen Görtz
2018-11-13  6:40   ` Thomas Huth
2018-11-26  0:35     ` Steffen Görtz
2018-11-12 21:42 ` [Qemu-devel] [PATCH v5 08/14] hw/gpio/nrf51_gpio: Add nRF51 GPIO peripheral Steffen Görtz
2018-11-12 21:42 ` [Qemu-devel] [PATCH v5 09/14] arm: Instantiate NRF51 general purpose I/O Steffen Görtz
2018-11-12 21:42 ` [Qemu-devel] [PATCH v5 10/14] tests/microbit-test: Add Tests for nRF51 GPIO Steffen Görtz
2018-11-12 21:42 ` [Qemu-devel] [PATCH v5 11/14] hw/timer/nrf51_timer: Add nRF51 Timer peripheral Steffen Görtz
2018-11-16 16:37   ` Peter Maydell
2018-11-12 21:42 ` [Qemu-devel] [PATCH v5 12/14] arm: Instantiate NRF51 Timers Steffen Görtz
2018-11-12 21:42 ` [Qemu-devel] [PATCH v5 13/14] tests/microbit-test: Add Tests for nRF51 Timer Steffen Görtz
2018-11-16 18:19   ` Stefan Hajnoczi
2018-11-12 21:42 ` [Qemu-devel] [PATCH v5 14/14] arm: Add Clock peripheral stub to NRF51 SOC Steffen Görtz
2018-11-13 19:45 ` [Qemu-devel] [PATCH v5 00/14] arm: nRF51 Devices and Microbit Support no-reply
2018-11-13 19:55 ` no-reply
2018-11-16 16:07 ` Peter Maydell
2018-11-19 13:02 ` Stefan Hajnoczi
2018-11-20 18:01   ` Steffen Görtz
2018-12-16  6:22 ` Stefan Hajnoczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.