summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-bus-iio
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2024-08-15 12:22:10 -0500
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-08-17 15:49:33 +0100
commit94290f74c5b73c2db1f49fa1f3bcfcff0b9cacc4 (patch)
treebafcf4aa1aa2a0d41a71a8212d10764ecfb91c3b /Documentation/ABI/testing/sysfs-bus-iio
parent4bd7e5ce519a9f1de1a58fb10438e45aa9cc85ca (diff)
downloadlinux-94290f74c5b73c2db1f49fa1f3bcfcff0b9cacc4.tar.gz
linux-94290f74c5b73c2db1f49fa1f3bcfcff0b9cacc4.tar.bz2
linux-94290f74c5b73c2db1f49fa1f3bcfcff0b9cacc4.zip
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 eb869ade30a6 ("iio: Add tcs3472 color light sensor driver"). Signed-off-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20240815-iio-abi-calib-audit-v1-1-536b2fea8620@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-bus-iio')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-iio13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio
index 78eca1698123..67d8d1df23d4 100644
--- a/Documentation/ABI/testing/sysfs-bus-iio
+++ b/Documentation/ABI/testing/sysfs-bus-iio
@@ -575,6 +575,19 @@ Description:
production inaccuracies). If shared across all channels,
<type>_calibscale is used.
+What: /sys/bus/iio/devices/iio:deviceX/in_illuminanceY_calibscale_available
+What: /sys/bus/iio/devices/iio:deviceX/in_intensityY_calibscale_available
+What: /sys/bus/iio/devices/iio:deviceX/in_proximityY_calibscale_available
+KernelVersion: 4.8
+Contact: linux-iio@vger.kernel.org
+Description:
+ Available values of calibscale. Maybe expressed as either of:
+
+ - a small discrete set of values like "1 8 16"
+ - a range specified as "[min step max]"
+
+ If shared across all channels, <type>_calibscale_available is used.
+
What: /sys/bus/iio/devices/iio:deviceX/in_activity_calibgender
What: /sys/bus/iio/devices/iio:deviceX/in_energy_calibgender
What: /sys/bus/iio/devices/iio:deviceX/in_distance_calibgender