]> 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)
commit58c3da58aaf23a7114e53dfe31c40cf911bab0f5
tree5585576943b923f6003ca507569a80743015a2f6
parent9c3202895bc4f4954d16dcd94a61df1d0c124fe5
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