Linux IIO development
 help / color / mirror / Atom feed
* [PATCH v3 0/3] iio: amplifiers: add support for ADL8113 Low Noise Amplifier
@ 2025-11-14 11:57 Antoniu Miclaus
  2025-11-14 11:57 ` [PATCH v3 1/3] dt-bindings: iio: amplifiers: add adl8113 Antoniu Miclaus
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Antoniu Miclaus @ 2025-11-14 11:57 UTC (permalink / raw)
  To: jic23, robh, conor+dt, linux-iio, linux-kernel, devicetree
  Cc: Antoniu Miclaus

This patch series adds support for the Analog Devices ADL8113, a 10MHz to 12GHz
Low Noise Amplifier with integrated bypass switches.

The ADL8113 provides four operation modes controlled by two GPIO pins:
- Internal Amplifier (14dB gain)
- Internal Bypass (0dB gain)
- External Bypass A (0dB gain) - Signal routes from RFIN to OUT_A and from IN_A to RFOUT
- External Bypass B (0dB gain) - Signal routes from RFIN to OUT_B and from IN_B to RFOUT

The external bypass modes enable external signal processing, conditioning, or filtering
while maintaining signal integrity through dedicated signal paths.

Changes in v3:
- Refactor driver architecture to separate gain mode and signal path controls
- Replace single "mode" attribute with separate "signal_path" and "hardwaregain" attributes
- Add write support for hardwaregain to enable switching between amplifier (14dB) and bypass (0dB) modes
- Automatically handle signal path constraints (external paths force bypass mode)
- Simplify device tree bindings by removing extra blank line
- Update ABI documentation to reflect the new signal_path attribute interface
- Add comprehensive validation for gain/path combinations

Antoniu Miclaus (3):
  dt-bindings: iio: amplifiers: add adl8113
  iio: amplifiers: adl8113: add driver support
  Documentation: ABI: adl8113: add documentation

 .../testing/sysfs-bus-iio-amplifiers-adl8113  |  30 +++
 .../bindings/iio/amplifiers/adi,adl8113.yaml  |  64 +++++
 drivers/iio/amplifiers/Kconfig                |  12 +
 drivers/iio/amplifiers/Makefile               |   1 +
 drivers/iio/amplifiers/adl8113.c              | 252 ++++++++++++++++++
 5 files changed, 359 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-amplifiers-adl8113
 create mode 100644 Documentation/devicetree/bindings/iio/amplifiers/adi,adl8113.yaml
 create mode 100644 drivers/iio/amplifiers/adl8113.c

-- 
2.43.0


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

end of thread, other threads:[~2025-11-19  9:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-14 11:57 [PATCH v3 0/3] iio: amplifiers: add support for ADL8113 Low Noise Amplifier Antoniu Miclaus
2025-11-14 11:57 ` [PATCH v3 1/3] dt-bindings: iio: amplifiers: add adl8113 Antoniu Miclaus
2025-11-17 19:22   ` Conor Dooley
2025-11-17 23:42   ` David Lechner
2025-11-14 11:57 ` [PATCH v3 2/3] iio: amplifiers: adl8113: add driver support Antoniu Miclaus
2025-11-16 15:38   ` Jonathan Cameron
2025-11-14 11:57 ` [PATCH v3 3/3] Documentation: ABI: adl8113: add documentation Antoniu Miclaus
2025-11-16 15:50   ` Jonathan Cameron
2025-11-17 23:59     ` David Lechner
2025-11-18  8:08       ` Nuno Sá
2025-11-19  9:09     ` Miclaus, Antoniu

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