[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221121123542.1322367-1-gerald.loacker@wolfvision.net>
Date: Mon, 21 Nov 2022 13:35:40 +0100
From: Gerald Loacker <gerald.loacker@...fvision.net>
To: linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Nikita Yushchenko <nikita.yoush@...entembedded.com>,
Jakob Hauser <jahau@...ketmail.com>,
Michael Riesch <michael.riesch@...fvision.net>,
Gerald Loacker <gerald.loacker@...fvision.net>
Subject: [PATCH v2 0/2] add ti tmag5273 driver
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
Powered by blists - more mailing lists