]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: light: veml6030: add support for veml6035
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Tue, 1 Oct 2024 20:21:22 +0000 (22:21 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 6 Oct 2024 14:09:36 +0000 (15:09 +0100)
commitccc26bd7d7d73e1539f401b1fa0384752ca30627
tree5abd84fbcc8933d54b497b384c7615f56350f58e
parentf1bfc1c993e3c1c49f360f07762d7ec50d165cc5
iio: light: veml6030: add support for veml6035

The veml6035 is an ALS that shares most of its functionality with the
veml6030, which allows for some code recycling.

Some chip-specific properties differ and dedicated functions to get and
set the sensor gain as well as its initialization are required.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://patch.msgid.link/20241001-veml6035-v3-9-d789f6ff147c@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/Kconfig
drivers/iio/light/veml6030.c