David Brownell
b55f627fee
spi: new spi->mode bits
...
Add two new spi_device.mode bits to accomodate more protocol options, and
pass them through to usermode drivers:
* SPI_NO_CS ... a second 3-wire variant, where the chipselect
line is removed instead of a data line; transfers are still
full duplex.
This obviously has STRONG protocol implications since the
chipselect transitions can't be used to synchronize state
transitions with the SPI master.
* SPI_READY ... defines open drain signal that's pulled low
to pause the clock. This defines a 5-wire variant (normal
4-wire SPI plus READY) and two 4-wire variants (READY plus
each of the 3-wire flavors).
Such hardware flow control can be a big win. There are ADC
converters and flash chips that expose READY signals, but not
many host controllers support it today.
The spi_bitbang code should be changed to use SPI_NO_CS instead of its
current nonportable hack. That's a mode most hardware can easily support
(unlike SPI_READY).
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net >
Cc: "Paulraj, Sandeep" <s-paulraj@ti.com >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2009-06-30 18:56:00 -07:00
..
2009-06-19 16:46:03 -07:00
2009-06-20 10:17:02 -07:00
2009-06-17 18:02:10 -07:00
2009-06-17 19:41:52 +02:00
2009-06-16 19:14:16 -03:00
2009-06-22 16:56:22 -07:00
2009-06-22 12:55:50 -07:00
2009-06-18 08:46:47 +10:00
2009-06-15 11:18:26 +01:00
2009-06-30 18:56:00 -07:00
2009-06-22 12:55:50 -07:00
2009-06-15 21:44:50 -07:00
Merge branches 'acerhdf', 'acpi-pci-bind', 'bjorn-pci-root', 'bugzilla-12904', 'bugzilla-13121', 'bugzilla-13396', 'bugzilla-13533', 'bugzilla-13612', 'c3_lock', 'hid-cleanups', 'misc-2.6.31', 'pdc-leak-fix', 'pnpacpi', 'power_nocheck', 'thinkpad_acpi', 'video' and 'wmi' into release
2009-06-24 01:19:50 -04:00
2009-06-17 00:36:36 -04:00
2009-06-19 10:21:42 +10:00
2009-06-30 18:55:58 -07:00
2009-06-15 18:52:52 +02:00
2009-06-24 00:00:52 -04:00
2009-06-15 16:47:21 +10:00
2009-06-16 08:23:52 +02:00
2009-06-16 19:47:48 -07:00
2009-06-15 15:49:34 +02:00
2009-06-13 22:42:59 +02:00
2009-06-11 21:36:09 -04:00
2009-06-18 13:03:57 -07:00
2009-06-12 21:46:57 +09:30
2009-06-22 10:12:35 +01:00
2009-06-22 21:18:12 -07:00
2009-06-16 19:47:31 -07:00
2009-06-11 21:36:10 -04:00
2009-06-11 21:36:06 -04:00
2009-06-22 10:12:35 +01:00
2009-06-15 21:30:25 -07:00
2009-06-22 10:12:30 +01:00
2009-06-22 10:12:35 +01:00
2009-06-19 16:46:08 -07:00
2009-06-23 22:09:17 +01:00
2009-06-17 09:33:49 -07:00
2009-06-15 21:30:26 -07:00
2009-06-30 18:55:58 -07:00
2009-06-24 08:17:04 -04:00
2009-06-24 08:15:27 -04:00
2009-06-16 19:48:01 -07:00
2009-06-14 14:26:29 +02:00
2009-06-16 19:47:28 -07:00
2009-06-15 21:30:25 -07:00
2009-06-24 08:15:27 -04:00
2009-06-18 13:03:42 -07:00
2009-06-29 10:00:58 -04:00
2009-06-11 14:57:54 -04:00
2009-06-18 18:40:18 -04:00
2009-06-18 13:04:05 -07:00
2009-06-15 21:30:25 -07:00
2009-06-18 13:12:57 -07:00
2009-06-16 19:47:41 -07:00
2009-06-24 11:15:09 +02:00
2009-06-23 11:23:33 -07:00
2009-06-13 10:39:28 +01:00
2009-06-19 16:58:21 +02:00
2009-06-23 04:31:07 -07:00
2009-06-29 19:20:42 -07:00
2009-06-15 03:02:23 -07:00
2009-06-29 08:59:10 +10:00
2009-06-16 19:47:28 -07:00
2009-06-18 13:03:57 -07:00
2009-06-19 22:55:17 -07:00
2009-06-15 15:50:49 +02:00
2009-06-11 12:04:06 -07:00
2009-06-18 13:03:56 -07:00
2009-06-20 11:30:01 -07:00
2009-06-17 11:47:48 -04:00
2009-06-22 10:12:35 +01:00
2009-06-18 13:03:40 -07:00
2009-06-25 22:06:11 +02:00
2009-06-14 13:50:36 -07:00
2009-06-15 15:49:23 +02:00
2009-06-28 14:10:29 +03:00
2009-06-23 20:21:38 +01:00
2009-06-23 20:21:39 +01:00
2009-06-12 22:27:11 +09:30
2009-06-12 22:27:03 +09:30
2009-06-16 19:47:57 -07:00
2009-06-16 19:47:57 -07:00
2009-06-13 12:28:57 +02:00
2009-06-22 14:34:22 -07:00
2009-06-11 21:36:10 -04:00
2009-06-16 19:47:48 -07:00
2009-06-18 13:03:47 -07:00
2009-06-16 08:40:20 +02:00
2009-06-15 21:30:25 -07:00
2009-06-16 19:50:13 -07:00
2009-06-25 11:22:13 -07:00
2009-06-16 19:47:42 -07:00
2009-06-22 21:28:25 -07:00
2009-06-18 13:03:57 -07:00
2009-06-12 21:46:58 +09:30
2009-06-11 21:36:02 -04:00
2009-06-11 21:36:01 -04:00
2009-06-15 03:02:23 -07:00
2009-06-18 00:29:08 -07:00
2009-06-17 18:02:11 -07:00
2009-06-17 18:02:11 -07:00
2009-06-17 12:24:34 -07:00
2009-06-17 14:11:42 -07:00
2009-06-17 12:24:34 -07:00
2009-06-17 18:02:11 -07:00
2009-06-15 21:44:43 -07:00
2009-06-16 19:47:35 -07:00
2009-06-12 11:00:54 +03:00
2009-06-17 08:30:15 +03:00
2009-06-16 19:47:42 -07:00
Merge branches 'acerhdf', 'acpi-pci-bind', 'bjorn-pci-root', 'bugzilla-12904', 'bugzilla-13121', 'bugzilla-13396', 'bugzilla-13533', 'bugzilla-13612', 'c3_lock', 'hid-cleanups', 'misc-2.6.31', 'pdc-leak-fix', 'pnpacpi', 'power_nocheck', 'thinkpad_acpi', 'video' and 'wmi' into release
2009-06-24 01:19:50 -04:00
2009-06-30 18:55:59 -07:00
2009-06-22 21:38:22 -07:00
2009-06-16 14:29:30 -07:00
2009-06-22 21:38:22 -07:00
2009-06-30 18:55:59 -07:00
2009-06-19 13:43:12 +02:00
2009-06-15 21:30:24 -07:00
2009-06-12 21:32:31 +02:00
2009-06-16 19:47:48 -07:00
2009-06-24 16:58:48 -04:00
2009-06-18 13:04:04 -07:00
2009-06-18 13:04:04 -07:00
2009-06-11 21:36:01 -04:00
2009-06-18 13:03:51 -07:00
2009-06-11 21:36:12 -04:00
2009-06-11 21:36:04 -04:00
2009-06-16 19:47:30 -07:00
2009-06-24 08:17:06 -04:00
2009-06-24 08:17:06 -04:00
2009-06-11 21:35:58 -04:00
2009-06-18 13:03:46 -07:00
2009-06-18 13:03:48 -07:00
2009-06-19 11:50:18 -04:00
2009-06-15 15:49:37 +02:00
2009-06-23 12:50:05 -07:00
2009-06-30 18:55:59 -07:00
2009-06-18 13:03:57 -07:00
2009-06-22 11:32:25 -07:00
2009-06-22 11:32:24 -07:00
2009-06-24 08:17:06 -04:00
2009-06-18 14:07:15 -07:00
2009-06-13 08:58:43 +02:00
2009-06-15 15:50:49 +02:00
2009-06-12 18:53:33 +03:00
2009-06-12 18:53:33 +03:00
2009-06-16 19:47:48 -07:00
2009-06-12 23:04:12 +02:00
2009-06-12 21:32:33 +02:00
2009-06-23 12:50:05 -07:00
2009-06-16 19:47:52 -07:00
2009-06-13 12:00:26 +02:00
2009-06-24 11:15:09 +02:00
2009-06-16 19:47:27 -07:00
2009-06-15 11:37:09 -04:00
2009-06-18 13:03:49 -07:00
2009-06-15 21:30:28 -07:00
2009-06-19 08:08:50 +02:00
2009-06-12 18:01:45 +02:00
2009-06-16 13:06:10 -07:00
2009-06-16 19:47:47 -07:00
2009-06-23 03:12:37 -03:00
2009-06-12 22:16:38 +09:30
2009-06-12 22:16:37 +09:30
2009-06-12 22:16:39 +09:30
2009-06-12 22:16:36 +09:30
2009-06-16 19:47:52 -07:00
2009-06-16 19:47:46 -07:00
2009-06-18 13:03:58 -07:00
2009-06-11 21:36:03 -04:00