Revision 4cff33f94fefcce1b3c01a9d1da6bb85fe3cbdfa authored by Imre Deak on 17 February 2006, 18:02:18 UTC, committed by Greg Kroah-Hartman on 16 May 2006, 21:33:56 UTC
Some protocols (like one for some bitmap displays) require different clock
speed or word size settings for each transfer in an SPI message. This adds
those parameters to struct spi_transfer.  They are to be used when they are
nonzero; otherwise the defaults from spi_device are to be used.

The patch also adds a setup_transfer callback to spi_bitbang, uses it for
messages that use those overrides, and implements it so that the pure
bitbanging code can help resolve any questions about how it should work.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 716f895
History
File Mode Size
drivers
include
kernel
os-Linux
scripts
sys-i386
sys-ia64
sys-ppc
sys-x86_64
Kconfig -rw-r--r-- 9.2 KB
Kconfig.char -rw-r--r-- 7.6 KB
Kconfig.debug -rw-r--r-- 1.7 KB
Kconfig.i386 -rw-r--r-- 1.4 KB
Kconfig.net -rw-r--r-- 7.8 KB
Kconfig.scsi -rw-r--r-- 1.2 KB
Kconfig.x86_64 -rw-r--r-- 622 bytes
Makefile -rw-r--r-- 7.2 KB
Makefile-i386 -rw-r--r-- 1013 bytes
Makefile-ia64 -rw-r--r-- 32 bytes
Makefile-os-Linux -rw-r--r-- 198 bytes
Makefile-ppc -rw-r--r-- 203 bytes
Makefile-skas -rw-r--r-- 290 bytes
Makefile-tt -rw-r--r-- 81 bytes
Makefile-x86_64 -rw-r--r-- 481 bytes
config.release -rw-r--r-- 6.8 KB
defconfig -rw-r--r-- 11.1 KB

back to top