linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] Documentation: iio: Clarify meaning of IIO_DISTANCE channel type
@ 2017-10-10 13:48 Peter Meerwald-Stadler
  2017-10-10 13:48 ` [PATCH 2/2] iio: proximity: Add rfd77402 driver Peter Meerwald-Stadler
  2017-10-14 17:19 ` [PATCH 1/2] Documentation: iio: Clarify meaning of IIO_DISTANCE channel type Jonathan Cameron
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Meerwald-Stadler @ 2017-10-10 13:48 UTC (permalink / raw)
  To: Jonathan Cameron; +Cc: linux-iio, Peter Meerwald-Stadler

IIO_DISTANCE is used for two purposes: for pedometers to record the
distance covered by a walker, and to measure the distance to an object

IIO_DISTANCE is in meters while IIO_PROXIMITY is a unitless measure
indirectly proportional to distance (higher value relates to a closer
object)

Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
---
 Documentation/ABI/testing/sysfs-bus-iio | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index 7eead5f97e02..3fc79185cc56 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -1242,9 +1242,9 @@ What:		/sys/.../iio:deviceX/in_distance_raw
 KernelVersion:	4.0
 Contact:	linux-iio@vger.kernel.org
 Description:
-		This attribute is used to read the distance covered by the user
-		since the last reboot while activated. Units after application
-		of scale are meters.
+		This attribute is used to read the measured distance to an object
+		or the distance covered by the user since the last reboot while
+		activated. Units after application of scale are meters.
 
 What:		/sys/bus/iio/devices/iio:deviceX/store_eeprom
 KernelVersion:	3.4.0
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-10-14 17:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-10 13:48 [PATCH 1/2] Documentation: iio: Clarify meaning of IIO_DISTANCE channel type Peter Meerwald-Stadler
2017-10-10 13:48 ` [PATCH 2/2] iio: proximity: Add rfd77402 driver Peter Meerwald-Stadler
2017-10-14 17:28   ` Jonathan Cameron
2017-10-14 17:19 ` [PATCH 1/2] Documentation: iio: Clarify meaning of IIO_DISTANCE channel type Jonathan Cameron

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).