Skip to content

hw/arm/raspi: Split the UART block from the AUX block

Philippe Mathieu-Daudé qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hw/char: Add the BCM2835 miniuarthw/char/Makefile.objs hw/char/bcm2835_miniuart.c hw/char/trace-events +1 more+369 -01 reply
2/3hw/char/bcm2835_aux: Use the BCM2835 miniuart blockhw/char/bcm2835_aux.c hw/char/trace-events include/hw/char/bcm2835_aux.h+83 -2110 replies
3/3hw: Move BCM2835 AUX device from hw/char/ to hw/misc/hw/char/Makefile.objs hw/char/trace-events hw/misc/Makefile.objs +4 more+7 -70 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAlistair Francis
1/3A-b
2/3
3/3

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

Read the v1 thread

Cover letter [PATCH 0/3] hw/arm/raspi: Split the UART block from the AUX block

The BCM2838 has many more peripherals than his little brother, the BCM2837. With the raspi4, the Linux kernel takes more steps to configure the various MUXed devices. At some point it started to bug me, so I plan to add a dummy simple BCM2835_SPI block. It is cleaner to add it as a separate device than mixed with the AUX block. As a first step, split the UART block out.

Since this part is self-contained and my raspi4 branch is getting too big, I'm sending it as a single series.

Regards,

Phil.

Philippe Mathieu-Daudé (3):
hw/char: Add the BCM2835 miniuart hw/char/bcm2835_aux: Use the BCM2835 miniuart block
hw: Move BCM2835 AUX device from hw/char/ to hw/misc/

 hw/char/Makefile.objs                   |   2 +-
 hw/char/bcm2835_aux.c                   | 317 -----------------------
 hw/char/bcm2835_miniuart.c              | 327 ++++++++++++++++++++++++
 hw/char/trace-events                    |   4 +
 hw/misc/Makefile.objs                   |   1 +
 hw/misc/bcm2835_aux.c                   | 189 ++++++++++++++
 hw/misc/trace-events                    |   4 +
 include/hw/arm/bcm2835_peripherals.h    |   2 +-
 include/hw/char/bcm2835_miniuart.h      |  37 +++
 include/hw/{char => misc}/bcm2835_aux.h |  10 +-
 10 files changed, 567 insertions(+), 326 deletions(-)
 delete mode 100644 hw/char/bcm2835_aux.c
 create mode 100644 hw/char/bcm2835_miniuart.c
 create mode 100644 hw/misc/bcm2835_aux.c
 create mode 100644 include/hw/char/bcm2835_miniuart.h
 rename include/hw/{char => misc}/bcm2835_aux.h (73%)
Signature · 1 line
2.21.0