Skip to content

hw/arm: Add support for USB, SATA, and watchdog to Allwinner R40

Guenter Roeck qemu-arm qemu-devel 2 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. v2 Latest3 patches 5 repliesApplied
  2. v13 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- The USB Controllers are part of the chipset, so instantiate them unconditionally
- Add Reviewed-by: tag to patch 2/3

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3hw/arm: Add EHCI/OHCI controllers to Allwinner R40 and Bananapi boarddocs/system/arm/bananapi_m2u.rst hw/arm/Kconfig hw/arm/allwinner-r40.c +1 more+57 -31 reply
2/3hw/arm: Add AHCI/SATA controller to Allwinner R40 and Bananapi boarddocs/system/arm/bananapi_m2u.rst hw/arm/Kconfig hw/arm/allwinner-r40.c +1 more+16 -10 replies
3/3hw/arm: Add watchdog timer to Allwinner H40 and Bananapi boarddocs/system/arm/bananapi_m2u.rst hw/arm/Kconfig hw/arm/allwinner-r40.c +1 more+13 -13 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéStrahinja Jankovic
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] hw/arm: Add support for USB, SATA, and watchdog to Allwinner R40

Add support for

- USB 2.0 EHCI/OHCI
- SATA/AHCI
- Watchdog

to Allwinner R40. The hardware is quite similar to Allwinner A10 and H3, so the code is derived from the implementations for those SOCs.

Tested with bpim2u emulation by instantiating EHCI and OHCI keyboards, by booting from USB, by booting from ATA/SATA drive, and by manually testing watchdog operation.

v2:
- The USB Controllers are part of the chipset, so instantiate them unconditionally
- Add Reviewed-by: tag to patch 2/3

----------------------------------------------------------------
Guenter Roeck (3):
hw/arm: Add EHCI/OHCI controllers to Allwinner R40 and Bananapi board hw/arm: Add AHCI/SATA controller to Allwinner R40 and Bananapi board hw/arm: Add watchdog timer to Allwinner H40 and Bananapi board

 docs/system/arm/bananapi_m2u.rst |  5 +--
 hw/arm/Kconfig                   |  4 +++
 hw/arm/allwinner-r40.c           | 67 ++++++++++++++++++++++++++++++++++++++--
 include/hw/arm/allwinner-r40.h   | 15 +++++++++
 4 files changed, 86 insertions(+), 5 deletions(-)