Thread (9 messages) flat view 9 messages, 4 authors, 1d ago
WARM1d

Revision v4 of 4 in this series.

Revisions (4)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v3 [diff vs current]
  4. v4 current

[PATCH v4 0/3] iio: adc: add LTC2499 features support

From: Andrei Stancovici <hidden>
Date: 2026-09-09 08:28:16
Also in: linux-iio, lkml

This series adds LTC2499 support on top of the existing LTC2497
driver.

It includes:
- a small binding title correction for LTC2499,
- the LTC2499 internal temperature channel,
- the LTC2499 2x conversion speed mode exposed via
  sampling_frequency.

Validation performed on Raspberry Pi 4 with a DC1012A-A board:
- temperature raw/scale/offset read correctly,
- voltage channels remain sane after temperature reads,
- sampling_frequency 1x/2x switching works,
- pyadi-iio LTC2499 validation passed,
- hardware-in-the-loop M2K validation passed.

Changes in v4:
- The channel table is no longer copied and patched at runtime: two
  static const tables, one selected in probe.
- struct ltc2497_chip_info has its booleans last.
- Commit messages and code comments cut back.
- Naming settled on speed_2x / has_speed_mode.

Per-patch changelogs are under the --- of each patch.

v3: https://lore.kernel.org/r/20260902064415.132588-1-andrei.stancovici@analog.com (local)

Andrei Stancovici (3):
  dt-bindings: iio: adc: lltc,ltc2497: add LTC2499 to title
  iio: adc: ltc2497: add LTC2499 internal temperature channel
  iio: adc: ltc2497: add 2x conversion speed mode

 .../bindings/iio/adc/lltc,ltc2497.yaml        |   2 +-
 drivers/iio/adc/ltc2497-core.c                | 298 +++++++++++++++---
 drivers/iio/adc/ltc2497.c                     |  42 +++
 drivers/iio/adc/ltc2497.h                     |  31 +-
 4 files changed, 320 insertions(+), 53 deletions(-)


base-commit: 36c12dbda81c284d72f3c64689461647497b643b
-- 
2.43.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help