From: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
To: Jonathan Cameron <jic23@kernel.org>
Cc: linux-iio@vger.kernel.org
Subject: [PATCH v2 0/2] ZOPT2210 ambient light and UVB sensor driver
Date: Mon, 6 Nov 2017 00:24:58 +0100 [thread overview]
Message-ID: <1509924300-14634-1-git-send-email-pmeerw@pmeerw.net> (raw)
Driver for 20-bit ALS and UV B sensor with I2C interface exposing
the following API:
in_uvindex_input
in_illuminance_raw
in_illuminance_scale
in_illuminance_scale_available
in_intensity_uv_raw
in_intensity_uv_scale
in_intensity_uv_scale_available
integration_time
integration_time_available
v2: (thanks Jonathan)
* remove duplicate new lines as suggested
* split write functions as suggested
* reformatting error path as suggested
* drop _mode enum and use register address directly instead
* the intensity_uv channel now reports in SI units: W/m^2 (as suggested),
the illuminance channel reports in lux (after application of _SCALE)
* add unrelated patch to fix a typo in documentation
Peter Meerwald-Stadler (2):
iio: light: Add driver for IDT ZOPT2201 ambient light and UVB sensor
Documentation: iio: Fix typo
Documentation/ABI/testing/sysfs-bus-iio | 2 +-
drivers/iio/light/Kconfig | 10 +
drivers/iio/light/Makefile | 1 +
drivers/iio/light/zopt2201.c | 568 ++++++++++++++++++++++++++++++++
4 files changed, 580 insertions(+), 1 deletion(-)
create mode 100644 drivers/iio/light/zopt2201.c
--
2.7.4
next reply other threads:[~2017-11-05 23:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-05 23:24 Peter Meerwald-Stadler [this message]
2017-11-05 23:24 ` [PATCH v2 1/2] iio: light: Add driver for IDT ZOPT2201 ambient light and UVB sensor Peter Meerwald-Stadler
2017-11-11 0:26 ` Jonathan Cameron
2017-11-19 14:54 ` Jonathan Cameron
2017-11-05 23:25 ` [PATCH v2 2/2] Documentation: iio: Fix typo Peter Meerwald-Stadler
2017-11-19 14:55 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1509924300-14634-1-git-send-email-pmeerw@pmeerw.net \
--to=pmeerw@pmeerw.net \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).