]> git.karo-electronics.de Git - linux-beck.git/commit
spi: davinci: enable GPIO lines to be used as chip selects
authorBrian Niebuhr <bniebuhr@efjohnson.com>
Fri, 13 Aug 2010 05:27:44 +0000 (10:57 +0530)
committerSekhar Nori <nsekhar@ti.com>
Thu, 18 Nov 2010 13:08:25 +0000 (18:38 +0530)
commit23853973d9b76eb8b3cf46157689bc6187e141d9
tree3eb97d400cb04c54ed0853b71f4d98415846b7cd
parentcfbc5d1d8fda9d337e912a03502cf77d29870a8e
spi: davinci: enable GPIO lines to be used as chip selects

Sometimes, the chip selects provided by SPI module are
muxed with other functionality and cannot be used in
some designs. In such cases, it becomes convenient to use
an available GPIO line as chip select.

This patch enables the DaVinci SPI driver to treat specific
GPIO lines as chip selects based on information provided in
platform data.

Signed-off-by: Brian Niebuhr <bniebuhr@efjohnson.com>
Tested-By: Michael Williamson <michael.williamson@criticallink.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/include/mach/spi.h
drivers/spi/davinci_spi.c