drivers/iio/afe

Generic IIO analog front-end rescalers (current-sense, voltage divider, RTD)

A generic helper that describes simple analog circuits sitting in front of an ADC — current-sense amplifiers like the TI INA180, shunt resistors, voltage dividers, RTD probes, and similar linear transducers — and converts raw ADC readings into proper engineering units. Widely used on embedded boards where the scaling network is described in the device tree.

keep conf=0.82 last_sold=2025 deploy=medium replacement=none subsystem=iio category=sensor-iio
82%

recommendation

It should stay because it is not tied to any one obsolete chip; it is generic plumbing for analog circuits that hardware designers still build into new boards in 2025, including current-sense amplifiers like the TI INA180 that remain active products. The file is still receiving routine maintenance upstream as recently as late 2025, and there is no replacement framework in sight.

repository signals

3 files
611 source lines
16 commits, 5y
+323 / −69 lines added / removed, 5y
5 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 16 total · active in 9/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 1 commit · +35 −6 2021-06: 0 commits · +0 −0 2021-07: 0 commits · +0 −0 2021-08: 0 commits · +0 −0 2021-09: 0 commits · +0 −0 2021-10: 0 commits · +0 −0 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 2 commits · +7 −6 2022-02: 7 commits · +258 −45 2022-03: 0 commits · +0 −0 2022-04: 1 commit · +2 −4 2022-05: 1 commit · +1 −1 2022-06: 0 commits · +0 −0 2022-07: 1 commit · +2 −0 2022-08: 0 commits · +0 −0 2022-09: 0 commits · +0 −0 2022-10: 0 commits · +0 −0 2022-11: 0 commits · +0 −0 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 0 commits · +0 −0 2023-03: 0 commits · +0 −0 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 0 commits · +0 −0 2023-07: 0 commits · +0 −0 2023-08: 0 commits · +0 −0 2023-09: 1 commit · +15 −4 2023-10: 0 commits · +0 −0 2023-11: 0 commits · +0 −0 2023-12: 0 commits · +0 −0 2024-01: 0 commits · +0 −0 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 0 commits · +0 −0 2024-05: 0 commits · +0 −0 2024-06: 0 commits · +0 −0 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 0 commits · +0 −0 2024-10: 0 commits · +0 −0 2024-11: 0 commits · +0 −0 2024-12: 1 commit · +2 −2 2025-01: 0 commits · +0 −0 2025-02: 0 commits · +0 −0 2025-03: 0 commits · +0 −0 2025-04: 1 commit · +1 −1 2025-05: 0 commits · +0 −0 2025-06: 0 commits · +0 −0 2025-07: 0 commits · +0 −0 2025-08: 0 commits · +0 −0 2025-09: 0 commits · +0 −0 2025-10: 0 commits · +0 −0 2025-11: 0 commits · +0 −0 2025-12: 0 commits · +0 −0 2026-01: 0 commits · +0 −0 2026-02: 0 commits · +0 −0 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    The driver file still receives upstream maintenance touches; no removal/deprecation subject is evident from recent lore activity.

  2. ti.com

    Current-sense amplifiers in the class supported by this driver are still active products sold new in 2025.

  3. git.kernel.org

    The driver is a generic platform/OF rescaler for current-sense amplifiers, current-shunt sensors, voltage dividers, RTDs, and temperature transducers rather than a single obsolete ASIC.

codex reasoning notes (technical)

Local shell inspection of drivers/iio/afe/iio-rescale.c shows compatible strings for generic analog front-end building blocks (current-sense-amplifier, current-sense-shunt, voltage-divider, temperature-sense-rtd, temperature-transducer), so this is not tied to one discontinued chip family. `lore_file_timeline` on drivers/iio/afe/iio-rescale.c returned recent 2025-12 and 2026-03 touches and did not surface removal/deprecation traffic in the visible subjects. TI INA180 product page was obtained via web search and confirms this hardware class remains an active new-design component. The git.kernel.org tree URL is a canonical-recall source for the in-tree driver definition. Because the driver services still-current generic components and has no obvious upstream replacement, removal/deprecation is not justified.