Re: [PATCH v2 11/11] iio: adc: ad7793: add firmware support
From: Jonathan Cameron
Date: Sat Dec 05 2026 - 19:31:41 EST
On Wed, 02 Dec 2026 17:05:43 +0000
Nuno Sá <nuno.sa@xxxxxxxxxx> wrote:
> The driver refuses to probe without platform data, which no one can
> provide anymore. That means the driver can not be used at all on a
> modern system.
>
> Get the configuration from firmware properties instead, following the
> binding:
>
> - The reference is REFIN (REFIN1) if refin-supply is present, REFIN2 if
> refin2-supply is present, and the internal 1.17 V reference otherwise.
> Parts without an internal reference need refin-supply.
> - An external clock on the CLK pin is used if given. A 128 kHz clock
> is divided by 2 internally.
> - The input buffer stays enabled (as it is at power-up) unless
> adi,low-source-impedance is set, and unipolar coding is used unless
> bipolar is set.
> - The bias voltage generator and the excitation current sources get
> their own properties.
>
> Also add an OF match table.
>
> Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
> Signed-off-by: Nuno Sá <nuno.sa@xxxxxxxxxx>
I had nothing to add to Andy's review.
Probably wait on the DT binding getting reviewed before sending v3.
Looked fine to me, but I still miss things in those!
Jonathan