aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorReyad Attiyat <reyad.attiyat@gmail.com>2014-07-17 14:18:00 -0400
committerJonathan Cameron <jic23@kernel.org>2014-07-20 08:30:59 -0400
commitb531db84566644068c49933bf7f6d55932f901ea (patch)
tree9cc7948ed80ef16e1fa99a739044a078a0c08eee /Documentation/ABI
parent3008d082f2fa27249d6318cf46f835ba443d3950 (diff)
iio: Documentation: Add documentation for rotation from north sensor usage attributes
Added documentation for the sysfs attributes supported by the rotation from north sensor. Signed-off-by: Reyad Attiyat <reyad.attiyat@gmail.com> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-iio82
1 files changed, 82 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index 738b56f862b4..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
@@ -946,3 +1018,13 @@ Description:
946 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
947 which a rotation will occur and w component represents the 1019 which a rotation will occur and w component represents the
948 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.