History

spi: s3c64xx: consider the case when the CS line is not connected

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.

Andi Shyti committed 10 years ago

Commit a92e7c31 parent aa4964c3 files · +12 −1Browse files

Showing the changes to include/linux/platform_data (1 of 3 files). Show all

Unified · Split

include/linux/platform_data/spi-s3c64xx.h+1−0
@@ -38,6 +38,7 @@ struct s3c64xx_spi_csinfo { · 37 unmodified lines
3838 struct s3c64xx_spi_info {
3939 int src_clk_nr;
4040 int num_cs;
41+ bool no_cs;
4142 int (*cfg_gpio)(void);
4243 dma_filter_fn filter;
4344 void *dma_tx;