Re: [PATCH 3/3] iio: cdc: add Texas Instruments FDC1004 driver

From: Andy Shevchenko

Date: Sat Oct 24 2026 - 06:22:04 EST


On Sat, Oct 24, 2026 at 01:19:20PM +0300, Andy Shevchenko wrote:
> On Sat, Oct 24, 2026 at 12:13:08AM +0000, Victor Chernyakin wrote:
>
> > > I'd look at using regmap even though you only have a single bus. It provides
> > > a rich set of helpers and the caching functionality that will save a bunch
> > > of bus traffic.
> >
> > Ah... is that a strong preference in new drivers? That would be quite
> > a bit of rewrite work...
>
> Yes, usually drivers start being looked cleaner. On top you got a few benefits
> of regmap for free (cache, debugfs, tracing, maybe even more).

The types in the software is a result, but what is the cause? Do you have
ranges with a sign?

--
With Best Regards,
Andy Shevchenko