spi/orion: Add SPI_CHPA and SPI_CPOL support to kirkwood driver.
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Wed, 21 Nov 2012 19:23:35 +0000 (12:23 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 6 Dec 2012 14:24:52 +0000 (14:24 +0000)
Support these transfer modes from the SPI layer by setting
the appropriate register bits before doing the transfer.

This was tested on the Marvell kirkwood SOC that uses this driver.

Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Rolf Manderscheid <rvm@obsidianresearch.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

No differences found