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

2024-01-19 Thread Peter Maydell
On Mon, 15 Jan 2024 at 18:28, Guenter Roeck  wrote:
>
> 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
>



Applied to target-arm.next, thanks.

-- PMM



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

2024-01-15 Thread Guenter Roeck
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(-)