diff options
author | Matt Ranostay <mranostay@gmail.com> | 2014-12-03 15:53:00 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-03-16 22:00:32 +0400 |
commit | 24ddb0e4bba4e98d3f3a783846789520e796b164 (patch) | |
tree | 71d53df60fe5ebab5455c6526c5bff71414718aa /Documentation/ABI/testing/sysfs-bus-iio-proximity-as3935 | |
parent | 43c7ecb1fa6b45633747773f055b8deb1c3e52be (diff) | |
download | linux-24ddb0e4bba4e98d3f3a783846789520e796b164.tar.xz |
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/ABI/testing/sysfs-bus-iio-proximity-as3935')
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-iio-proximity-as3935 | 16 |
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 @@ +What /sys/bus/iio/devices/iio:deviceX/in_proximity_raw +Date: March 2014 +KernelVersion: 3.15 +Contact: Matt Ranostay <mranostay@gmail.com> +Description: + Get the current distance in meters of storm (1km steps) + 1000-40000 = distance in meters + +What /sys/bus/iio/devices/iio:deviceX/sensor_sensitivity +Date: March 2014 +KernelVersion: 3.15 +Contact: Matt Ranostay <mranostay@gmail.com> +Description: + Show or set the gain boost of the amp, from 0-31 range. + 18 = indoors (default) + 14 = outdoors |