diff options
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-iio-light-lm3533-als | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-iio-light-lm3533-als b/Documentation/ABI/testing/sysfs-bus-iio-light-lm3533-als new file mode 100644 index 000000000000..694a52c8cf82 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-iio-light-lm3533-als | |||
@@ -0,0 +1,62 @@ | |||
1 | What: /sys/.../events/in_illuminance0_thresh_either_en | ||
2 | Date: April 2012 | ||
3 | KernelVersion: 3.5 | ||
4 | Contact: Johan Hovold <jhovold@gmail.com> | ||
5 | Description: | ||
6 | Event generated when channel passes one of the four thresholds | ||
7 | in each direction (rising|falling) and a zone change occurs. | ||
8 | The corresponding light zone can be read from | ||
9 | in_illuminance0_zone. | ||
10 | |||
11 | What: /sys/.../events/in_illuminance0_threshY_hysteresis | ||
12 | Date: May 2012 | ||
13 | KernelVersion: 3.5 | ||
14 | Contact: Johan Hovold <jhovold@gmail.com> | ||
15 | Description: | ||
16 | Get the hysteresis for thresholds Y, that is, | ||
17 | |||
18 | threshY_hysteresis = threshY_raising - threshY_falling | ||
19 | |||
20 | What: /sys/.../events/illuminance_threshY_falling_value | ||
21 | What: /sys/.../events/illuminance_threshY_raising_value | ||
22 | Date: April 2012 | ||
23 | KernelVersion: 3.5 | ||
24 | Contact: Johan Hovold <jhovold@gmail.com> | ||
25 | Description: | ||
26 | Specifies the value of threshold that the device is comparing | ||
27 | against for the events enabled by | ||
28 | in_illuminance0_thresh_either_en (0..255), where Y in 0..3. | ||
29 | |||
30 | Note that threshY_falling must be less than or equal to | ||
31 | threshY_raising. | ||
32 | |||
33 | These thresholds correspond to the eight zone-boundary | ||
34 | registers (boundaryY_{low,high}) and defines the five light | ||
35 | zones. | ||
36 | |||
37 | What: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_zone | ||
38 | Date: April 2012 | ||
39 | KernelVersion: 3.5 | ||
40 | Contact: Johan Hovold <jhovold@gmail.com> | ||
41 | Description: | ||
42 | Get the current light zone (0..4) as defined by the | ||
43 | in_illuminance0_threshY_{falling,rising} thresholds. | ||
44 | |||
45 | What: /sys/bus/iio/devices/iio:deviceX/out_currentY_raw | ||
46 | Date: May 2012 | ||
47 | KernelVersion: 3.5 | ||
48 | Contact: Johan Hovold <jhovold@gmail.com> | ||
49 | Description: | ||
50 | Get output current for channel Y (0..255), that is, | ||
51 | out_currentY_currentZ_raw, where Z is the current zone. | ||
52 | |||
53 | What: /sys/bus/iio/devices/iio:deviceX/out_currentY_currentZ_raw | ||
54 | Date: May 2012 | ||
55 | KernelVersion: 3.5 | ||
56 | Contact: Johan Hovold <jhovold@gmail.com> | ||
57 | Description: | ||
58 | Set the output current for channel out_currentY when in zone | ||
59 | Z (0..255), where Y in 0..2 and Z in 0..4. | ||
60 | |||
61 | These values correspond to the ALS-mapper target registers for | ||
62 | ALS-mapper Y + 1. | ||