Skip to content

arm: Add nRF51 SoC UART support

Julia Suvorova qemu-devel 3 versions – Applied

Status from this message: Applied to target-arm.next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 4 repliesApplied
  2. v24 patches 11 repliesSuperseded
  3. v1 RFC3 patches 13 repliesSuperseded

Changes in v3 from the cover letter

* serial_hd() moved to the board code
* sysbus_init_child_obj() used for initialization
* qemu_chr_fe_accept_input() called after byte popping

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3hw/char: Implement nRF51 SoC UARThw/char/Makefile.objs hw/char/nrf51_uart.c hw/char/trace-events +1 more+413 -00 replies
2/3hw/arm/nrf51_soc: Connect UART to nRF51 SoChw/arm/microbit.c hw/arm/nrf51_soc.c include/hw/arm/nrf51_soc.h+25 -01 reply
3/3tests/boot-serial-test: Add microbit board testcasetests/boot-serial-test.c+19 -00 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchThomas HuthStefan HajnocziAlistair Francis
SeriesR-b
1/3
2/3R-b
3/3A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/3] arm: Add nRF51 SoC UART support

This series adds support for the nRF51 SoC UART, that used in BBC Micro:bit board, and QTest for it.

v3:
* serial_hd() moved to the board code
* sysbus_init_child_obj() used for initialization
* qemu_chr_fe_accept_input() called after byte popping

v2:
* Suspend/Enable functionality added
* Connection to SoC moved to a separate patch
* Added QTest for checking reception functionality
* Mini-kernel test changed to fit current implementation
* Addressed review comments on R_*, uart_can_receive, VMState, uart_transmit

Julia Suvorova (3):
hw/char: Implement nRF51 SoC UART hw/arm/nrf51_soc: Connect UART to nRF51 SoC tests/boot-serial-test: Add microbit board testcase

 hw/arm/microbit.c            |   2 +
 hw/arm/nrf51_soc.c           |  20 +++
 hw/char/Makefile.objs        |   1 +
 hw/char/nrf51_uart.c         | 330 +++++++++++++++++++++++++++++++++++
 hw/char/trace-events         |   4 +
 include/hw/arm/nrf51_soc.h   |   3 +
 include/hw/char/nrf51_uart.h |  78 +++++++++
 tests/boot-serial-test.c     |  19 ++
 8 files changed, 457 insertions(+)
 create mode 100644 hw/char/nrf51_uart.c
 create mode 100644 include/hw/char/nrf51_uart.h
Signature · 1 line
2.17.1