linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ZOPT2210 ambient light and UVB sensor driver
@ 2017-11-05 23:24 Peter Meerwald-Stadler
  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-05 23:25 ` [PATCH v2 2/2] Documentation: iio: Fix typo Peter Meerwald-Stadler
  0 siblings, 2 replies; 6+ messages in thread
From: Peter Meerwald-Stadler @ 2017-11-05 23:24 UTC (permalink / raw)
  To: Jonathan Cameron; +Cc: linux-iio

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


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

end of thread, other threads:[~2017-11-19 14:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-05 23:24 [PATCH v2 0/2] ZOPT2210 ambient light and UVB sensor driver Peter Meerwald-Stadler
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

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).