--- zzzz-none-000/linux-5.15.111/drivers/spi/spi-pxa2xx.h 2023-05-11 14:00:40.000000000 +0000 +++ puma7-atom-6670-761/linux-5.15.111/drivers/spi/spi-pxa2xx.h 2024-02-07 10:23:20.000000000 +0000 @@ -68,6 +68,7 @@ u32 threshold; u16 lpss_rx_threshold; u16 lpss_tx_threshold; + u8 chip_select; int (*write)(struct driver_data *drv_data); int (*read)(struct driver_data *drv_data); @@ -75,6 +76,10 @@ void (*cs_control)(u32 command); }; +struct pxa2xx_spi_acpi_desc { + unsigned int cs_num; +}; + static inline u32 pxa2xx_spi_read(const struct driver_data *drv_data, u32 reg) { return pxa_ssp_read_reg(drv_data->ssp, reg);