On 27/10/26 19:38, Brian Cain wrote:
Add a model of the QUP GENI serial engine in UART mode.
Supports FIFO, DMA, loopback modes - DMA via memory link.
Signed-off-by: Brian Cain <[email protected]>
---
MAINTAINERS | 1 +
docs/system/device-emulation.rst | 1 +
docs/system/devices/qup.rst | 10 +
Cargo.lock | 15 +
Cargo.toml | 1 +
rust/hw/char/Kconfig | 4 +
rust/hw/char/meson.build | 1 +
rust/hw/char/qup_geni_uart/Cargo.toml | 27 +
rust/hw/char/qup_geni_uart/meson.build | 28 +
rust/hw/char/qup_geni_uart/src/device.rs | 1293 +++++++++++++++++++
Too big for me to review (not sure if easily splittable), I'll skip.
rust/hw/char/qup_geni_uart/src/lib.rs | 9 +
rust/hw/char/qup_geni_uart/src/registers.rs | 160 +++
12 files changed, 1550 insertions(+)
create mode 100644 docs/system/devices/qup.rst
create mode 100644 rust/hw/char/qup_geni_uart/Cargo.toml
create mode 100644 rust/hw/char/qup_geni_uart/meson.build
create mode 100644 rust/hw/char/qup_geni_uart/src/device.rs
create mode 100644 rust/hw/char/qup_geni_uart/src/lib.rs
create mode 100644 rust/hw/char/qup_geni_uart/src/registers.rs