iio: light: Add driver for IDT ZOPT2201 ambient light and UVB sensor
authorPeter Meerwald-Stadler <pmeerw@pmeerw.net>
Sun, 5 Nov 2017 23:24:59 +0000 (00:24 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 2 Dec 2017 10:39:48 +0000 (10:39 +0000)
commit8556f5149819239a9dbcbc8d61b496a51f0c66a3
tree8187a8b3077d79001ecd746bb54a3a2fdf715469
parent9d793c1a7f25d75d5947022368dfcfa9f75d4412
iio: light: Add driver for IDT ZOPT2201 ambient light and UVB sensor

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

Signed-off-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/Kconfig
drivers/iio/light/Makefile
drivers/iio/light/zopt2201.c [new file with mode: 0644]