Commit 7b779f57 authored by Rishi Gupta's avatar Rishi Gupta Committed by Jonathan Cameron
Browse files

iio: light: add driver for veml6030 ambient light sensor



veml6030 is an ambient light sensor from Vishay semiconductors.
It has 16-bit resolution, supports both ambient light measurement
and white channel which is more responsive to wider wavelength
spectrum. It has flexible power saving, integration time and
gain options. Communication with host is over I2C.

Signed-off-by: default avatarRishi Gupta <gupt21@gmail.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent f8710f03
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -507,6 +507,17 @@ config VCNL4035
	  To compile this driver as a module, choose M here: the
	  module will be called vcnl4035.

config VEML6030
	tristate "VEML6030 ambient light sensor"
	select REGMAP_I2C
	depends on I2C
	help
	  Say Y here if you want to build a driver for the Vishay VEML6030
	  ambient light sensor (ALS).

	  To compile this driver as a module, choose M here: the
	  module will be called veml6030.

config VEML6070
	tristate "VEML6070 UV A light sensor"
	depends on I2C
+1 −0
Original line number Diff line number Diff line
@@ -49,6 +49,7 @@ obj-$(CONFIG_TSL4531) += tsl4531.o
obj-$(CONFIG_US5182D)		+= us5182d.o
obj-$(CONFIG_VCNL4000)		+= vcnl4000.o
obj-$(CONFIG_VCNL4035)		+= vcnl4035.o
obj-$(CONFIG_VEML6030)		+= veml6030.o
obj-$(CONFIG_VEML6070)		+= veml6070.o
obj-$(CONFIG_VL6180)		+= vl6180.o
obj-$(CONFIG_ZOPT2201)		+= zopt2201.o
+908 −0

File added.

Preview size limit exceeded, changes collapsed.