Re: [PATCH v3 8/8] iio: adc: rzt2h: Add support for RZ/V2H(P) SoC

From: Andy Shevchenko

Date: Mon Oct 26 2026 - 05:47:14 EST


On Sun, Oct 25, 2026 at 11:48:50PM +0000, Jonathan Cameron wrote:
> On Sat, 24 Oct 2026 13:38:27 +0300
> Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> wrote:
> > On Fri, Oct 23, 2026 at 06:59:19PM +0100, Prabhakar wrote:

...

> > > + req_scale = mul_u32_u32(val, NANO) + val2;
> >
> > But what's wrong with the simple 1ULL * val * NANO?
> >
> > > + for (i = 0; i < chan->num_ext_scan_type; i++) {
> > > + scale = mul_u32_u32(RZT2H_ADC_VREF_mV, NANO) >>
> >
> > Similar Q.
>
> Patch on top please - I might squash it with original.

Prabhakar, can you cook the patch?

--
With Best Regards,
Andy Shevchenko