Skip to content

iio: adc: add LTC2499 features support

Andrei Stancovici linux-devicetree linux-iio lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 3 repliesIn review
  2. v33 patches 4 repliesSuperseded
  3. v23 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches3 repliesSuperseded

Changes in v4 from the cover letter

- 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.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: iio: adc: lltc,ltc2497: add LTC2499 to titleDocumentation/devicetree/bindings/iio/adc/lltc,ltc2497.yaml+1 -11 reply
2/3iio: adc: ltc2497: add LTC2499 internal temperature channeldrivers/iio/adc/ltc2497-core.c drivers/iio/adc/ltc2497.c drivers/iio/adc/ltc2497.h+103 -50 replies
3/3iio: adc: ltc2497: add 2x conversion speed modedrivers/iio/adc/ltc2497-core.c drivers/iio/adc/ltc2497.c drivers/iio/adc/ltc2497.h+228 -592 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchRob Herring (Arm)Andy Shevchenko
1/3A-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

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

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/[email protected]

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

Signature · 1 line
2.43.0