commit | b15d5d7004e25716c8b8dfe4e322a64551e2e6cc | [log] [tgz] |
---|---|---|
author | Jason Gunthorpe <jgunthorpe@obsidianresearch.com> | Wed Nov 21 12:23:35 2012 -0700 |
committer | Grant Likely <grant.likely@secretlab.ca> | Thu Dec 06 14:24:52 2012 +0000 |
tree | 21ab3f80f674752509f0f4c440303919c41e023c | |
parent | 746aeffdd97263d8356870a5dfbbdb5f927378e2 [diff] |
spi/orion: Add SPI_CHPA and SPI_CPOL support to kirkwood driver. 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>