When the CS line is not connected, it is not needed to enable or disable the chip selection functionality from the s3c64xx devices in order to perform a transfer. Set the CS controller logically always enabled already during initialization (by writing '0' in the S3C64XX_SPI_SLAVE_SEL register) and never disable it.
Showing the changes to include/linux/platform_data (1 of 3 files). Show all
Unified · Split
| @@ -38,6 +38,7 @@ struct s3c64xx_spi_csinfo { · 37 unmodified lines | |||
| 38 | struct s3c64xx_spi_info { | 38 | struct s3c64xx_spi_info { |
| 39 | int src_clk_nr; | 39 | int src_clk_nr; |
| 40 | int num_cs; | 40 | int num_cs; |
| 41 | bool no_cs; | ||
| 41 | int (*cfg_gpio)(void); | 42 | int (*cfg_gpio)(void); |
| 42 | dma_filter_fn filter; | 43 | dma_filter_fn filter; |
| 43 | void *dma_tx; | 44 | void *dma_tx; |