]> asedeno.scripts.mit.edu Git - linux.git/commit
iio: vcnl4000: add support for VCNL4200
authorTomas Novotny <tomas@novotny.cz>
Wed, 25 Jul 2018 15:18:21 +0000 (17:18 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 29 Jul 2018 11:19:28 +0000 (12:19 +0100)
commitbe38866fbb97f0ee2b144ab1de9ee2833a76e0fb
tree5585576943b923f6003ca507569a80743015a2f6
parent58bf9ace8c91be9b3e75cb001dbc199fae89d106
iio: vcnl4000: add support for VCNL4200

VCNL4200 is an integrated long distance (up to 1500mm) proximity and
ambient light sensor.

The support is very basic. There is no configuration of proximity and
ambient light sensing yet. Only the reading of both measured values is
done.

The reading of ambient light and proximity values is blocking. If you
request a new value too early, the driver waits for new value to be
ready.

Signed-off-by: Tomas Novotny <tomas@novotny.cz>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/Kconfig
drivers/iio/light/vcnl4000.c