]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: ad4030: Add support for ADAQ4216 and ADAQ4224
authorMarcelo Schmitt <marcelo.schmitt@analog.com>
Mon, 23 Feb 2026 17:10:23 +0000 (14:10 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 1 Mar 2026 12:04:44 +0000 (12:04 +0000)
commit185f7b6cee61a2c764e6a5026f5c0dc57e14277a
tree6a530d852c158a187dbe371c495689df4404ecc2
parentaddb98c43b58609218e728f5cb578510d15e8737
iio: adc: ad4030: Add support for ADAQ4216 and ADAQ4224

ADAQ4216 and ADAQ4224 are similar to AD4030, but feature a PGA circuitry
that scales the analog input signal prior to it reaching the ADC. The PGA
is controlled through a pair of pins (A0 and A1) whose state define the
gain that is applied to the input signal.

Add support for ADAQ4216 and ADAQ4224. Provide a list of PGA options
through the IIO device channel scale available interface and enable control
of the PGA through the channel scale interface.

Signed-off-by: Marcelo Schmitt <marcelo.schmitt@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad4030.c