From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751334AbdAQNuu (ORCPT ); Tue, 17 Jan 2017 08:50:50 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:56613 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750939AbdAQNus (ORCPT ); Tue, 17 Jan 2017 08:50:48 -0500 Date: Tue, 17 Jan 2017 14:50:06 +0100 From: Andreas Klinger To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, ktsai@capellamicro.com, wsa@the-dreams.de, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, trivial@kernel.org, mranostay@gmail.com, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org Cc: ak@it-klinger.de Subject: [PATCH v3 3/3] iio: distance: srf08: add driver ABI documentation Message-ID: <20170117135006.GA22903@andreas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Provags-ID: V03:K0:pL2k4KIiyL3lsE1kfQl0PiRXttDTqZOfMMJUB9J4+1zPvhilFPt Fuo3Mo93J6qftsFmb9jrvRoMbLKyLeKsaSb6n/9S7nF+RQZdukPfg2XjLrxUSNkJ35XpBh1 C68GDjEyxYEqxj5+AQqYONlNFkAJ8N4Tcwf0ZIFyKvpAdgxQrqydW0AJ1B4jppqRNDYc7Zl MroUSb9nL09VCkbgnh12w== X-UI-Out-Filterresults: notjunk:1;V01:K0:5W7GBw8LC58=:Jrlptyb05ZiLX1z8TluyQf z+B+E+ojMbC62OOCx6BKVykLvAbogV4VqAyuby94mfyrK5WB3PZ8cXprfGpciiUR6QGXJ055X 4Zq7bA63dGy3IxnMTpaFy2UA1qposOnBb7710zKe7e0fwqYCG2G4ItJRjG+rCsHFrPYGBMFX0 l6da04TyzjSRrO9Kvr9PW3h2TKudGhLsahxqCnzSbzu1uKyyyfm5WDXGpopgGZuDYU/pCzg1G JStQbfH4tR2xy7vtEfoVm6ddYxc64h0lYXoKKBOeldIRNJAJIt470W10h/jjhMXntx0rZnVbh 4eb2yg37Ld8eh4oR8grvE+iGiNBEXl2NFqIwyg0nfkswnxR+3gaCkBjiRsAx4D9LkvqHVXFTk Z7iEeShepBokjlZC2P74gXb28bmPWKq/ilZ4dSwe2GpJaUD81uZymGDQZun1TXwUYrWRXsXR1 oy/cqoSUYe5RKOzj7lVjTjLo9bOF4+NwQ7nxZ6p+L4UrTSWcfe/wLA5otq7uo+GakLVQzb/yq 1jxJ5DY1KQog+PsXUwUvvKrT4fHrc5XN67wGX2xVcJhcYT8wVU/WfF87OtFI3p7S1MQjdUsl6 JB9X2II7EO8e3XjW2RCL4fhCdV2r58n1qK4ceyb5Io3ftVby75joxP1k/nGvpz0vpMMKK4Hb6 qxUNE73prpQJy3SLYNt/hAZcjh7K7Eq8VWmeXPDD+Qwv5VQfGoug8KEVPG0CdoYpH5Pc= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add sysfs-bus-iio-distance-srf08 for individual attributes of the driver, especially: - sensitivity which the device documentation calls gain for amplifying the signal - max_range for limiting the maximum distance for expected echos and therefore limiting the time waiting for telegrams Signed-off-by: Andreas Klinger --- .../ABI/testing/sysfs-bus-iio-distance-srf08 | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-distance-srf08 diff --git a/Documentation/ABI/testing/sysfs-bus-iio-distance-srf08 b/Documentation/ABI/testing/sysfs-bus-iio-distance-srf08 new file mode 100644 index 000000000000..e96c28064748 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-iio-distance-srf08 @@ -0,0 +1,27 @@ +What /sys/bus/iio/devices/iio:deviceX/in_distance_raw +Date: January 2017 +KernelVersion: 4.11 +Contact: linux-iio@vger.kernel.org +Description: + Get the current distance in meters between the sensor and + the first object recognized + +What /sys/bus/iio/devices/iio:deviceX/sensor_sensitivity +Date: January 2017 +KernelVersion: 4.11 +Contact: linux-iio@vger.kernel.org +Description: + Show or set the gain boost of the amp, from 0-31 range. + default 31 + +What /sys/bus/iio/devices/iio:deviceX/sensor_max_range +Date: January 2017 +KernelVersion: 4.11 +Contact: linux-iio@vger.kernel.org +Description: + Show or set the maximum range between the sensor and the + first object echoed in millimeters. + This setting limits the time the driver is waiting for a + echo. + Can be set between 43 and 11008 in a grid of 43 mm. + default 6020 -- 2.1.4 --