spi: Add support for dual and quad mode
authorMugunthan V N <mugunthanvnm@ti.com>
Wed, 23 Dec 2015 15:09:37 +0000 (20:39 +0530)
committerJagan Teki <jteki@openedev.com>
Wed, 13 Jan 2016 13:17:27 +0000 (18:47 +0530)
commitf8e2f92d41f1ddbb14174c47deb4d0fce87a1fc0
tree30c622928294c0e369ad5cfd6de76dffe01214f0
parent223091443ccf821e0abdc8ead8441424321c5d3c
spi: Add support for dual and quad mode

spi bus can support dual and quad wire data transfers for tx and
rx. So defining dual and quad modes for both tx and rx. Also add
support to parse bus width used for spi tx and rx transfers.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/spi/spi-uclass.c
include/spi.h