aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-iio-light-lm3533-als62
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 @@
1What: /sys/.../events/in_illuminance0_thresh_either_en
2Date: April 2012
3KernelVersion: 3.5
4Contact: Johan Hovold <jhovold@gmail.com>
5Description:
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
11What: /sys/.../events/in_illuminance0_threshY_hysteresis
12Date: May 2012
13KernelVersion: 3.5
14Contact: Johan Hovold <jhovold@gmail.com>
15Description:
16 Get the hysteresis for thresholds Y, that is,
17
18 threshY_hysteresis = threshY_raising - threshY_falling
19
20What: /sys/.../events/illuminance_threshY_falling_value
21What: /sys/.../events/illuminance_threshY_raising_value
22Date: April 2012
23KernelVersion: 3.5
24Contact: Johan Hovold <jhovold@gmail.com>
25Description:
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
37What: /sys/bus/iio/devices/iio:deviceX/in_illuminance0_zone
38Date: April 2012
39KernelVersion: 3.5
40Contact: Johan Hovold <jhovold@gmail.com>
41Description:
42 Get the current light zone (0..4) as defined by the
43 in_illuminance0_threshY_{falling,rising} thresholds.
44
45What: /sys/bus/iio/devices/iio:deviceX/out_currentY_raw
46Date: May 2012
47KernelVersion: 3.5
48Contact: Johan Hovold <jhovold@gmail.com>
49Description:
50 Get output current for channel Y (0..255), that is,
51 out_currentY_currentZ_raw, where Z is the current zone.
52
53What: /sys/bus/iio/devices/iio:deviceX/out_currentY_currentZ_raw
54Date: May 2012
55KernelVersion: 3.5
56Contact: Johan Hovold <jhovold@gmail.com>
57Description:
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.