qemu/hw/ssi
Chalapathi V bb44dc4862 hw/ppc: SPI controller wiring to P10 chip
In this commit, create SPI controller on p10 chip and connect cs irq.

The QOM tree of pnv-spi and seeprom are.
/machine (powernv10-machine)
  /chip[0] (power10_v2.0-pnv-chip)
    /pib_spic[2] (pnv-spi)
      /pnv-spi-bus.2 (SSI)
      /xscom-spi[0] (memory-region)

/machine (powernv10-machine)
  /peripheral-anon (container)
    /device[0] (25csm04)
      /WP#[0] (irq)
      /ssi-gpio-cs[0] (irq)

(qemu) qom-get /machine/peripheral-anon /device[76] "parent_bus"
"/machine/chip[0]/pib_spic[2]/pnv-spi-bus.2"

Signed-off-by: Chalapathi V <chalapathi.v@linux.ibm.com>
Reviewed-by: Glenn Miles <milesg@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
2024-07-26 09:21:06 +10:00
..
aspeed_smc.c aspeed/smc: Fix possible integer overflow 2024-07-21 07:46:38 +02:00
bcm2835_spi.c hw/ssi: Implement BCM2835 SPI Controller 2024-02-02 13:51:59 +00:00
ibex_spi_host.c hw/ssi: Constify VMState 2023-12-30 07:38:06 +11:00
imx_spi.c hw/misc/imx: Replace sprintf() by snprintf() 2024-04-25 12:48:12 +02:00
Kconfig hw/ssi: Add SPI model 2024-07-26 09:21:06 +10:00
meson.build hw/ssi: Add SPI model 2024-07-26 09:21:06 +10:00
mss-spi.c hw/ssi: Constify VMState 2023-12-30 07:38:06 +11:00
npcm7xx_fiu.c hw, target: Add ResetType argument to hold and exit phase methods 2024-04-25 10:21:06 +01:00
npcm_pspi.c hw/ssi: Constify VMState 2023-12-30 07:38:06 +11:00
omap_spi.c hw/arm/omap: Drop useless casts from void * to pointer 2023-01-12 17:15:09 +00:00
pl022.c hw/ssi: Constify VMState 2023-12-30 07:38:06 +11:00
pnv_spi.c hw/ppc: SPI controller wiring to P10 chip 2024-07-26 09:21:06 +10:00
sifive_spi.c hw/ssi/sifive_spi.c: spelling: reigster 2023-01-17 10:02:37 +01:00
ssi.c hw/ssi: Constify VMState 2023-12-30 07:38:06 +11:00
stm32f2xx_spi.c hw/ssi: Constify VMState 2023-12-30 07:38:06 +11:00
trace-events hw/ssi: Extend SPI model 2024-07-26 09:21:06 +10:00
trace.h
xilinx_spi.c hw/ssi: Constify VMState 2023-12-30 07:38:06 +11:00
xilinx_spips.c hw/ssi: Constify VMState 2023-12-30 07:38:06 +11:00
xlnx-versal-ospi.c xlnx-versal-ospi: disable reentrancy detection for iomem_dac 2024-02-27 13:01:41 +00:00