hw/ssi: Allwinner A10 SPI emulation
authorStrahinja Jankovic <strahinjapjankovic@gmail.com>
Mon, 14 Oct 2024 16:05:52 +0000 (17:05 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Oct 2024 14:16:17 +0000 (15:16 +0100)
commit8d3dfb6205a9e00dff30c09e4f6f0d274a090dbe
tree414f3c8aff5603e644881f07fa73c251f3f37048
parent88446cfe064440948e91415886517dd5aac07dc6
hw/ssi: Allwinner A10 SPI emulation

This patch implements Allwinner A10 SPI controller emulation.
Only master-mode functionality is implemented.

Since U-Boot and Linux SPI drivers for Allwinner A10 perform only
byte-wide CPU access (no DMA) to the transmit and receive registers of
the peripheral, the emulated controller does not implement DMA control,
and supports only byte-wide access to transmit and receive registers
(half-word and word accesses will be treated as byte accesses).

Signed-off-by: Strahinja Jankovic <strahinja.p.jankovic@gmail.com>
Message-id: 20241001221349.8319-2-strahinja.p.jankovic@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/ssi/Kconfig
hw/ssi/allwinner-a10-spi.c [new file with mode: 0644]
hw/ssi/meson.build
hw/ssi/trace-events
include/hw/ssi/allwinner-a10-spi.h [new file with mode: 0644]