Message ID | 20170509122401.2561-3-kirkseraph@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, May 09, 2017 at 02:24:01PM +0200, Seraphime Kirkovski wrote:
> This adds documentation of the new spidev ioctl.
This should have been part of the first path adding the new ioctl() :(
On Sun, May 14, 2017 at 06:27:43PM +0900, Mark Brown wrote: > On Tue, May 09, 2017 at 02:24:01PM +0200, Seraphime Kirkovski wrote: > > This adds documentation of the new spidev ioctl. > > This should have been part of the first path adding the new ioctl() :( Will change. -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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
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(+)