Skip to content

Commit 94290f7

Browse files
dlechjic23
authored andcommitted
iio: ABI: document calibscale_available attributes
There are a number of light sensor drivers that have various calibscale_available attributes. Up to now, these were missing from the documentation. Kernel version 4.8 is used since the first use appears to be in commit eb869ad ("iio: Add tcs3472 color light sensor driver"). Signed-off-by: David Lechner <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 4bd7e5c commit 94290f7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Documentation/ABI/testing/sysfs-bus-iio

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,19 @@ Description:
575575
production inaccuracies). If shared across all channels,
576576
<type>_calibscale is used.
577577

578+
What: /sys/bus/iio/devices/iio:deviceX/in_illuminanceY_calibscale_available
579+
What: /sys/bus/iio/devices/iio:deviceX/in_intensityY_calibscale_available
580+
What: /sys/bus/iio/devices/iio:deviceX/in_proximityY_calibscale_available
581+
KernelVersion: 4.8
582+
583+
Description:
584+
Available values of calibscale. Maybe expressed as either of:
585+
586+
- a small discrete set of values like "1 8 16"
587+
- a range specified as "[min step max]"
588+
589+
If shared across all channels, <type>_calibscale_available is used.
590+
578591
What: /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender
579592
What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender
580593
What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender

0 commit comments

Comments
 (0)