Messages in this thread | | | From | Ken Wilson <> | Subject | [PATCHv2 0/2] spi: orion: Add multiple chip select support to spi-orion | Date | Mon, 12 Jan 2015 13:13:58 +1000 |
| |
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
| |