]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
spi: mxs: Allow other chip selects to work
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 23 Apr 2012 08:30:50 +0000 (08:30 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 May 2012 06:31:35 +0000 (08:31 +0200)
commit148ca64f327a89ef77e84756f5d351af33e59b64
tree9d2c2d1c16ced71cc1396f708739ed44f6e9c43b
parent79cb14ab39f970b85204ab1b2f796b02bb65335d
spi: mxs: Allow other chip selects to work

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 <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
drivers/spi/mxs_spi.c