devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] iio: light: add support for TI's opt3001 light sensor
@ 2015-07-02 22:27 Andreas Dannenberg
       [not found] ` <1435876079-26287-1-git-send-email-dannenberg-l0cyMroinI0@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Andreas Dannenberg @ 2015-07-02 22:27 UTC (permalink / raw)
  To: linux-iio-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: Andreas Dannenberg

TI's opt3001 light sensor is a simple and yet powerful
little device. The device provides 99% IR rejection,
automatic full-scale, very low power consumption and
measurements from 0.01 to 83k lux.

This patch adds support for that device using the IIO
framework.

See http://www.ti.com/product/opt3001 for more information.

Patch History:
v3
  Add "ti,opt3001" device tree compatible string
  Add device tree binding documentation
v2 (Addressing feedback from Peter Meerwald + additional fixes)
  Fix restoring of IRQ mutex functionality in error case
  Use managed IIO device alloc/registration
  Add parenthesis to improve formula readability
  Fix error message number formatting
  Improve integration time parameter checks
  Clean up redundant return value assignments
  Fix broken lookup table algorithm
  Fix duplicate lookup table entry
  Disallow writing of negative event values

The individual commits can be reviewed at:
http://git.ti.com/cgit/cgit.cgi/ti-analog-linux-kernel/adannenb-analog.git/log/?h=opt3001

 .../devicetree/bindings/iio/light/opt3001.txt      |  18 +
 drivers/iio/light/Kconfig                          |  10 +
 drivers/iio/light/Makefile                         |   1 +
 drivers/iio/light/opt3001.c                        | 804 +++++++++++++++++++++
 4 files changed, 833 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/light/opt3001.txt
 create mode 100644 drivers/iio/light/opt3001.c

-- 
1.9.1

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

end of thread, other threads:[~2015-07-23 20:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-02 22:27 [PATCH v3 0/2] iio: light: add support for TI's opt3001 light sensor Andreas Dannenberg
     [not found] ` <1435876079-26287-1-git-send-email-dannenberg-l0cyMroinI0@public.gmane.org>
2015-07-02 22:27   ` [PATCH v3 1/2] " Andreas Dannenberg
     [not found]     ` <1435876079-26287-2-git-send-email-dannenberg-l0cyMroinI0@public.gmane.org>
2015-07-05 14:08       ` Jonathan Cameron
     [not found]         ` <55993A4C.10105-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-07-08 16:44           ` Andreas Dannenberg
     [not found]             ` <559D5366.8030003-l0cyMroinI0@public.gmane.org>
2015-07-19 13:16               ` Jonathan Cameron
2015-07-02 22:27   ` [PATCH v3 2/2] iio: light: opt3001: Add device tree binding documentation Andreas Dannenberg
     [not found]     ` <1435876079-26287-3-git-send-email-dannenberg-l0cyMroinI0@public.gmane.org>
2015-07-05 14:09       ` Jonathan Cameron
     [not found]         ` <55993A7D.7090806-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-07-19 13:17           ` Jonathan Cameron
     [not found]             ` <55ABA358.3040700-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2015-07-20 18:22               ` Andreas Dannenberg
     [not found]                 ` <55AD3C72.4050607-l0cyMroinI0@public.gmane.org>
2015-07-23 20:02                   ` 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).