]> git.karo-electronics.de Git - linux-beck.git/commit
spi: davinci: make chip-slect specific parameters really chip-select specific
authorBrian Niebuhr <bniebuhr@efjohnson.com>
Mon, 16 Aug 2010 09:35:51 +0000 (15:05 +0530)
committerSekhar Nori <nsekhar@ti.com>
Thu, 18 Nov 2010 13:08:26 +0000 (18:38 +0530)
commit53a31b07c5aea4001bbb36ddd5ef2addffc7ccbd
treed451eb203e78e4e10cb0d4fbc8355d5f6053a834
parent472880c73da124b6cb5cbc31a36754aa62935afe
spi: davinci: make chip-slect specific parameters really chip-select specific

Some chip-select specific paramterers like wdelay, parity, usage of
chip-select timers (and the actual timer values) are included in
platform data forcing the same behaviour across all chip-selects.

Create a new davinci_spi_config data structure which can be passed
along using controller_data member of spi_device data structure
on a per-device basis.

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/dm355.c
arch/arm/mach-davinci/dm365.c
arch/arm/mach-davinci/include/mach/spi.h
drivers/spi/davinci_spi.c