On Mon, 20 Feb 2023 18:49:29 +0100, Rafał Miłecki wrote: > From: Rafał Miłecki <rafal@xxxxxxxxxx> > > Content of some NVMEM devices can be read using MMIO. Some of them > (probably very few though) may be also programmable that way. Add > generic binding to allow describing such hardware. > > This *doesn't* apply to any more complicated devices that need more > complex interface e.g. for writing. While such devices could be > supported for reading purposes by the same driver - they should get > their own binding. > > This binding will gain even more usability once we fully support NVMEM > layouts (describing content of NVMEM devices in an independent way). > > Signed-off-by: Rafał Miłecki <rafal@xxxxxxxxxx> > --- > V3: Make it clear this binding should NOT be used for more complex devices > --- > .../devicetree/bindings/nvmem/mmio.yaml | 50 +++++++++++++++++++ > 1 file changed, 50 insertions(+) > create mode 100644 Documentation/devicetree/bindings/nvmem/mmio.yaml > Reviewed-by: Rob Herring <robh@xxxxxxxxxx>