diff options
Diffstat (limited to 'Documentation/spi')
-rw-r--r-- | Documentation/spi/00-INDEX | 22 | ||||
-rw-r--r-- | Documentation/spi/spi-summary | 17 |
2 files changed, 38 insertions, 1 deletions
diff --git a/Documentation/spi/00-INDEX b/Documentation/spi/00-INDEX new file mode 100644 index 000000000000..a128fa835512 --- /dev/null +++ b/Documentation/spi/00-INDEX | |||
@@ -0,0 +1,22 @@ | |||
1 | 00-INDEX | ||
2 | - this file. | ||
3 | Makefile | ||
4 | - Makefile for the example sourcefiles. | ||
5 | butterfly | ||
6 | - AVR Butterfly SPI driver overview and pin configuration. | ||
7 | ep93xx_spi | ||
8 | - Basic EP93xx SPI driver configuration. | ||
9 | pxa2xx | ||
10 | - PXA2xx SPI master controller build by spi_message fifo wq | ||
11 | spidev | ||
12 | - Intro to the userspace API for spi devices | ||
13 | spidev_fdx.c | ||
14 | - spidev example file | ||
15 | spi-lm70llp | ||
16 | - Connecting an LM70-LLP sensor to the kernel via the SPI subsys. | ||
17 | spi-sc18is602 | ||
18 | - NXP SC18IS602/603 I2C-bus to SPI bridge | ||
19 | spi-summary | ||
20 | - (Linux) SPI overview. If unsure about SPI or SPI in Linux, start here. | ||
21 | spidev_test.c | ||
22 | - SPI testing utility. | ||
diff --git a/Documentation/spi/spi-summary b/Documentation/spi/spi-summary index f72e0d1e0da8..7982bcc4d151 100644 --- a/Documentation/spi/spi-summary +++ b/Documentation/spi/spi-summary | |||
@@ -543,7 +543,22 @@ SPI MASTER METHODS | |||
543 | queuing transfers that arrive in the meantime. When the driver is | 543 | queuing transfers that arrive in the meantime. When the driver is |
544 | finished with this message, it must call | 544 | finished with this message, it must call |
545 | spi_finalize_current_message() so the subsystem can issue the next | 545 | spi_finalize_current_message() so the subsystem can issue the next |
546 | transfer. This may sleep. | 546 | message. This may sleep. |
547 | |||
548 | master->transfer_one(struct spi_master *master, struct spi_device *spi, | ||
549 | struct spi_transfer *transfer) | ||
550 | The subsystem calls the driver to transfer a single transfer while | ||
551 | queuing transfers that arrive in the meantime. When the driver is | ||
552 | finished with this transfer, it must call | ||
553 | spi_finalize_current_transfer() so the subsystem can issue the next | ||
554 | transfer. This may sleep. Note: transfer_one and transfer_one_message | ||
555 | are mutually exclusive; when both are set, the generic subsystem does | ||
556 | not call your transfer_one callback. | ||
557 | |||
558 | Return values: | ||
559 | negative errno: error | ||
560 | 0: transfer is finished | ||
561 | 1: transfer is still in progress | ||
547 | 562 | ||
548 | DEPRECATED METHODS | 563 | DEPRECATED METHODS |
549 | 564 | ||