Skip to content

Support for max44000 Ambient and Infrared Proximity Sensor

Crestez Dan Leonard linux-iio lkml 3 versions – Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 5 repliesApplied
  2. v25 patches 5 repliesSuperseded
  3. v15 patches 18 repliesSuperseded

Changes in v3 from the cover letter

* Drop reg_defaults from regmap_config
* Use REGCACHE_RBTREE
* Implement readable/writable/volatile reg with switches
* Use test_bit when checking the scan mask
* Add _INT_TIME info_mask in patch 4 rather than 2
* Cleaner spacing in max44000_remove

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/5max44000: Initial supportdrivers/iio/light/Kconfig drivers/iio/light/Makefile drivers/iio/light/max44000.c+336 -01 reply
2/5max44000: Initial support for proximity readingdrivers/iio/light/max44000.c+43 -21 reply
3/5max44000: Support controlling LED current outputdrivers/iio/light/max44000.c+53 -01 reply
4/5max44000: Expose ambient sensor scalingdrivers/iio/light/max44000.c+162 -51 reply
5/5max44000: Initial triggered buffer supportdrivers/iio/light/max44000.c+62 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/5] Support for max44000 Ambient and Infrared Proximity Sensor

Changes since v2:
* Drop reg_defaults from regmap_config
* Use REGCACHE_RBTREE
* Implement readable/writable/volatile reg with switches
* Use test_bit when checking the scan mask
* Add _INT_TIME info_mask in patch 4 rather than 2
* Cleaner spacing in max44000_remove

Changes since v1:
* Remove max44000_data.client
* Maintain alphabetical order in kconfig/makefile
* Avoid pointless inlines
* Remove explicit CONFIG_OF because no special handling is done
* Set storagebits = 16 for proximity channel and avoid VLAs
* Expand MAX44000_REGMASK for readability/reviewability
* Clear irq bits at the end of the probe function
* Only write important bits on probe rather than everything

Crestez Dan Leonard (5):
max44000: Initial support
max44000: Initial support for proximity reading
max44000: Support controlling LED current output
max44000: Expose ambient sensor scaling
max44000: Initial triggered buffer support

 drivers/iio/light/Kconfig    |  11 +
 drivers/iio/light/Makefile   |   1 +
 drivers/iio/light/max44000.c | 637 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 649 insertions(+)
 create mode 100644 drivers/iio/light/max44000.c
Signature · 1 line
2.5.5