Skip to content

Commit 6c0690e

Browse files
pmeerwjic23
authored andcommitted
iio: Add ABI documentation for proximity
has been in use for a long time, but never documented proximity is unit-less, except otherwise stated, see e.g. the as3935 driver where it is meter Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
1 parent 34683a5 commit 6c0690e

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

‎Documentation/ABI/testing/sysfs-bus-iio‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,19 @@ Description:
895895
on-chip EEPROM. After power-up or chip reset the device will
896896
automatically load the saved configuration.
897897

898+
What: /sys/.../iio:deviceX/in_proximity_raw
899+
What: /sys/.../iio:deviceX/in_proximity_input
900+
What: /sys/.../iio:deviceX/in_proximityY_raw
901+
KernelVersion: 3.4
902+
Contact: linux-iio@vger.kernel.org
903+
Description:
904+
Proximity measurement indicating that some
905+
object is near the sensor, usually be observing
906+
reflectivity of infrared or ultrasound emitted.
907+
Often these sensors are unit less and as such conversion
908+
to SI units is not possible. Where it is, the units should
909+
be meters.
910+
898911
What: /sys/.../iio:deviceX/in_illuminanceY_input
899912
What: /sys/.../iio:deviceX/in_illuminanceY_raw
900913
What: /sys/.../iio:deviceX/in_illuminanceY_mean_raw

0 commit comments

Comments
 (0)