From: Saravanan Sekar <saravanan@linumiz.com>
To: robh+dt@kernel.org, jic23@kernel.org, knaack.h@gmx.de,
lars@metafoo.de, pmeerw@pmeerw.net, broonie@kernel.org,
lgirdwood@gmail.com, saravanan@linumiz.com
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-iio@vger.kernel.org
Subject: [PATCH v2 3/4] iio: accel: wsen-itds accel documentation
Date: Wed, 29 Apr 2020 15:39:42 +0200 [thread overview]
Message-ID: <20200429133943.18298-4-saravanan@linumiz.com> (raw)
In-Reply-To: <20200429133943.18298-1-saravanan@linumiz.com>
Add documentation about device operating mode and output data range
supported according to operating mode
Signed-off-by: Saravanan Sekar <saravanan@linumiz.com>
---
.../ABI/testing/sysfs-bus-iio-wsen-itds | 23 +++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-wsen-itds
diff --git a/Documentation/ABI/testing/sysfs-bus-iio-wsen-itds b/Documentation/ABI/testing/sysfs-bus-iio-wsen-itds
new file mode 100644
index 000000000000..5979f2b8aa1a
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-iio-wsen-itds
@@ -0,0 +1,23 @@
+What: /sys/bus/iio/devices/iio\:device0/in_accel_samp_freq_available
+KernelVersion: 5.7
+Contact: linux-iio@vger.kernel.org
+Description:
+ Reading gives range of sample frequencies available for current operating mode
+ after one data has generated.
+
+ Access: Read
+ Valid values: represented in Hz
+ - range [12.5, 1600] for high permormance mode
+ - range [1.6, 200] for normal/low power mode
+
+What: /sys/bus/iio/devices/iio\:device0/operating_mode
+KernelVersion: 5.7
+Contact: linux-iio@vger.kernel.org
+Description:
+ Represents the device operating mode. High performance mode gives high output
+ data rate and low noise compared to normal mode. Normal mode consumes less
+ current. In single shot device enters to lowpower after one data has
+ generated.
+
+ Access: Read, Write
+ Valid values: "lowpower", "normal", "high_perf", "single_shot"
--
2.17.1
next prev parent reply other threads:[~2020-04-29 13:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-29 13:39 [PATCH v2 0/4] Add driver for wsen-itds accelerometer sensor Saravanan Sekar
2020-04-29 13:39 ` [PATCH v2 1/4] dt-bindings: iio: add document bindings for wsen-itds accel sensor Saravanan Sekar
2020-05-12 14:45 ` Rob Herring
2020-04-29 13:39 ` [PATCH v2 2/4] iio: accel: Add driver for wsen-itds accelerometer sensor Saravanan Sekar
2020-05-03 12:42 ` Jonathan Cameron
2020-04-29 13:39 ` Saravanan Sekar [this message]
2020-05-03 12:01 ` [PATCH v2 3/4] iio: accel: wsen-itds accel documentation Jonathan Cameron
2020-05-10 18:11 ` Saravanan Sekar
2020-05-11 17:30 ` Jonathan Cameron
2020-04-29 13:39 ` [PATCH v2 4/4] MAINTAINERS: Add entry for wsen-itds accelerometer sensor Saravanan Sekar
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=20200429133943.18298-4-saravanan@linumiz.com \
--to=saravanan@linumiz.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jic23@kernel.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=lgirdwood@gmail.com \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
--cc=robh+dt@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).