MXS SSP controller may have up to three chip selects per port: SS0, SS1 and SS2.
Currently only SS0 is supported in the mxs_spi driver.
Allow all the three chip select to work by selecting the desired one
in bits 20 and 21 of the HW_SSP_CTRL0 register.
Signed-off-by: Fabio Estevam
Dear Fabio Estevam,
MXS SSP controller may have up to three chip selects per port: SS0, SS1 and
SS2.
Currently only SS0 is supported in the mxs_spi driver.
Allow all the three chip select to work by selecting the desired one
in bits 20 and 21 of the HW_SSP_CTRL0 register.
On Monday 23 April 2012 08:43:12 Fabio Estevam wrote:
--- a/drivers/spi/mxs_spi.c
+++ b/drivers/spi/mxs_spi.c
@@ -56,12 +58,19 @@ struct spi_slave *spi_setup_slave(unsigned int bus,
if (bus 3) {
printf(MXS SPI: Max bus number is 3\n);
return NULL;
3 matches
Mail list logo