diff options
author | Matt Ranostay <mranostay@gmail.com> | 2014-12-03 12:53:00 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-03-16 18:00:32 +0000 |
commit | 24ddb0e4bba4e98d3f3a783846789520e796b164 (patch) | |
tree | 71d53df60fe5ebab5455c6526c5bff71414718aa /drivers/iio/proximity/Kconfig | |
parent | 43c7ecb1fa6b45633747773f055b8deb1c3e52be (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 'drivers/iio/proximity/Kconfig')
-rw-r--r-- | drivers/iio/proximity/Kconfig | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/iio/proximity/Kconfig b/drivers/iio/proximity/Kconfig new file mode 100644 index 000000000000..0c8cdf58f6a1 --- /dev/null +++ b/drivers/iio/proximity/Kconfig @@ -0,0 +1,19 @@ +# +# Proximity sensors +# + +menu "Lightning sensors" + +config AS3935 + tristate "AS3935 Franklin lightning sensor" + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER + depends on SPI + help + Say Y here to build SPI interface support for the Austrian + Microsystems AS3935 lightning detection sensor. + + To compile this driver as a module, choose M here: the + module will be called as3935 + +endmenu |