Skip to content

nvmem: add and use generic MMIO NVMEM

Rafał Miłecki linux-arm-kernel linux-devicetree linux-mediatek lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 3 repliesIn review
  2. v32 patches 4 repliesSuperseded
  3. v14 patches 13 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: nvmem: mmio: new binding for MMIO accessible NVMEM devicesDocumentation/devicetree/bindings/nvmem/mmio.yaml+50 -00 replies
2/2nvmem: add generic driver for devices with MMIO accessdrivers/nvmem/Kconfig drivers/nvmem/Makefile drivers/nvmem/mmio.c+160 -03 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH V4 0/2] nvmem: add and use generic MMIO NVMEM

From: Rafał Miłecki <[email protected]>

MMIO accessible NVMEM devices should be simple enough to allow using a single binding & driver for them.

In V3 I didn't decide to modify existing Mediatek & UniPhier drivers as there are some concerns about adding writing support to them. If needed that can be done later.

Once we get layouts support NVRAM driver will get migrated into one and generic MMIO driver will take over its binding.

Rafał Miłecki (2):
dt-bindings: nvmem: mmio: new binding for MMIO accessible NVMEM
devices
nvmem: add generic driver for devices with MMIO access

 .../devicetree/bindings/nvmem/mmio.yaml       |  50 ++++++
 drivers/nvmem/Kconfig                         |  10 ++
 drivers/nvmem/Makefile                        |   2 +
 drivers/nvmem/mmio.c                          | 148 ++++++++++++++++++
 4 files changed, 210 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/nvmem/mmio.yaml
 create mode 100644 drivers/nvmem/mmio.c
Signature · 1 line
2.34.1