zephyr/drivers/sensor/ti/tmag5273
Yiding Jia 2bf61e51fe drivers: sensor: Fix TMAG5273/TMAG3001 by adding a TMAG3001 compatible
Fixes issue introduced in #76460

The previous code attempted to detect whether TMAG5273 or TMAG3001 was
connected based on DEVICE ID register. This doesn't work as the bits that
denote the version on one part are undefined on the other part, and cannot
be relied on to be zero.

This commit adds a TMAG3001 compatible which (for now) is just derived from
the TMAG5273 compatible. This allows TMAG3001 to be specified directly in
the DT. The driver code is updated to support both compatibles.

Signed-off-by: Yiding Jia <yiding.jia@gmail.com>
2025-01-08 09:33:02 +01:00
..
CMakeLists.txt
Kconfig drivers: sensor: Fix TMAG5273/TMAG3001 by adding a TMAG3001 compatible 2025-01-08 09:33:02 +01:00
tmag5273.c drivers: sensor: Fix TMAG5273/TMAG3001 by adding a TMAG3001 compatible 2025-01-08 09:33:02 +01:00
tmag5273.h drivers: sensor: Fix TMAG5273/TMAG3001 by adding a TMAG3001 compatible 2025-01-08 09:33:02 +01:00