Re: [PATCH 7/8] iio: adc: rzt2h: Use scan type for ADC scale
From: Andy Shevchenko
Date: Wed Sep 30 2026 - 05:46:11 EST
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).
--
With Best Regards,
Andy Shevchenko