Skip to content

nvmem: add fixed cells layout

Rafał Miłecki linux-devicetree lkml 6 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 3 repliesApplied
  2. v53 patches 3 repliesSuperseded
  3. v44 patches 2 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v31 patch0 repliesSuperseded
v21 patch2 repliesSuperseded
v11 patch2 repliesSuperseded

V5 from the cover letter

Support "fixed-layout" internally in NVMEM core (see PATCH 3/3) V6:
Rename function & add unevaluatedProperties

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/3dt-bindings: nvmem: layouts: add fixed-layoutDocumentation/devicetree/bindings/nvmem/layouts/fixed-cell.yaml Documentation/devicetree/bindings/nvmem/layouts/fixed-layout.yaml Documentation/devicetree/bindings/nvmem/layouts/nvmem-layout.yaml +1 more+84 -211 reply
2/3dt-bindings: nvmem: convert base example to use NVMEM fixed cells layoutDocumentation/devicetree/bindings/nvmem/nvmem.yaml+24 -180 replies
3/3nvmem: core: add support for fixed cells *layout*drivers/nvmem/core.c+29 -30 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchRob HerringMichael Walle
1/3R-b
2/3R-b
3/3R-b

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

Read the v6 thread

Cover letter [PATCH V6 0/3] nvmem: add fixed cells layout

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

NVMEM bindings received a new feature recently: layouts. They allow defining NVMEM device content in a separated DT node named "nvmem-layout". That improvement results in cleaner and more generic bindings.

New bindings & drivers should use layouts design. If possible we should also try converting existing bindings & drivers to layouts.

This patchset allows defining NVMEM cells in a new way (using NVMEM layout feature).

This deprecates support for defining NVMEM cells as direct DT device node subnodes but IT DOESN'T drop support for that.

PLEASE understand what this patchset handles. It adds new & preferred way of defining NVMEM cells. This patchset does NOT meant to:
1. Convert ALL existing bindings or drivers (it's a task for later)
2. Add support for new extra features (like multiple layouts)
3. Break any backward compatibility (it WON'T happen)

V5:
Support "fixed-layout" internally in NVMEM core (see PATCH 3/3) V6:
Rename function & add unevaluatedProperties

Rafał Miłecki (3):
dt-bindings: nvmem: layouts: add fixed-layout
dt-bindings: nvmem: convert base example to use NVMEM fixed cells
layout
nvmem: core: add support for fixed cells *layout*

 .../bindings/nvmem/layouts/fixed-cell.yaml    | 31 ++++++++++
 .../bindings/nvmem/layouts/fixed-layout.yaml  | 50 +++++++++++++++
 .../bindings/nvmem/layouts/nvmem-layout.yaml  |  5 +-
 .../devicetree/bindings/nvmem/nvmem.yaml      | 61 ++++++++-----------
 drivers/nvmem/core.c                          | 32 +++++++++-
 5 files changed, 137 insertions(+), 42 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/nvmem/layouts/fixed-cell.yaml
 create mode 100644 Documentation/devicetree/bindings/nvmem/layouts/fixed-layout.yaml
Signature · 1 line
2.34.1