lkml.org 
[lkml]   [2022]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] add ti tmag5273 driver
Date
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

\
 
 \ /
  Last update: 2022-11-21 13:36    [W:0.095 / U:0.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site