Linux IIO development
 help / color / mirror / Atom feed
* [PATCH v1 0/5] Add support for ADA4355
@ 2026-11-18 13:02 Marcelo Schmitt
  2026-11-18 13:03 ` [PATCH v1 1/5] iio: backend: Add calibration source interface Marcelo Schmitt
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Marcelo Schmitt @ 2026-11-18 13:02 UTC (permalink / raw)
  To: linux-iio, linux-kernel, devicetree, linux
  Cc: jic23, Michael.Hennerich, nuno.sa, eblanc, dlechner, andy, robh,
	krzk+dt, conor+dt, olivier.moysan, marcelo.schmitt1

ADA4355 (and ADA4356) are programmable transimpedance, current to bits receivers.
ADA4356 main difference from ADA4355 is the set of configurable transimpedance
(Tz) options which result in different scaling to miliampere units.

ADA4355 is partially similar to AD9467 in that both chips contain high
performance ADCs and output data through pairs of LVDS data output pins. Though,
ADA4355 is also different from AD9467 such that squeezing ADA4355 support into
the same device driver would probably lead to a lot of rework.

According to LLM, AD9467 vs ADA4355 main differences are:

┌───────────────┬────────────────────────────────────┬────────────────────────────────────────────┐
│               │               AD9467               │                  ADA4355                   │
├───────────────┼────────────────────────────────────┼────────────────────────────────────────────┤
│               │ A standalone 16-bit IF-sampling    │ A complete current-in to bits µModule:     │
│ Type          │ ADC                                │ TIA, LPF, ADC driver (FDA), 14-bit ADC,    │
│               │                                    │ LDO and all passives                       │
├───────────────┼────────────────────────────────────┼────────────────────────────────────────────┤
│               │ Differential voltage, 2.0–2.5 V    │ Single-ended current. Linear range is      │
│ Input         │ p-p programmable, 530 Ω / 3.5 pF,  │ −80…+800 µA at TZ=2 kΩ (scales ÷10 per     │
│               │ 900 MHz full-power BW              │ gain step), survives 40 mA, 2 pF           │
├───────────────┼────────────────────────────────────┼────────────────────────────────────────────┤
│               │ SPI: reg 0x18 full-scale (2.0–2.5  │ Pins only: GSEL1/GSEL0 pick TZ (01=2 k,    │
│ Gain/range    │ V p-p), 0x0F external VREF, 0x2C   │ 10=20 k, 00=200 k, 11 reserved), FSEL      │
│ control       │ AC/DC coupling, 0x36/0x107 buffer  │ picks the LPF (100 MHz / 1 MHz). They have │
│               │ current                            │  no pull resistors and must be driven      │
├───────────────┼────────────────────────────────────┼────────────────────────────────────────────┤
│ Bandwidth     │ 900 MHz                            │ TIA 43 / 18 / 1.6 MHz (per TZ), then LPF   │
│               │                                    │ 100 or 1 MHz                               │
├───────────────┼────────────────────────────────────┼────────────────────────────────────────────┤
│               │                                    │ Offset: 0 µA gives +0.825 V at the ADC,    │
│ Transfer      │ Bipolar around mid-scale           │ and full scale is 1.65 V/TZ toward −0.825  │
│ function      │                                    │ V. In practice the signal is unipolar and  │
│               │                                    │ inverted                                   │
├───────────────┼────────────────────────────────────┼────────────────────────────────────────────┤
│ Applications  │ Radar, wireless, instrumentation   │ ToF/LiDAR, OTDR, mass spec, optical        │
│               │                                    │ sensing (10 ns pulses)                     │
└───────────────┴────────────────────────────────────┴────────────────────────────────────────────┘

The most relevant differences at SPI and register map level are:

┌────────────────┬───────────────────────┬───────────────────────────────────────────────────────┐
│                │        AD9467         │                        ADA4355                        │
├────────────────┼───────────────────────┼───────────────────────────────────────────────────────┤
│ Chip ID        │ 0x50, plus a speed    │ 0x8B                                                  │
│                │ grade in 0x02         │                                                       │
├────────────────┼───────────────────────┼───────────────────────────────────────────────────────┤
│ Start-up       │ Nothing mandatory     │ Mandatory sequence: 0x00=0x00, 0x05=0x02, 0x22=0x03,  │
│                │                       │ 0x05=0x31                                             │
├────────────────┼───────────────────────┼───────────────────────────────────────────────────────┤
│ Device index   │ —                     │ Selects data channel, DCO and FCO                     │
│ (0x05)         │                       │                                                       │
├────────────────┼───────────────────────┼───────────────────────────────────────────────────────┤
│ Test modes     │ Modes 0000–0111 only, │ Adds 1000 user pattern (with PATT1/PATT2 regs         │
│ (0x0D)         │  no user pattern      │ 0x19–0x1C), 1-/0-bit toggle, 1× sync, one-bit-high    │
│                │                       │ and mixed-frequency modes                             │
├────────────────┼───────────────────────┼───────────────────────────────────────────────────────┤
│ Analog-side    │ VREF, coupling,       │ None. The datasheet says the registers "configure and │
│ registers      │ buffer current,       │  control the ADC only"                                │
│                │ offset (0x10)         │                                                       │
├────────────────┼───────────────────────┼───────────────────────────────────────────────────────┤
│                │                       │ DCS on/off in 0x09. Digital reset (0x08 = 0x03 then   │
│ Other          │ —                     │ 0x00) is required if the clock was not stable at      │
│                │                       │ power-up                                              │
└────────────────┴───────────────────────┴───────────────────────────────────────────────────────┘

This patch series was assisted by LLM and introduces some code duplication from
AD9467 into ADA4355. Though, my estimation is that this is going to keep things
easier to maintain than adding ADA4355 support into ad9467.c.

With best regards,
Marcelo


Marcelo Schmitt (5):
  iio: backend: Add calibration source interface
  dt-bindings: iio: adc: Add AXI ADA4355 IP CORE
  iio: adc: adi-axi-adc: Support AXI ADA4355 IP core
  dt-bindings: iio: adc: Add ADA4355
  iio: adc: Add support for ADA4355 and similar ADCs

 .../bindings/iio/adc/adi,ada4355.yaml         | 104 +++
 .../bindings/iio/adc/adi,axi-adc.yaml         |   1 +
 MAINTAINERS                                   |   8 +
 drivers/iio/adc/Kconfig                       |  11 +
 drivers/iio/adc/Makefile                      |   1 +
 drivers/iio/adc/ada4355.c                     | 798 ++++++++++++++++++
 drivers/iio/adc/adi-axi-adc.c                 |  66 ++
 drivers/iio/industrialio-backend.c            |  23 +
 include/linux/iio/backend.h                   |  22 +
 9 files changed, 1034 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ada4355.yaml
 create mode 100644 drivers/iio/adc/ada4355.c


base-commit: 94921bc9eb214f838481faa847cda5c42e486013
-- 
2.39.2


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-18 13:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-18 13:02 [PATCH v1 0/5] Add support for ADA4355 Marcelo Schmitt
2026-11-18 13:03 ` [PATCH v1 1/5] iio: backend: Add calibration source interface Marcelo Schmitt
2026-11-18 13:03 ` [PATCH v1 2/5] dt-bindings: iio: adc: Add AXI ADA4355 IP CORE Marcelo Schmitt
2026-11-18 13:03 ` [PATCH v1 3/5] iio: adc: adi-axi-adc: Support AXI ADA4355 IP core Marcelo Schmitt
2026-11-18 13:04 ` [PATCH v1 4/5] dt-bindings: iio: adc: Add ADA4355 Marcelo Schmitt
2026-11-18 13:04 ` [PATCH v1 5/5] iio: adc: Add support for ADA4355 and similar ADCs Marcelo Schmitt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox