Re: [PATCH 7/8] iio: adc: rzt2h: Use scan type for ADC scale
From: Lad, Prabhakar
Date: Wed Sep 30 2026 - 16:02:34 EST
Hi Andy,
Thank you for the review.
On Wed, Sep 30, 2026 at 10:28 AM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxx> wrote:
>
> On Tue, Sep 29, 2026 at 01:42:47PM +0100, Prabhakar wrote:
>
> > Prepare the driver for RZ/V2H(P) support, where the ADC supports both
> > 12-bit and 8-bit conversion resolutions.
> >
> > Use the current IIO scan type to determine the ADC resolution when
> > reporting the scale instead of assuming a fixed 12-bit resolution.
>
> ...
>
> > +#define RZT2H_ADC_VREF_MV 1800
>
> _mV (yes, as it's called officially for millivolts).
>
Ok, I will rename the macro.
Cheers,
Prabhakar