Re: [PATCH v4 1/9] iio: dac: mcp47feb02: initialize dac_data field in channel data struct at probe
Jonathan Cameron <[email protected]>
| Newsgroups | org.kernel.vger.linux-devicetree,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260823015100.74b6f615@jic23-huawei> |
On Wed, 19 Aug 2026 17:17:11 +0300 Andy Shevchenko <[email protected]> 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