Add emulation of MEN Chameleon Hardware to Qemu. This emulation is specifically designed to test the upstream Linux kernel drivers when one has no access to the hardware.
The emulation consists of the bus itself, a PCI hardware target creating the bus, MEN Micro Electronic's 8250 based UART via MCB and a watchdog timer. Johannes Thumshirn (4): Add MEN Chameleon Bus emulation Add MEN Chameleon Bus via PCI carrier serial-mcb: Add serial via MEN chameleon bus wdt_z069: Add support for MEN 16z069 Watchdog MAINTAINERS | 6 + hw/Kconfig | 1 + hw/char/Kconfig | 6 + hw/char/meson.build | 1 + hw/char/serial-mcb.c | 115 +++++++++++++++ hw/mcb/Kconfig | 8 ++ hw/mcb/mcb-pci.c | 307 ++++++++++++++++++++++++++++++++++++++++ hw/mcb/mcb.c | 182 ++++++++++++++++++++++++ hw/mcb/meson.build | 2 + hw/meson.build | 1 + hw/watchdog/Kconfig | 5 + hw/watchdog/meson.build | 1 + hw/watchdog/wdt_z069.c | 218 ++++++++++++++++++++++++++++ include/hw/mcb/mcb.h | 106 ++++++++++++++ 14 files changed, 959 insertions(+) create mode 100644 hw/char/serial-mcb.c create mode 100644 hw/mcb/Kconfig create mode 100644 hw/mcb/mcb-pci.c create mode 100644 hw/mcb/mcb.c create mode 100644 hw/mcb/meson.build create mode 100644 hw/watchdog/wdt_z069.c create mode 100644 include/hw/mcb/mcb.h -- 2.39.2