aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMatt Ranostay <mranostay@gmail.com>2014-12-03 07:53:00 -0500
committerJonathan Cameron <jic23@kernel.org>2014-03-16 14:00:32 -0400
commit24ddb0e4bba4e98d3f3a783846789520e796b164 (patch)
tree71d53df60fe5ebab5455c6526c5bff71414718aa /Documentation
parent43c7ecb1fa6b45633747773f055b8deb1c3e52be (diff)
iio: Add AS3935 lightning sensor support
AS3935 chipset can detect lightning strikes and reports those back as events and the estimated distance to the storm. Signed-off-by: Matt Ranostay <mranostay@gmail.com> Reviewed-by: Marek Vasut <marex@denx.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/ABI/testing/sysfs-bus-iio-proximity-as393516
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-iio-proximity-as3935 b/Documentation/ABI/testing/sysfs-bus-iio-proximity-as3935
new file mode 100644
index 000000000000..6708c5e264aa
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-bus-iio-proximity-as3935
@@ -0,0 +1,16 @@
1What /sys/bus/iio/devices/iio:deviceX/in_proximity_raw
2Date: March 2014
3KernelVersion: 3.15
4Contact: Matt Ranostay <mranostay@gmail.com>
5Description:
6 Get the current distance in meters of storm (1km steps)
7 1000-40000 = distance in meters
8
9What /sys/bus/iio/devices/iio:deviceX/sensor_sensitivity
10Date: March 2014
11KernelVersion: 3.15
12Contact: Matt Ranostay <mranostay@gmail.com>
13Description:
14 Show or set the gain boost of the amp, from 0-31 range.
15 18 = indoors (default)
16 14 = outdoors