Re: [PATCH] dt-bindings: nvmem: layouts: add fixed-layout

From: Rafał Miłecki
Date: Thu Mar 09 2023 - 04:48:10 EST


On 9.03.2023 10:34, Rafał Miłecki wrote:
With the introduction of NVMEM layouts I believe we should prefer and
support describing all NVMEM devices content in the "nvmem-layout" node.
Inluding fixed NVMEM cells (those with hardcoded offset & size).

This seems to be cleaner design and more explicit.

Introduce a binding allowing fixed NVMEM cells as a type of layout.

While this is obvious to me I should make it clear anyway:

We must not break backward compatibility. Old binding should remain
supported. We may want to deprecate old binding but we have to support
existing DT files.