Messages in this thread | | | From | Martin Blumenstingl <> | Date | Tue, 21 Feb 2023 22:38:13 +0100 | Subject | Re: [PATCH] nvmem: add explicit config option to read OF fixed cells |
| |
Hello Rafał,
On Tue, Feb 21, 2023 at 3:50 PM Rafał Miłecki <zajec5@gmail.com> wrote: > > From: Rafał Miłecki <rafal@milecki.pl> > > NVMEM subsystem looks for fixed NVMEM cells (specified in DT) by > default. This behaviour made sense in early days before adding support > for dynamic cells. > > With every new supported NVMEM device with dynamic cells current > behaviour becomes non-optimal. It results in unneeded iterating over DT > nodes and may result in false discovery of cells (depending on used DT > properties). I am not familiar with the recent changes around dynamic cells. Is there any discussion/summary that I can read to get up to speed?
My main thought is: if there are many "fixed OF cells" implementations and only a few "dynamic" ones - does it make sense to flip the logic and introduce a new "use_dynamic_of_cells" flag instead?
Best regards, Martin
| |