drivers/iio/magnetometer

3-axis magnetometers and Hall-effect magnetic sensors

A collection of drivers for 3-axis magnetometers and Hall-effect magnetic sensors used for compass headings, position sensing, and proximity detection in phones, embedded boards, industrial equipment, and motor controllers. Supported parts come from Asahi Kasei, Bosch, Infineon, TI, Allegro, MEMSIC, ST, Honeywell, PNI, Yamaha, and generic HID sensor-hub devices.

keep conf=0.84 deploy=medium replacement=none subsystem=iio category=sensor-iio
84%

recommendation

It should stay because this directory supports a broad and still-growing class of magnetic sensors from TI, Infineon, Allegro, Bosch, ST, AKM, MEMSIC, Honeywell and others, with chips like the TI TMAG5273, Infineon TLV493D-A1B6 (guaranteed available through 2039), and Allegro ALS31300 still being sold as current parts in 2025. Upstream activity is healthy too, with roughly 132 substantive commits and 41 contributors over the past five years.

repository signals

31 files
12,805 source lines
140 commits, 5y
+5,018 / −1,048 lines added / removed, 5y
46 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 140 total · active in 46/61 months
2021 2022 2023 2024 2025 2026 2021-04: 6 commits · +139 −22 2021-05: 5 commits · +69 −40 2021-06: 4 commits · +10 −22 2021-07: 1 commit · +3 −24 2021-08: 6 commits · +47 −75 2021-09: 0 commits · +0 −0 2021-10: 1 commit · +8 −6 2021-11: 3 commits · +7 −5 2021-12: 0 commits · +0 −0 2022-01: 11 commits · +57 −63 2022-02: 3 commits · +7 −23 2022-03: 0 commits · +0 −0 2022-04: 2 commits · +1 −1 2022-05: 2 commits · +6 −5 2022-06: 3 commits · +11 −19 2022-07: 1 commit · +1 −1 2022-08: 20 commits · +862 −314 2022-09: 0 commits · +0 −0 2022-10: 1 commit · +2 −3 2022-11: 7 commits · +19 −21 2022-12: 1 commit · +757 −0 2023-01: 1 commit · +13 −1 2023-02: 0 commits · +0 −0 2023-03: 0 commits · +0 −0 2023-04: 2 commits · +4 −2 2023-05: 1 commit · +10 −10 2023-06: 0 commits · +0 −0 2023-07: 0 commits · +0 −0 2023-08: 4 commits · +48 −70 2023-09: 1 commit · +2 −4 2023-10: 1 commit · +5 −6 2023-11: 1 commit · +1 −1 2023-12: 2 commits · +4 −6 2024-01: 1 commit · +8 −2 2024-02: 1 commit · +541 −0 2024-03: 0 commits · +0 −0 2024-04: 0 commits · +0 −0 2024-05: 2 commits · +10 −12 2024-06: 2 commits · +5 −13 2024-07: 1 commit · +1 −1 2024-08: 4 commits · +61 −21 2024-09: 2 commits · +3 −3 2024-10: 6 commits · +513 −36 2024-11: 2 commits · +9 −7 2024-12: 2 commits · +29 −29 2025-01: 2 commits · +459 −1 2025-02: 0 commits · +0 −0 2025-03: 3 commits · +84 −90 2025-04: 3 commits · +41 −41 2025-05: 5 commits · +2 −8 2025-06: 1 commit · +1 −3 2025-07: 1 commit · +1 −1 2025-08: 2 commits · +6 −20 2025-09: 3 commits · +541 −2 2025-10: 0 commits · +0 −0 2025-11: 0 commits · +0 −0 2025-12: 1 commit · +599 −0 2026-01: 4 commits · +9 −11 2026-02: 2 commits · +2 −3 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. ti.com

    TI lists TMAG5273 as ACTIVE and orderable, showing at least one chip supported by this directory remains a current product in 2025/2026.

  2. infineon.com

    Infineon lists TLV493D-A1B6 as active/preferred and planned available until at least 2039, indicating ongoing new-design relevance for this driver class.

  3. allegromicro.com

    Allegro still markets ALS31300 as a current 3D linear Hall-effect sensor with I2C, matching a driver in this directory.

codex reasoning notes (technical)

Real driver directory: Kconfig and 25 C files enumerate many separate sensor drivers. lore_file_timeline(path=drivers/iio/magnetometer, since=5y) and lore_subsystem_churn(path:drivers/iio/magnetometer/, 365d) returned zero indexed lore hits, so there is no lore evidence here of an active removal campaign; I treated that as an index blind spot rather than inactivity because the supplied static metadata shows 132 substantive commits in 5y, 41 authors, and a most recent substantive touch on 2026-02-27. Web search obtained the TI, Infineon, and Allegro URLs above, which show multiple supported chips are still active/current. This directory covers a broad live sensor class used in embedded/industrial and some consumer designs, with no single upstream replacement driver, so removal/deprecation is not justified.