[PATCH v2 0/2] iio: temperature: mlx90635 Driver for MLX90635 IR temperature sensor

From: Crt Mori
Date: Tue Nov 28 2023 - 06:02:17 EST


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 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 | 1071 +++++++++++++++++
5 files changed, 1108 insertions(+), 2 deletions(-)
create mode 100644 drivers/iio/temperature/mlx90635.c

--
2.40.1