[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1701872051.git.cmo@melexis.com>
Date: Wed, 6 Dec 2023 21:42:55 +0100
From: Crt Mori <cmo@...exis.com>
To: Jonathan Cameron <jic23@...nel.org>
Cc: Lars-Peter Clausen <lars@...afoo.de>,
Andrew Hepp <andrew.hepp@...pp.dev>, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org, Crt Mori <cmo@...exis.com>
Subject: [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
--
2.40.1
Powered by blists - more mailing lists