spi: orion: Add multiple chip select support to spi-orion
authorKen Wilson <ken.wilson@opengear.com>
Fri, 16 Jan 2015 03:10:47 +0000 (13:10 +1000)
committerMark Brown <broonie@kernel.org>
Fri, 16 Jan 2015 12:38:54 +0000 (12:38 +0000)
commit23244404e2ae788b19245adb1eb604cce1270e72
treeb504f6d2a56eb8ae4792db3cb6a95b5c19dfc230
parent75872ebe96d3e78e86840f51dd4b7ca0abeacd6e
spi: orion: Add multiple chip select support to spi-orion

This commit adds support for multiple hardware chip selects to spi-orion.
Different SoCs support different number of chip selects (up to
8 on some platforms). The driver allows up to this number, and it is up
to the implementer to only use the chip selects that are available.

Signed-off-by: Ken Wilson <ken.wilson@opengear.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-orion.c