]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/ssi: Extend SPI model
authorChalapathi V <chalapathi.v@linux.ibm.com>
Wed, 26 Jun 2024 09:05:25 +0000 (04:05 -0500)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 25 Jul 2024 23:21:06 +0000 (09:21 +1000)
commitb4cb930e40f172e2b28a9fbe0189e97469aad648
tree451a2798be710d4e7baf5965b4ec4d4b00ab9c9b
parent29318db133d0b2523bda771f76aa50c08842527f
hw/ssi: Extend SPI model

In this commit SPI shift engine and sequencer logic is implemented.
Shift engine performs serialization and de-serialization according to the
control by the sequencer and according to the setup defined in the
configuration registers. Sequencer implements the main control logic and
FSM to handle data transmit and data receive control of the shift engine.

Signed-off-by: Chalapathi V <chalapathi.v@linux.ibm.com>
Reviewed-by: Caleb Schlossin <calebs@linux.vnet.ibm.com>
Reviewed-by: Glenn Miles <milesg@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/ssi/pnv_spi.c
hw/ssi/trace-events
include/hw/ssi/pnv_spi.h
include/hw/ssi/pnv_spi_regs.h