Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1638087
| From | Seraphime Kirkovski <kirkseraph@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/2] spi: spidev: document SPI_IOC_WR_DEFAULT_MAX_SPEED_HZ |
| Date | 2017-05-09 14:30 +0200 |
| Message-ID | <tFcr8-1Fu-19@gated-at.bofh.it> (permalink) |
| References | <tFcr7-1Fu-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
This adds documentation of the new spidev ioctl.
Signed-off-by: Seraphime Kirkovski (Haapie) <kirkseraph@gmail.com>
---
Documentation/spi/spidev | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/spi/spidev b/Documentation/spi/spidev
index 3d14035b1766..c67a00594dce 100644
--- a/Documentation/spi/spidev
+++ b/Documentation/spi/spidev
@@ -108,6 +108,13 @@ settings for data transfer parameters:
speed, in Hz. The controller can't necessarily assign that specific
clock speed.
+ SPI_IOC_WR_DEFAULT_MAX_SPEED_HZ ... pass a pointer to a u32 which will
+ assign the maximum speed in Hz directly to the underlying device.
+ The controller can't necessarily assign that clock speed.
+ Any subsequent open() to the same /dev/spidevB.D will be configured
+ by default to use the maximum speed assigned by the last successful
+ call to SPI_IOC_WR_DEFAULT_MAX_SPEED_HZ.
+
NOTES:
- At this time there is no async I/O support; everything is purely
--
2.13.0.rc1
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/2] spi: spidev: Introduce SPI_IOC_WR_DEFAULT_MAX_SPEED_HZ command Seraphime Kirkovski <kirkseraph@gmail.com> - 2017-05-09 14:30 +0200 [PATCH 1/2] spi: spidev: introduce SPI_IOC_WR_DEFAULT_MAX_SPEED_HZ command Seraphime Kirkovski <kirkseraph@gmail.com> - 2017-05-09 14:30 +0200 [PATCH 2/2] spi: spidev: document SPI_IOC_WR_DEFAULT_MAX_SPEED_HZ Seraphime Kirkovski <kirkseraph@gmail.com> - 2017-05-09 14:30 +0200
csiph-web