[PATCH v2 0/2] add ti tmag5273 driver

From: Gerald Loacker
Date: Mon Nov 21 2022 - 07:36:04 EST


Hi all,

This patch set adds support for the TI TMAG5273 Low-Power Linear 3D Hall-
Effect Sensor. Additionally to temperature and magnetic X, Y and Z-axes the
angle and magnitude are reported. The sensor is operating in continuous
measurement mode and changes to sleep mode if not used for 5 seconds.

Tests were done on a ROCK3 Model A board using the TMAG5273 evaluation
module.

Changes in v2:
Thanks to Krzysztof, Andy and Jonathan for your detailed review and
explanations on the first version. This patch includes all your
suggestions and some additional cleanup in the probe function.

Gerald Loacker (2):
dt-bindings: iio: magnetometer: add ti tmag5273 documentation file
iio: magnetometer: add ti tmag5273 driver

.../iio/magnetometer/ti,tmag5273.yaml | 75 ++
MAINTAINERS | 7 +
drivers/iio/magnetometer/Kconfig | 12 +
drivers/iio/magnetometer/Makefile | 2 +
drivers/iio/magnetometer/tmag5273.c | 725 ++++++++++++++++++
5 files changed, 821 insertions(+)
create mode 100644 .../bindings/iio/magnetometer/ti,tmag5273.yaml
create mode 100644 drivers/iio/magnetometer/tmag5273.c

--
2.37.2