]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
spi: davinci: add support for multiple bus and chip select
authorKaricheri, Muralidharan <m-karicheri2@ti.com>
Fri, 4 Apr 2014 17:16:54 +0000 (13:16 -0400)
committerTom Rini <trini@ti.com>
Thu, 17 Apr 2014 21:24:39 +0000 (17:24 -0400)
commit2bcdf84d5820320724932199fddeed32d2d49e4a
treec06f57ba2eecebc37b037af0b4ce4a2f608b352f
parentef509b9063fb702ce69d1a64ff293698a04075d6
spi: davinci: add support for multiple bus and chip select

Currently davinci spi driver supports only bus 0 cs 0.
This patch allows driver to support bus 1 and bus 2 with
configurable number of chip selects. Also defaults are
selected in a way to avoid regression on other platforms
that uses davinci spi driver and has only one spi bus.

Signed-off-by: Rex Chang <rchang@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
drivers/spi/davinci_spi.c
drivers/spi/davinci_spi.h