aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-bus-iio
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/ABI/testing/sysfs-bus-iio')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-iio95
1 files changed, 95 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index a9757dcf2e81..d760b0224ef7 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -260,6 +260,10 @@ What: /sys/bus/iio/devices/iio:deviceX/in_magn_scale
260What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_scale 260What: /sys/bus/iio/devices/iio:deviceX/in_magn_x_scale
261What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_scale 261What: /sys/bus/iio/devices/iio:deviceX/in_magn_y_scale
262What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_scale 262What: /sys/bus/iio/devices/iio:deviceX/in_magn_z_scale
263What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_scale
264What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_scale
265What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_scale
266What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_scale
263What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_scale 267What: /sys/bus/iio/devices/iio:deviceX/in_pressureY_scale
264What: /sys/bus/iio/devices/iio:deviceX/in_pressure_scale 268What: /sys/bus/iio/devices/iio:deviceX/in_pressure_scale
265KernelVersion: 2.6.35 269KernelVersion: 2.6.35
@@ -447,6 +451,14 @@ What: /sys/.../iio:deviceX/events/in_magn_y_thresh_rising_en
447What: /sys/.../iio:deviceX/events/in_magn_y_thresh_falling_en 451What: /sys/.../iio:deviceX/events/in_magn_y_thresh_falling_en
448What: /sys/.../iio:deviceX/events/in_magn_z_thresh_rising_en 452What: /sys/.../iio:deviceX/events/in_magn_z_thresh_rising_en
449What: /sys/.../iio:deviceX/events/in_magn_z_thresh_falling_en 453What: /sys/.../iio:deviceX/events/in_magn_z_thresh_falling_en
454What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_rising_en
455What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_thresh_falling_en
456What: /sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_rising_en
457What: /sys/.../iio:deviceX/events/in_rot_from_north_true_thresh_falling_en
458What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_en
459What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_en
460What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_rising_en
461What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_thresh_falling_en
450What: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_rising_en 462What: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_rising_en
451What: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_falling_en 463What: /sys/.../iio:deviceX/events/in_voltageY_supply_thresh_falling_en
452What: /sys/.../iio:deviceX/events/in_voltageY_thresh_rising_en 464What: /sys/.../iio:deviceX/events/in_voltageY_thresh_rising_en
@@ -492,6 +504,14 @@ What: /sys/.../iio:deviceX/events/in_magn_y_roc_rising_en
492What: /sys/.../iio:deviceX/events/in_magn_y_roc_falling_en 504What: /sys/.../iio:deviceX/events/in_magn_y_roc_falling_en
493What: /sys/.../iio:deviceX/events/in_magn_z_roc_rising_en 505What: /sys/.../iio:deviceX/events/in_magn_z_roc_rising_en
494What: /sys/.../iio:deviceX/events/in_magn_z_roc_falling_en 506What: /sys/.../iio:deviceX/events/in_magn_z_roc_falling_en
507What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_rising_en
508What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_roc_falling_en
509What: /sys/.../iio:deviceX/events/in_rot_from_north_true_roc_rising_en
510What: /sys/.../iio:deviceX/events/in_rot_from_north_true_roc_falling_en
511What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_rising_en
512What: /sys/.../iio:deviceX/events/in_rot_from_north_magnetic_tilt_comp_roc_falling_en
513What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_rising_en
514What: /sys/.../iio:deviceX/events/in_rot_from_north_true_tilt_comp_roc_falling_en
495What: /sys/.../iio:deviceX/events/in_voltageY_supply_roc_rising_en 515What: /sys/.../iio:deviceX/events/in_voltageY_supply_roc_rising_en
496What: /sys/.../iio:deviceX/events/in_voltageY_supply_roc_falling_en 516What: /sys/.../iio:deviceX/events/in_voltageY_supply_roc_falling_en
497What: /sys/.../iio:deviceX/events/in_voltageY_roc_rising_en 517What: /sys/.../iio:deviceX/events/in_voltageY_roc_rising_en
@@ -538,6 +558,14 @@ What: /sys/.../events/in_magn_y_raw_thresh_rising_value
538What: /sys/.../events/in_magn_y_raw_thresh_falling_value 558What: /sys/.../events/in_magn_y_raw_thresh_falling_value
539What: /sys/.../events/in_magn_z_raw_thresh_rising_value 559What: /sys/.../events/in_magn_z_raw_thresh_rising_value
540What: /sys/.../events/in_magn_z_raw_thresh_falling_value 560What: /sys/.../events/in_magn_z_raw_thresh_falling_value
561What: /sys/.../events/in_rot_from_north_magnetic_raw_thresh_rising_value
562What: /sys/.../events/in_rot_from_north_magnetic_raw_thresh_falling_value
563What: /sys/.../events/in_rot_from_north_true_raw_thresh_rising_value
564What: /sys/.../events/in_rot_from_north_true_raw_thresh_falling_value
565What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_rising_value
566What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_thresh_falling_value
567What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_rising_value
568What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_thresh_falling_value
541What: /sys/.../events/in_voltageY_supply_raw_thresh_rising_value 569What: /sys/.../events/in_voltageY_supply_raw_thresh_rising_value
542What: /sys/.../events/in_voltageY_supply_raw_thresh_falling_value 570What: /sys/.../events/in_voltageY_supply_raw_thresh_falling_value
543What: /sys/.../events/in_voltageY_raw_thresh_rising_value 571What: /sys/.../events/in_voltageY_raw_thresh_rising_value
@@ -588,6 +616,18 @@ What: /sys/.../events/in_magn_y_thresh_either_hysteresis
588What: /sys/.../events/in_magn_z_thresh_rising_hysteresis 616What: /sys/.../events/in_magn_z_thresh_rising_hysteresis
589What: /sys/.../events/in_magn_z_thresh_falling_hysteresis 617What: /sys/.../events/in_magn_z_thresh_falling_hysteresis
590What: /sys/.../events/in_magn_z_thresh_either_hysteresis 618What: /sys/.../events/in_magn_z_thresh_either_hysteresis
619What: /sys/.../events/in_rot_from_north_magnetic_thresh_rising_hysteresis
620What: /sys/.../events/in_rot_from_north_magnetic_thresh_falling_hysteresis
621What: /sys/.../events/in_rot_from_north_magnetic_thresh_either_hysteresis
622What: /sys/.../events/in_rot_from_north_true_thresh_rising_hysteresis
623What: /sys/.../events/in_rot_from_north_true_thresh_falling_hysteresis
624What: /sys/.../events/in_rot_from_north_true_thresh_either_hysteresis
625What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_hysteresis
626What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_hysteresis
627What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_either_hysteresis
628What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_hysteresis
629What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_hysteresis
630What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_either_hysteresis
591What: /sys/.../events/in_voltageY_thresh_rising_hysteresis 631What: /sys/.../events/in_voltageY_thresh_rising_hysteresis
592What: /sys/.../events/in_voltageY_thresh_falling_hysteresis 632What: /sys/.../events/in_voltageY_thresh_falling_hysteresis
593What: /sys/.../events/in_voltageY_thresh_either_hysteresis 633What: /sys/.../events/in_voltageY_thresh_either_hysteresis
@@ -635,6 +675,14 @@ What: /sys/.../events/in_magn_y_raw_roc_rising_value
635What: /sys/.../events/in_magn_y_raw_roc_falling_value 675What: /sys/.../events/in_magn_y_raw_roc_falling_value
636What: /sys/.../events/in_magn_z_raw_roc_rising_value 676What: /sys/.../events/in_magn_z_raw_roc_rising_value
637What: /sys/.../events/in_magn_z_raw_roc_falling_value 677What: /sys/.../events/in_magn_z_raw_roc_falling_value
678What: /sys/.../events/in_rot_from_north_magnetic_raw_roc_rising_value
679What: /sys/.../events/in_rot_from_north_magnetic_raw_roc_falling_value
680What: /sys/.../events/in_rot_from_north_true_raw_roc_rising_value
681What: /sys/.../events/in_rot_from_north_true_raw_roc_falling_value
682What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_rising_value
683What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_raw_roc_falling_value
684What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_rising_value
685What: /sys/.../events/in_rot_from_north_true_tilt_comp_raw_roc_falling_value
638What: /sys/.../events/in_voltageY_supply_raw_roc_rising_value 686What: /sys/.../events/in_voltageY_supply_raw_roc_rising_value
639What: /sys/.../events/in_voltageY_supply_raw_roc_falling_value 687What: /sys/.../events/in_voltageY_supply_raw_roc_falling_value
640What: /sys/.../events/in_voltageY_raw_roc_rising_value 688What: /sys/.../events/in_voltageY_raw_roc_rising_value
@@ -690,6 +738,22 @@ What: /sys/.../events/in_magn_z_thresh_rising_period
690What: /sys/.../events/in_magn_z_thresh_falling_period 738What: /sys/.../events/in_magn_z_thresh_falling_period
691What: /sys/.../events/in_magn_z_roc_rising_period 739What: /sys/.../events/in_magn_z_roc_rising_period
692What: /sys/.../events/in_magn_z_roc_falling_period 740What: /sys/.../events/in_magn_z_roc_falling_period
741What: /sys/.../events/in_rot_from_north_magnetic_thresh_rising_period
742What: /sys/.../events/in_rot_from_north_magnetic_thresh_falling_period
743What: /sys/.../events/in_rot_from_north_magnetic_roc_rising_period
744What: /sys/.../events/in_rot_from_north_magnetic_roc_falling_period
745What: /sys/.../events/in_rot_from_north_true_thresh_rising_period
746What: /sys/.../events/in_rot_from_north_true_thresh_falling_period
747What: /sys/.../events/in_rot_from_north_true_roc_rising_period
748What: /sys/.../events/in_rot_from_north_true_roc_falling_period
749What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_rising_period
750What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_thresh_falling_period
751What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_rising_period
752What: /sys/.../events/in_rot_from_north_magnetic_tilt_comp_roc_falling_period
753What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_rising_period
754What: /sys/.../events/in_rot_from_north_true_tilt_comp_thresh_falling_period
755What: /sys/.../events/in_rot_from_north_true_tilt_comp_roc_rising_period
756What: /sys/.../events/in_rot_from_north_true_tilt_comp_roc_falling_period
693What: /sys/.../events/in_voltageY_supply_thresh_rising_period 757What: /sys/.../events/in_voltageY_supply_thresh_rising_period
694What: /sys/.../events/in_voltageY_supply_thresh_falling_period 758What: /sys/.../events/in_voltageY_supply_thresh_falling_period
695What: /sys/.../events/in_voltageY_supply_roc_rising_period 759What: /sys/.../events/in_voltageY_supply_roc_rising_period
@@ -787,6 +851,10 @@ What: /sys/.../iio:deviceX/scan_elements/in_anglvel_z_en
787What: /sys/.../iio:deviceX/scan_elements/in_magn_x_en 851What: /sys/.../iio:deviceX/scan_elements/in_magn_x_en
788What: /sys/.../iio:deviceX/scan_elements/in_magn_y_en 852What: /sys/.../iio:deviceX/scan_elements/in_magn_y_en
789What: /sys/.../iio:deviceX/scan_elements/in_magn_z_en 853What: /sys/.../iio:deviceX/scan_elements/in_magn_z_en
854What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_magnetic_en
855What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_true_en
856What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_magnetic_tilt_comp_en
857What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_true_tilt_comp_en
790What: /sys/.../iio:deviceX/scan_elements/in_timestamp_en 858What: /sys/.../iio:deviceX/scan_elements/in_timestamp_en
791What: /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_en 859What: /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_en
792What: /sys/.../iio:deviceX/scan_elements/in_voltageY_en 860What: /sys/.../iio:deviceX/scan_elements/in_voltageY_en
@@ -853,6 +921,10 @@ What: /sys/.../iio:deviceX/scan_elements/in_anglvel_z_index
853What: /sys/.../iio:deviceX/scan_elements/in_magn_x_index 921What: /sys/.../iio:deviceX/scan_elements/in_magn_x_index
854What: /sys/.../iio:deviceX/scan_elements/in_magn_y_index 922What: /sys/.../iio:deviceX/scan_elements/in_magn_y_index
855What: /sys/.../iio:deviceX/scan_elements/in_magn_z_index 923What: /sys/.../iio:deviceX/scan_elements/in_magn_z_index
924What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_magnetic_index
925What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_true_index
926What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_magnetic_tilt_comp_index
927What: /sys/.../iio:deviceX/scan_elements/in_rot_from_north_true_tilt_comp_index
856What: /sys/.../iio:deviceX/scan_elements/in_incli_x_index 928What: /sys/.../iio:deviceX/scan_elements/in_incli_x_index
857What: /sys/.../iio:deviceX/scan_elements/in_incli_y_index 929What: /sys/.../iio:deviceX/scan_elements/in_incli_y_index
858What: /sys/.../iio:deviceX/scan_elements/in_timestamp_index 930What: /sys/.../iio:deviceX/scan_elements/in_timestamp_index
@@ -895,6 +967,19 @@ Description:
895 on-chip EEPROM. After power-up or chip reset the device will 967 on-chip EEPROM. After power-up or chip reset the device will
896 automatically load the saved configuration. 968 automatically load the saved configuration.
897 969
970What: /sys/.../iio:deviceX/in_proximity_raw
971What: /sys/.../iio:deviceX/in_proximity_input
972What: /sys/.../iio:deviceX/in_proximityY_raw
973KernelVersion: 3.4
974Contact: linux-iio@vger.kernel.org
975Description:
976 Proximity measurement indicating that some
977 object is near the sensor, usually be observing
978 reflectivity of infrared or ultrasound emitted.
979 Often these sensors are unit less and as such conversion
980 to SI units is not possible. Where it is, the units should
981 be meters.
982
898What: /sys/.../iio:deviceX/in_illuminanceY_input 983What: /sys/.../iio:deviceX/in_illuminanceY_input
899What: /sys/.../iio:deviceX/in_illuminanceY_raw 984What: /sys/.../iio:deviceX/in_illuminanceY_raw
900What: /sys/.../iio:deviceX/in_illuminanceY_mean_raw 985What: /sys/.../iio:deviceX/in_illuminanceY_mean_raw
@@ -933,3 +1018,13 @@ Description:
933 x y z w. Here x, y, and z component represents the axis about 1018 x y z w. Here x, y, and z component represents the axis about
934 which a rotation will occur and w component represents the 1019 which a rotation will occur and w component represents the
935 amount of rotation. 1020 amount of rotation.
1021
1022What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_tilt_comp_raw
1023What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_tilt_comp_raw
1024What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_magnetic_raw
1025What: /sys/bus/iio/devices/iio:deviceX/in_rot_from_north_true_raw
1026KernelVersion: 3.15
1027Contact: linux-iio@vger.kernel.org
1028Description:
1029 Raw value of rotation from true/magnetic north measured with
1030 or without compensation from tilt sensors.