iio: proximity: as3935: noise detection + threshold changes
authorMatt Ranostay <matt.ranostay@konsulko.com>
Thu, 25 May 2017 05:52:29 +0000 (22:52 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 25 Sep 2017 18:49:21 +0000 (19:49 +0100)
commiteb35279dd7c7834d6320edf24e1b9786d31e4899
tree2db4d76fee1cdccd2483ca5e12a05bf4e6597806
parentb2e312061c5e9f533c44487862dc405094bf250a
iio: proximity: as3935: noise detection + threshold changes

Most applications are too noisy to allow the default noise and
watchdog settings, and thus need to be configurable via DT
properties.

Also default settings to POR defaults on a reset, and register
distuber interrupts as noise since it prevents proper usage.

Cc: devicetree@vger.kernel.org
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/ABI/testing/sysfs-bus-iio-proximity-as3935
Documentation/devicetree/bindings/iio/proximity/as3935.txt
drivers/iio/proximity/as3935.c