]> git.baikalelectronics.ru Git - kernel.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)
commit3b53c2bef9952294b0715b6ef4643bddcde9cb11
tree5585576943b923f6003ca507569a80743015a2f6
parent85eb5b5d426ea84db06f6be8f8b0eb2828fcd02e
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