aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-18 23:02:33 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-18 23:02:33 -0400
commitf641f66784351d0266817301158d7171df6eec20 (patch)
treec2ef5a87a5243fe732cd69266c3e16a155c2431b /Documentation/ABI
parent98e11370052aa88a38c2d5d1693a5ec2966c4f81 (diff)
parent88f6da779a37a3579e580296776ba86d6c6bd980 (diff)
Merge tag 'iio-for-3.17a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
Jonathan writes: First round of new drivers, cleanups and functionality for the 3.17 cycle. New drivers * t5403 barometric pressure sensor * kxcjk1013 accelerometer (with a locking followup fix). * ak09911 digital compass Documentation * ABI docs for proximity added (interface has been there a long time but somehow snuck through without being documented) * Move iio-trig-sysfs documentation out of staging (got left behind when the driver moved some time ago). Cleanups * drop the timestamp argument from iio_trigger_poll(_chained) as nothing has been done with it for some time. * ad799x kerneldoc for ad799x_chip brought up to date. * replace a number of reimplementations of the GENMASK macro and use the BIT macro to cleanup a few locations. * bring the iio_event_monitor example program up to date with new device types. * fix some incorrect function prototypes in iio_utils.h example code. * INDIO_RING_TRIGGERED to INDIO_BUFFER_TRIGGERED fix in docs. This got left behind after we renamed it a long time back. * fix error handling in the generic_buffer example program. * small tidy ups in the iio-trig-periodic-rtc driver. * Allow reseting iio-trig-periodic-rtc frequency to 0 (default) after it has changed. * Trivial tidy ups in coding style in iio_simply_dummy
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-iio13
-rw-r--r--Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs11
2 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index a9757dcf2e81..738b56f862b4 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -895,6 +895,19 @@ Description:
895 on-chip EEPROM. After power-up or chip reset the device will 895 on-chip EEPROM. After power-up or chip reset the device will
896 automatically load the saved configuration. 896 automatically load the saved configuration.
897 897
898What: /sys/.../iio:deviceX/in_proximity_raw
899What: /sys/.../iio:deviceX/in_proximity_input
900What: /sys/.../iio:deviceX/in_proximityY_raw
901KernelVersion: 3.4
902Contact: linux-iio@vger.kernel.org
903Description:
904 Proximity measurement indicating that some
905 object is near the sensor, usually be observing
906 reflectivity of infrared or ultrasound emitted.
907 Often these sensors are unit less and as such conversion
908 to SI units is not possible. Where it is, the units should
909 be meters.
910
898What: /sys/.../iio:deviceX/in_illuminanceY_input 911What: /sys/.../iio:deviceX/in_illuminanceY_input
899What: /sys/.../iio:deviceX/in_illuminanceY_raw 912What: /sys/.../iio:deviceX/in_illuminanceY_raw
900What: /sys/.../iio:deviceX/in_illuminanceY_mean_raw 913What: /sys/.../iio:deviceX/in_illuminanceY_mean_raw
diff --git a/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs b/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
new file mode 100644
index 000000000000..5235e6c749ab
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs
@@ -0,0 +1,11 @@
1What: /sys/bus/iio/devices/triggerX/trigger_now
2KernelVersion: 2.6.38
3Contact: linux-iio@vger.kernel.org
4Description:
5 This file is provided by the iio-trig-sysfs stand-alone trigger
6 driver. Writing this file with any value triggers an event
7 driven driver, associated with this trigger, to capture data
8 into an in kernel buffer. This approach can be valuable during
9 automated testing or in situations, where other trigger methods
10 are not applicable. For example no RTC or spare GPIOs.
11 X is the IIO index of the trigger.