]> git.baikalelectronics.ru Git - kernel.git/commit
/dev/spidevB.C interface
authorAndrea Paterniani <a.paterniani@swapp-eng.it>
Tue, 8 May 2007 07:32:15 +0000 (00:32 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:15 +0000 (11:15 -0700)
commitc96d3326c65f70084325ea195c2a58fa35170dc4
treeedf10598ae95e5729edca3095b60641606b62939
parentad838a3fb47ca8d2e787bb1433530a6a70e9a738
/dev/spidevB.C interface

Add a filesystem API for <linux/spi/spi.h> stack.  The initial version of
this interface is purely synchronous.

dbrownell@users.sourceforge.net:

 Cleaned up, bugfixed; much simplified; added preliminary documentation.

 Works with mdev given CONFIG_SYSFS_DEPRECATED; and presumably udev.

 Updated SPI_IOC_MESSAGE ioctl to full spi_message semantics, supporting
 groups of one or more transfers (each of which may be full duplex if
 desired).

 This is marked as EXPERIMENTAL with an explicit disclaimer that the API
 (notably the ioctls) is subject to change.

Signed-off-by: Andrea Paterniani <a.paterniani@swapp-eng.it>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/spi/spidev [new file with mode: 0644]
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/spidev.c [new file with mode: 0644]
include/linux/Kbuild
include/linux/spi/Kbuild [new file with mode: 0644]
include/linux/spi/spidev.h [new file with mode: 0644]