diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:09:18 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:09:18 -0400 |
commit | 68fe0f0a6dcd2ac1ace5da3647a6d1cf0f4d2fea (patch) | |
tree | 69d855c2e46d42ef8f23680cf3a1e6ff38de9ef4 /Documentation/spi | |
parent | 88fd449e734a4264347e12b8ff74ccb33a9b9a35 (diff) | |
parent | 8f0d8163b50e01f398b14bcd4dc039ac5ab18d64 (diff) |
Merge tag 'v3.7-rc3' into for-linus to sync up with recent USB changes
Diffstat (limited to 'Documentation/spi')
-rw-r--r-- | Documentation/spi/ep93xx_spi | 2 | ||||
-rw-r--r-- | Documentation/spi/spi-sc18is602 | 36 |
2 files changed, 37 insertions, 1 deletions
diff --git a/Documentation/spi/ep93xx_spi b/Documentation/spi/ep93xx_spi index d8eb01c15db1..832ddce6e5fb 100644 --- a/Documentation/spi/ep93xx_spi +++ b/Documentation/spi/ep93xx_spi | |||
@@ -26,7 +26,7 @@ arch/arm/mach-ep93xx/ts72xx.c: | |||
26 | #include <linux/gpio.h> | 26 | #include <linux/gpio.h> |
27 | #include <linux/spi/spi.h> | 27 | #include <linux/spi/spi.h> |
28 | 28 | ||
29 | #include <mach/ep93xx_spi.h> | 29 | #include <linux/platform_data/spi-ep93xx.h> |
30 | 30 | ||
31 | /* this is our GPIO line used for chip select */ | 31 | /* this is our GPIO line used for chip select */ |
32 | #define MMC_CHIP_SELECT_GPIO EP93XX_GPIO_LINE_EGPIO9 | 32 | #define MMC_CHIP_SELECT_GPIO EP93XX_GPIO_LINE_EGPIO9 |
diff --git a/Documentation/spi/spi-sc18is602 b/Documentation/spi/spi-sc18is602 new file mode 100644 index 000000000000..a45702865a38 --- /dev/null +++ b/Documentation/spi/spi-sc18is602 | |||
@@ -0,0 +1,36 @@ | |||
1 | Kernel driver spi-sc18is602 | ||
2 | =========================== | ||
3 | |||
4 | Supported chips: | ||
5 | * NXP SI18IS602/602B/603 | ||
6 | Datasheet: http://www.nxp.com/documents/data_sheet/SC18IS602_602B_603.pdf | ||
7 | |||
8 | Author: | ||
9 | Guenter Roeck <linux@roeck-us.net> | ||
10 | |||
11 | |||
12 | Description | ||
13 | ----------- | ||
14 | |||
15 | This driver provides connects a NXP SC18IS602/603 I2C-bus to SPI bridge to the | ||
16 | kernel's SPI core subsystem. | ||
17 | |||
18 | The driver does not probe for supported chips, since the SI18IS602/603 does not | ||
19 | support Chip ID registers. You will have to instantiate the devices explicitly. | ||
20 | Please see Documentation/i2c/instantiating-devices for details. | ||
21 | |||
22 | |||
23 | Usage Notes | ||
24 | ----------- | ||
25 | |||
26 | This driver requires the I2C adapter driver to support raw I2C messages. I2C | ||
27 | adapter drivers which can only handle the SMBus protocol are not supported. | ||
28 | |||
29 | The maximum SPI message size supported by SC18IS602/603 is 200 bytes. Attempts | ||
30 | to initiate longer transfers will fail with -EINVAL. EEPROM read operations and | ||
31 | similar large accesses have to be split into multiple chunks of no more than | ||
32 | 200 bytes per SPI message (128 bytes of data per message is recommended). This | ||
33 | means that programs such as "cp" or "od", which automatically use large block | ||
34 | sizes to access a device, can not be used directly to read data from EEPROM. | ||
35 | Programs such as dd, where the block size can be specified, should be used | ||
36 | instead. | ||