aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-24 17:53:52 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-24 17:53:52 -0400
commitdc5f2c5f6aa159ebf4b29b169aa1f71cf98d3d6a (patch)
treef9fd13fd4025e8844adbe27383cfcd1ad9c5106f /Documentation/ABI
parentc754ff966d54b3a6cb45cd57524186a16e7f5831 (diff)
parentc0644160a8b5e56b3c3896d77ac3d50d41fa9336 (diff)
Merge tag 'iio-for-4.1a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
Jonathan writes: First set of new drivers, cleanups and functionality for IIO in the 4.1 cycle. New drivers * CM3323 color sensor. * MS5611 pressure and temperature sensor. New functionality * mup6050 - create mux clients for devices described via ACPI. The reasoning and approach taken in this patch are complex. Basically there is no otherway of finding out what is there than by some esoteric look ups in the ACPI data. * cm3232 - PM support * itg3200 - suspend/resume support * mcp320x - add more ADCs to the kconfig to reflect what the driver supports (this patch and the bindings got left behind when the support was added a while back). Docs / utils * ti-adc128s052 - DT bindings. * mcp3422 - DT bindings. * mcp320x - DT bindings * ABI docs for event threshold scale attributes, in_magn_offset, proximity scan_element and thresh falling/rising values for accelerometers. All elements long in use that have slipped by being explicitly documented. * Tidy up the tools previously in drivers/staging/iio/Documentation and move them out to /tools/iio. Yet another move that should have happened long ago. This time Roberta Dobrescu did the leg work. Thanks! Core Cleanups * Export userspace IIO headers. We should have done the appropriate header splitting a long time ago. Thanks to Daniel for sorting this out. * Refactor the registring of attributes for buffers to move all non-custom ones to a vector allowing easier additions to the current set in the future. Driver Cleanups * gpiod related cleanups. Make use of the additional parameter to specify initial direciton to avoid extra code. * bmc150 - Various refactorings to reduce code repitition and prepare for hardware buffer support. Some of these cleanups are good even without the new functionality. * kmx61 - direct use of index to an array avoiding a structure element which was always the index to an element in an array of that structure. * vf610 - avoid incorrect type for return from wait_for_completion_timeout. * gp2ap020a00f - use put_unaligned_le32 for slight code simplification. * ade7754 - improve error handling including suppressing some build warnings. * ade7759 - improve error handling including suppressing some build warnings. * hmc5843 - Long line and indentation fixes. Also some constifying of various constant data. * ade7854 - 80+ character line splitting. * ad2s1210 - fix wrong printf format string. * mxs-lradc - fix wrong printf format string. * ade7954-i2c - code alignment fixes and other trivial but worthwhile bits. * periodic rtc trigger - make the frequency type an unsigned int as it is always treated as such. * jsa1212 - constify struct regmap_config as it is constant. * ad7793 - typo in the MODULE_DESCRIPTION * mma9551 - check gpiod_to_irq errors. Note that this doesn't actually cause any trouble but is worth tidying up as obviously incorrect. * mlx90614 - refactor the register symbols to make it clear which reads are to RAM not PROM.
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-iio24
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index 9a70c31619ea..6be17c2c5c65 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -253,6 +253,7 @@ What: /sys/bus/iio/devices/iio:deviceX/in_temp_offset
253What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_offset 253What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_offset
254What: /sys/bus/iio/devices/iio:deviceX/in_pressure_offset 254What: /sys/bus/iio/devices/iio:deviceX/in_pressure_offset
255What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_offset 255What: /sys/bus/iio/devices/iio:deviceX/in_humidityrelative_offset
256What: /sys/bus/iio/devices/iio:deviceX/in_magn_offset
256KernelVersion: 2.6.35 257KernelVersion: 2.6.35
257Contact: linux-iio@vger.kernel.org 258Contact: linux-iio@vger.kernel.org
258Description: 259Description:
@@ -612,6 +613,8 @@ Description:
612 a given event type is enabled a future point (and not those for 613 a given event type is enabled a future point (and not those for
613 whatever event was previously enabled). 614 whatever event was previously enabled).
614 615
616What: /sys/.../events/in_accel_thresh_rising_value
617What: /sys/.../events/in_accel_thresh_falling_value
615What: /sys/.../events/in_accel_x_raw_thresh_rising_value 618What: /sys/.../events/in_accel_x_raw_thresh_rising_value
616What: /sys/.../events/in_accel_x_raw_thresh_falling_value 619What: /sys/.../events/in_accel_x_raw_thresh_falling_value
617What: /sys/.../events/in_accel_y_raw_thresh_rising_value 620What: /sys/.../events/in_accel_y_raw_thresh_rising_value
@@ -661,6 +664,24 @@ Description:
661 value is in raw device units or in processed units (as _raw 664 value is in raw device units or in processed units (as _raw
662 and _input do on sysfs direct channel read attributes). 665 and _input do on sysfs direct channel read attributes).
663 666
667What: /sys/.../events/in_accel_scale
668What: /sys/.../events/in_accel_peak_scale
669What: /sys/.../events/in_anglvel_scale
670What: /sys/.../events/in_magn_scale
671What: /sys/.../events/in_rot_from_north_magnetic_scale
672What: /sys/.../events/in_rot_from_north_true_scale
673What: /sys/.../events/in_voltage_scale
674What: /sys/.../events/in_voltage_supply_scale
675What: /sys/.../events/in_temp_scale
676What: /sys/.../events/in_illuminance_scale
677What: /sys/.../events/in_proximity_scale
678KernelVersion: 3.21
679Contact: linux-iio@vger.kernel.org
680Description:
681 Specifies the conversion factor from the standard units
682 to device specific units used to set the event trigger
683 threshold.
684
664What: /sys/.../events/in_accel_x_thresh_rising_hysteresis 685What: /sys/.../events/in_accel_x_thresh_rising_hysteresis
665What: /sys/.../events/in_accel_x_thresh_falling_hysteresis 686What: /sys/.../events/in_accel_x_thresh_falling_hysteresis
666What: /sys/.../events/in_accel_x_thresh_either_hysteresis 687What: /sys/.../events/in_accel_x_thresh_either_hysteresis
@@ -997,6 +1018,7 @@ What: /sys/.../iio:deviceX/scan_elements/in_incli_y_en
997What: /sys/.../iio:deviceX/scan_elements/in_pressureY_en 1018What: /sys/.../iio:deviceX/scan_elements/in_pressureY_en
998What: /sys/.../iio:deviceX/scan_elements/in_pressure_en 1019What: /sys/.../iio:deviceX/scan_elements/in_pressure_en
999What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_en 1020What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_en
1021What: /sys/.../iio:deviceX/scan_elements/in_proximity_en
1000KernelVersion: 2.6.37 1022KernelVersion: 2.6.37
1001Contact: linux-iio@vger.kernel.org 1023Contact: linux-iio@vger.kernel.org
1002Description: 1024Description:
@@ -1013,6 +1035,7 @@ What: /sys/.../iio:deviceX/scan_elements/in_timestamp_type
1013What: /sys/.../iio:deviceX/scan_elements/in_pressureY_type 1035What: /sys/.../iio:deviceX/scan_elements/in_pressureY_type
1014What: /sys/.../iio:deviceX/scan_elements/in_pressure_type 1036What: /sys/.../iio:deviceX/scan_elements/in_pressure_type
1015What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_type 1037What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_type
1038What: /sys/.../iio:deviceX/scan_elements/in_proximity_type
1016KernelVersion: 2.6.37 1039KernelVersion: 2.6.37
1017Contact: linux-iio@vger.kernel.org 1040Contact: linux-iio@vger.kernel.org
1018Description: 1041Description:
@@ -1064,6 +1087,7 @@ What: /sys/.../iio:deviceX/scan_elements/in_timestamp_index
1064What: /sys/.../iio:deviceX/scan_elements/in_pressureY_index 1087What: /sys/.../iio:deviceX/scan_elements/in_pressureY_index
1065What: /sys/.../iio:deviceX/scan_elements/in_pressure_index 1088What: /sys/.../iio:deviceX/scan_elements/in_pressure_index
1066What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_index 1089What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_index
1090What: /sys/.../iio:deviceX/scan_elements/in_proximity_index
1067KernelVersion: 2.6.37 1091KernelVersion: 2.6.37
1068Contact: linux-iio@vger.kernel.org 1092Contact: linux-iio@vger.kernel.org
1069Description: 1093Description: