Skip to content

iio: temperature: mlx90635 Driver for MLX90635 IR temperature sensor

Crt Mori linux-devicetree linux-iio lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v22 patches 6 repliesSuperseded
  3. v12 patches 8 repliesSuperseded

Changes in v3 from the cover letter

- add separate regmap for eeprom to make caching more obvious
- fix some style comments from Jonathan Cameron

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2iio: temperature: mlx90635 MLX90635 IR Temperature sensorMAINTAINERS drivers/iio/temperature/Kconfig drivers/iio/temperature/Makefile +1 more+1117 -01 reply
2/2dt-bindings: iio: temperature: add MLX90635 deviceDocumentation/devicetree/bindings/iio/temperature/melexis,mlx90632.yaml+17 -20 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] iio: temperature: mlx90635 Driver for MLX90635 IR temperature sensor

Hi everybody,

There is a new contactless sensor in Melexis portfolio. MLX90635 is just 1.8x1.8mm in size, but with factory calibration offers instant usage in every project. It offers wide refresh rate range that is configurable between 100ms and 4s.

Driver currently provides temperature calculations, power management and changes to the refresh rate. Since sensor is aimed towards the consumer market there is really low number of EEPROM write cycles available, so driver changes refresh rate only in run time registers to avoid writing to EEPROM. Reading EEPROM is not available in Sleep Step mode, so I am using caching at the driver initialization to ensure that measurements can still be taken in Sleep Step mode.

Changes v2 -> v3:

- add separate regmap for eeprom to make caching more obvious
- fix some style comments from Jonathan Cameron

Changes v1 -> v2:
- dt-bindings are now enum according to the comments from Krzysztof Kozlowski
- expand the path recipient list for the patches using get_maintainers.pl
- driver cache and probe (and some style) adjusted according to comments from Jonathan Cameron
- improve DSP version detection (make it clearer)

Crt Mori (2):
iio: temperature: mlx90635 MLX90635 IR Temperature sensor
dt-bindings: iio: temperature: add MLX90635 device

 .../iio/temperature/melexis,mlx90632.yaml     |   19 +-
 MAINTAINERS                                   |    7 +
 drivers/iio/temperature/Kconfig               |   12 +
 drivers/iio/temperature/Makefile              |    1 +
 drivers/iio/temperature/mlx90635.c            | 1097 +++++++++++++++++
 5 files changed, 1134 insertions(+), 2 deletions(-)
 create mode 100644 drivers/iio/temperature/mlx90635.c
Signature · 1 line
2.40.1