Re: [PATCH] nvmem: core: add fixed-layout declaration

From: Miquel Raynal
Date: Tue Jan 30 2024 - 10:00:34 EST


Hi Catalin,

catalin.popescu@xxxxxxxxxxxxxxxxxxxx wrote on Mon, 29 Jan 2024 15:29:31
+0000:

> Hi Miquel,
>
> Now, that "specific" layouts are considered like drivers and rely on
> NVMEM_LAYOUTS to populate the nvmem cells (layouts.c), I guess it's not
> possible anymore to consider "fixed-layout" as a normal layout that
> should be treated the same way than any layout. Unless, we move
> "fixed-layout" under drivers/nvmem/layouts.

That would be the relevant approach, yes.

> But, this also means that
> "fixed-layout" won't be supported anymore out-of-the-box (by nvmem core)

That would not be acceptable indeed.

> and will require additional kernel configuration change.

This would presumably be manageable however.

No pressure if you don't feel like you could carry that task, it's not
longer trivial.

Thanks,
Miquèl