[PATCHv2 0/2] spi: orion: Add multiple chip select support to spi-orion

From: Ken Wilson
Date: Sun Jan 11 2015 - 22:16:14 EST


Hello,

This patch series adds multiple chip select support for the spi-orion driver.
The first patch moves spi-orion to use the spi setup/set_cs/transfer_one
function pointers, which reduces duplicated code, and simplifies the chip
select support implementation.

The second patch adds support for multiple chip selects. Currently
there is no additional support for gpio chip selects, as I do not
have a board to test that with.

These patches have been tested on an Armada 375 with 2 SPI-NOR chips.

Thanks,
Ken

Ken Wilson (2):
spi: orion: Change spi-orion to use transfer_one() semantics for SPI
transfers
spi: orion: Add multiple chip select support to spi-orion

.../devicetree/bindings/spi/spi-orion.txt | 3 +
drivers/spi/spi-orion.c | 90 +++++++++-------------
2 files changed, 41 insertions(+), 52 deletions(-)

--
2.0.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/