Re: [PATCH v2 03/11] iio: adc: ad7266: drop platform data support

From: Andy Shevchenko

Date: Thu Dec 03 2026 - 06:57:33 EST


On Wed, Dec 02, 2026 at 05:05:35PM +0000, Nuno Sá wrote:
> There are no in-tree users of struct ad7266_platform_data. Without it,
> the driver already falls back to a fixed address, differential mode
> and the 0V - VREF input range.
>
> Drop the platform data header and move the range and mode enums into
> the driver. The code for the address GPIOs, the pseudo differential and
> single-ended modes and the 0V - 2VREF range is kept so it can be
> enabled again should someone need it and add firmware properties for
> it.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>

...

> + * The address GPIOs, the other sample modes and the 0V - 2VREF range

Oxford comma?

> + * are not configurable yet. Keep the support around in case someone
> + * needs it and adds firmware properties for it.

--
With Best Regards,
Andy Shevchenko