devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v8 0/2] AS3935 lightning sensor support
@ 2014-03-12 12:53 Matt Ranostay
       [not found] ` <1394628794-7598-1-git-send-email-mranostay-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  2014-03-12 12:53 ` [PATCH v8 2/2] iio: Add AS3935 lightning sensor support Matt Ranostay
  0 siblings, 2 replies; 7+ messages in thread
From: Matt Ranostay @ 2014-03-12 12:53 UTC (permalink / raw)
  To: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-iio-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: matt.porter-QSEj5FYQhm4dnm+yROfE0A,
	pantelis.antoniou-Re5JQEeQqe8AvxtiuMwx3w, Matt Ranostay

This series adds support for the AMS AS3935 lightning sensor that allows
reporting back estimated storm distance and strike events.

Changes from v7

* Added IIO_CHAN_INFO_PROCESSED to report back meter converted
* Storm out-of-range is reported as -EINVAL instead of mystery value 63000
* Fixed error unwinding order in as3935_probe()
* Renamed value gain_boot attribute to sensor_sensitivity

Changes from v6

* Revised binding documents to not use the term "interrupts mapping"
* Renamed tune-cap property to a more clear tuning-capacitor-pf

Changes from v5

* SPI write cache-aligned issues fixed
* Fixed mutex_unlock's being missed
* Reports distance in meters instead of kilometers (1km steps)
* tune_cap is now in picofarads and not a register value

Matt Ranostay (2):
  iio:as3935: Add DT binding docs for AS3935 driver
  iio: Add AS3935 lightning sensor support

 .../ABI/testing/sysfs-bus-iio-proximity-as3935     |  16 +
 .../devicetree/bindings/iio/proximity/as3935.txt   |  28 ++
 .../devicetree/bindings/vendor-prefixes.txt        |   1 +
 drivers/iio/Kconfig                                |   1 +
 drivers/iio/Makefile                               |   1 +
 drivers/iio/proximity/Kconfig                      |  19 +
 drivers/iio/proximity/Makefile                     |   6 +
 drivers/iio/proximity/as3935.c                     | 456 +++++++++++++++++++++
 8 files changed, 528 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-proximity-as3935
 create mode 100644 Documentation/devicetree/bindings/iio/proximity/as3935.txt
 create mode 100644 drivers/iio/proximity/Kconfig
 create mode 100644 drivers/iio/proximity/Makefile
 create mode 100644 drivers/iio/proximity/as3935.c

-- 
1.8.3.2

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-03-15 15:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-12 12:53 [PATCH v8 0/2] AS3935 lightning sensor support Matt Ranostay
     [not found] ` <1394628794-7598-1-git-send-email-mranostay-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-03-12 12:53   ` [PATCH v8 1/2] iio:as3935: Add DT binding docs for AS3935 driver Matt Ranostay
     [not found]     ` <1394628794-7598-2-git-send-email-mranostay-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-03-12 14:30       ` Rob Herring
     [not found]         ` <CAL_JsqKDmDScse0eHr7p6xm6ks30_niH_=z6d5XJhCf-THc2Dw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-03-15 14:58           ` Jonathan Cameron
2014-03-12 12:53 ` [PATCH v8 2/2] iio: Add AS3935 lightning sensor support Matt Ranostay
     [not found]   ` <1394628794-7598-3-git-send-email-mranostay-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-03-13  2:09     ` Marek Vasut
     [not found]       ` <201403130309.32474.marex-ynQEQJNshbs@public.gmane.org>
2014-03-15 15:00         ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).