29318db133
SPI controller device model supports a connection to a single SPI responder. This provide access to SPI seeproms, TPM, flash device and an ADC controller. All SPI function control is mapped into the SPI register space to enable full control by firmware. In this commit SPI configuration component is modelled which contains all SPI configuration and status registers as well as the hold registers for data to be sent or having been received. An existing QEMU SSI framework is used and SSI_BUS is created. Signed-off-by: Chalapathi V <chalapathi.v@linux.ibm.com> Reviewed-by: Caleb Schlossin <calebs@linux.vnet.ibm.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Glenn Miles <milesg@linux.ibm.com> [np: Fix FDT macro compile for qtest] Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
16 lines
1.0 KiB
Meson
16 lines
1.0 KiB
Meson
system_ss.add(when: 'CONFIG_ASPEED_SOC', if_true: files('aspeed_smc.c'))
|
|
system_ss.add(when: 'CONFIG_MSF2', if_true: files('mss-spi.c'))
|
|
system_ss.add(when: 'CONFIG_NPCM7XX', if_true: files('npcm7xx_fiu.c', 'npcm_pspi.c'))
|
|
system_ss.add(when: 'CONFIG_PL022', if_true: files('pl022.c'))
|
|
system_ss.add(when: 'CONFIG_SIFIVE_SPI', if_true: files('sifive_spi.c'))
|
|
system_ss.add(when: 'CONFIG_SSI', if_true: files('ssi.c'))
|
|
system_ss.add(when: 'CONFIG_STM32F2XX_SPI', if_true: files('stm32f2xx_spi.c'))
|
|
system_ss.add(when: 'CONFIG_XILINX_SPI', if_true: files('xilinx_spi.c'))
|
|
system_ss.add(when: 'CONFIG_XILINX_SPIPS', if_true: files('xilinx_spips.c'))
|
|
system_ss.add(when: 'CONFIG_XLNX_VERSAL', if_true: files('xlnx-versal-ospi.c'))
|
|
system_ss.add(when: 'CONFIG_IMX', if_true: files('imx_spi.c'))
|
|
system_ss.add(when: 'CONFIG_OMAP', if_true: files('omap_spi.c'))
|
|
system_ss.add(when: 'CONFIG_IBEX', if_true: files('ibex_spi_host.c'))
|
|
system_ss.add(when: 'CONFIG_BCM2835_SPI', if_true: files('bcm2835_spi.c'))
|
|
system_ss.add(when: 'CONFIG_PNV_SPI', if_true: files('pnv_spi.c'))
|