This patchset adds an IIO driver for Vishay veml6046x00 RGBIR color sensor
Changes in v6:
- Thanks to the in-depth review of Andy many datatype improvements were
realized.
- According to Jonathans review change the channel types from IIO_LIGHT to
IIO_INTENSITY.
Changes in v5:
- Thanks to the feedback of Andy and further explanations of Jonathan many
improvements could be implemented.
- add documentation in kernel-doc format
- iio_push_to_buffers_with_ts() is not used as also testing against
linux-stable where it is not available so far.
Changes in v4:
- implement feedback from Andy and Jonathan
- implement feedback from vendor (reading interrupt register as bulk read)
Changes in v3:
- implement a lot of feedback from Jonathan
- change scale value to real factor of lux per raw count instead of hardware
gain
- optimize code by using more lookup tables
- remove unimplemented threshold functionality
Changes in v2:
- fix missing include for example in vishay,veml6046x00.yaml
Andreas Klinger (3):
dt-bindings: iio: light: veml6046x00: add color sensor
iio: light: add support for veml6046x00 RGBIR color sensor
MAINTAINER: add maintainer for veml6046x00
.../iio/light/vishay,veml6046x00.yaml | 51 +
MAINTAINERS | 6 +
drivers/iio/light/Kconfig | 13 +
drivers/iio/light/Makefile | 1 +
drivers/iio/light/veml6046x00.c | 1037 +++++++++++++++++
5 files changed, 1108 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/light/vishay,veml6046x00.yaml
create mode 100644 drivers/iio/light/veml6046x00.c
--
2.39.5