--- zzzz-none-000/linux-4.9.279/drivers/spi/spi-pxa2xx.h 2021-08-08 06:38:54.000000000 +0000 +++ puma7-atom-6591-750/linux-4.9.279/drivers/spi/spi-pxa2xx.h 2023-02-08 11:43:42.000000000 +0000 @@ -82,6 +82,7 @@ u16 lpss_rx_threshold; u16 lpss_tx_threshold; u8 enable_dma; + u8 chip_select; union { int gpio_cs; unsigned int frm; @@ -92,6 +93,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, unsigned reg) {