Re: [PATCH 2/2] iio: adc: ad7405: Add support for ADuM7801/7802/7811/7812

From: Andy Shevchenko

Date: Tue Nov 03 2026 - 06:42:33 EST


On Mon, Nov 02, 2026 at 02:13:52PM +0200, Pop Ioan Daniel wrote:
> Add a chip information structure and a device tree match table entry
> for each of the ADuM7801, ADuM7802, ADuM7811 and ADuM7812. These parts
> are handled the same way as the existing ADuM770x devices and differ
> only in their full-scale input range: ±320 mV for the ADuM7801 and
> ADuM7811, and ±64 mV for the ADuM7802 and ADuM7812.
>
> Also list the new parts in the Kconfig help text.

...

> depends on IIO_BACKEND
> help
> Say yes here to build support for Analog Devices AD7405, ADUM7701,
> - ADUM7702, ADUM7703 analog to digital converters (ADC).
> + ADUM7702, ADUM7703, ADUM7801, ADUM7802, ADUM7811, ADUM7812 analog
> + to digital converters (ADC).

This doesn't scale. See how the latest drivers reworked this to make it
flexible.

> To compile this driver as a module, choose M here: the module will be
> called ad7405.

Also, do you need to change help text in tristate?

--
With Best Regards,
Andy Shevchenko