Re: [PATCH v2 2/2] iio: adc: ad9467: add support for ad9211

From: Jonathan Cameron

Date: Sat Dec 06 2025 - 15:58:23 EST


On Thu, 4 Dec 2025 14:16:41 +0200
Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> wrote:

> On Thu, Dec 04, 2025 at 02:14:49PM +0200, Andy Shevchenko wrote:
> > On Thu, Dec 04, 2025 at 08:01:04AM +0000, Tomas Melin wrote:
> > > The AD9211 is a 10-bit monolithic sampling analog-to-digital
> > > converter optimized for high performance, low power, and ease
>
> Also just noticed that this paragraph is visible shorter than the last one,
> can you make them approximately the same line length?
>
> > > of use. The product operates at up to a 300 MSPS conversion
>
> Is it megasamples? Then MSps?
>
> > > rate and is optimized for outstanding dynamic performance
> > > in wideband carrier and broadband systems.
>
> > > The scale table implemented here is not an exact match with the
> > > datasheet as the table presented there is missing some information.
> > > The reference presents these values as being linear,
> > > but that does not add up. There is information missing in the table.
> > > Implemented scale table matches values at the middle and at the ends,
> > > smoothing the curve towards middle and end.
> > > Impact on end result from deviation in scale factor affects only software
> > > using it for scaling. All the possible hw-settings are also available with
> > > this implementation.
> >
> >
> > Some amendment in the headers would be nice to have,
> > Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
>
> ...
>
> > + array_size.h
> >
> > > #include <linux/delay.h>
> > > #include <linux/gpio/consumer.h>
> > > #include <linux/of.h>
> > > +#include <linux/units.h>
> > >
> >
> > You can drop one blank line here.
>

I have nothing to add from a quick read. I thought about fixing up Andy's
comments and applying but meh, it's early in the cycle and beer o'clock,
so please do a v3 tidying those up.

Thanks,

Jonathan