Re: [PATCH v4 1/9] iio: dac: mcp47feb02: initialize dac_data field in channel data struct at probe

From: Jonathan Cameron

Date: Sat Aug 22 2026 - 20:51:17 EST


On Wed, 19 Aug 2026 17:17:11 +0300
Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> wrote:

> On Wed, Aug 19, 2026 at 03:41:05PM +0300, Ariana Lazar wrote:
> > Read DAC value register to initialize corresponding field in channel_data
> > struct when the module is inserted.
>
> Since we have a cache enabled for regmap, can we rather read back initial HW
> values at the probe time for all non-volatile or precise registers?
>

That should indeed be explored. This is also missing any description of 'why'
this needs to be read and cached at all.

Jonathan