From: Seraphime Kirkovski <kirkseraph@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: linux-spi@vger.kernel.org, broonie@kernel.org,
Seraphime Kirkovski <kirkseraph@gmail.com>
Subject: [PATCH 2/2] spi: spidev: document SPI_IOC_WR_DEFAULT_MAX_SPEED_HZ
Date: Tue, 9 May 2017 14:24:01 +0200 [thread overview]
Message-ID: <20170509122401.2561-3-kirkseraph@gmail.com> (raw)
In-Reply-To: <20170509122401.2561-1-kirkseraph@gmail.com>
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
next prev parent reply other threads:[~2017-05-09 12:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-09 12:23 [PATCH 0/2] spi: spidev: Introduce SPI_IOC_WR_DEFAULT_MAX_SPEED_HZ command Seraphime Kirkovski
2017-05-09 12:24 ` [PATCH 1/2] spi: spidev: introduce " Seraphime Kirkovski
[not found] ` <20170509122401.2561-2-kirkseraph-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-05-14 9:27 ` Mark Brown
2017-05-09 12:24 ` Seraphime Kirkovski [this message]
2017-05-14 9:27 ` [PATCH 2/2] spi: spidev: document SPI_IOC_WR_DEFAULT_MAX_SPEED_HZ Mark Brown
2017-05-15 8:17 ` Seraphime Kirkovski
[not found] ` <20170509122401.2561-1-kirkseraph-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-05-15 7:34 ` [PATCH 0/2] spi: spidev: Introduce SPI_IOC_WR_DEFAULT_MAX_SPEED_HZ command Seraphime Kirkovski
2017-05-15 10:35 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170509122401.2561-3-kirkseraph@gmail.com \
--to=kirkseraph@gmail.com \
--cc=broonie@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).