]> git.baikalelectronics.ru Git - kernel.git/commit
iio: light: vcnl4000 add support for the VCNL4040 proximity and light sensor
authorAngus Ainslie (Purism) <angus@akkea.ca>
Thu, 21 Mar 2019 15:40:46 +0000 (08:40 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:20:47 +0000 (20:20 +0100)
commit9d1e13b66bb86f6889e137f6fb1c3bc65aec62d7
tree812ceed4c93c61368a882fc3c06150c519741026
parenteb19c840beab01542c993244679cf65bbc17a1f1
iio: light: vcnl4000 add support for the VCNL4040 proximity and light sensor

The VCNL4040 is almost identical to the VCNL4200 as far as register
layout goes but just need to check a different ID register location.

Signed-off-by: Angus Ainslie (Purism) <angus@akkea.ca>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/vcnl4000.c