You may also need this: The Linux kernel configuration item CONFIG_SPI_PXA2XX:
prompt: PXA2xx SSP SPI master
type: tristate
depends on: CONFIG_ARCH_PXA || CONFIG_ARCH_MMP || CONFIG_PCI || CONFIG_ACPI || CONFIG_COMPILE_TEST
defined in drivers/spi/Kconfig
found in Linux kernels: 2.6.17–2.6.39, 3.0–3.19, 4.0–4.20, 5.0–5.19, 6.0–6.3
modules built: pxa2xx_spi, spi-pxa2xx-platform, spi-pxa2xx