Hi Kangjie, On Sun, Jul 26, 2026 at 8:30 PM Kangjie Huang <[email protected]> wrote: > > Add a SysBus model for the K230 DesignWare SSI controllers. > > Implement the register layout, reset values, writable masks, FIFO state, > chip-select GPIOs, and the MMIO regions needed by the K230 machine, > based on the K230 Technical Reference Manual. The controller is not > instantiated by this patch.
Please split the model into 2 models: - One generic model for Synopsys DesignWare SSI controller - One K230 specific wrapper model on top of the Synopsys DesignWare SSI controller [optional, if the generic model is enough to make the k230 software happy] This way we can reuse the Synopsys DesignWare SSI controller model by other machines in the future. > > Signed-off-by: Kangjie Huang <[email protected]> > --- > hw/ssi/Kconfig | 4 + > hw/ssi/k230_dw_ssi.c | 795 +++++++++++++++++++++++++++++++++++ > hw/ssi/meson.build | 1 + > include/hw/ssi/k230_dw_ssi.h | 50 +++ > 4 files changed, 850 insertions(+) > create mode 100644 hw/ssi/k230_dw_ssi.c > create mode 100644 include/hw/ssi/k230_dw_ssi.h > Regards, Bin
