[PATCH v2 0/4] Add support for LTC6373

From: Dumitru Ceclan
Date: Wed Jan 10 2024 - 10:38:44 EST


This patch series adds support for the LTC6373 Instrumentation Amplifier within
the existing HMC425A driver.

The LTC6373 is a silicon, 3-bit Fully-Differential digital instrumentation
amplifier that supports the following programmable gains (Vout/Vin):
G = 0.25, 0.5, 1, 2, 4, 8, 16 + Shutdown.
The programmable interface consists of 3 digitally controled inputs.

V1->V2
Driver:
- Fix chip info table indent
- Remove enable attribute
- Add ext_info powerdown attribute
- Enable by default powerdown attribute
- Set default gain after disabling powerdown to min value
Binding:
- Fix conditional checking of GPIO array size for LTC6373
- Add precursor commit for correctly checking gpio size depending upon compatible

Dumitru Ceclan (4):
dt-bindings: iio: hmc425a: add conditional GPIO array size constraints
dt-bindings: iio: hmc425a: add entry for LTC6373
iio: amplifiers: hmc425a: move conversion logic
iio: amplifiers: hmc425a: add support for LTC6373 Instrumentation
Amplifier

.../bindings/iio/amplifiers/adi,hmc425a.yaml | 47 +++-
drivers/iio/amplifiers/hmc425a.c | 204 ++++++++++++++----
2 files changed, 203 insertions(+), 48 deletions(-)

--
2.42.0