iio: cm36651: Add CM36651 proximity/light sensor
v5 cover iio: cm36651: Add CM36651 proximity/light sensor
Hello all,
Thank you for your advices. I have revised some minor issues of v4 revision.
This patch is the fifth revision for Capella CM36651 proximity and RGB light sensor driver. The driver exposes five channnels: Red, Green, Clear and proximity.
It also support detection proximity event.
This dricer supports:
- Event: rising and falling proximity events.
- Reading channel through read_raw callback.
- Writing sensor data integration time each channel through write_raw callback.
v5 changed below:
- Use *_REG_NUM macro at size of array.
- Revise error handling in probe function.
Subject: [PATCH 0/2] *** SUBJECT HERE ***
*** BLURB HERE ***
Beomho Seo (2):
iio: cm36651: Add CM36651 proximity light/sensor driver
DT: Add documentation for cm36651 proximity/light sensor
.../devicetree/bindings/iio/light/cm36651.txt | 26 + .../devicetree/bindings/vendor-prefixes.txt | 1 + drivers/iio/light/Kconfig | 11 + drivers/iio/light/cm36651.c | 706 ++++++++++++++++++++ 4 files changed, 744 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/light/cm36651.txt create mode 100644 drivers/iio/light/cm36651.c
Signature · 10 lines
1.7.9.5 -- Best Regards, Beomho Seo, Assistant Engineer System S/W Lab., S/W Platform Team, Software Center Samsung Electronics