lkml.org 
[lkml]   [2022]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] mtd: phram improvements
Date
The phram driver in the MTD subsystem can be used to allow the kernel to use an
MTD or (via mtdblock) a block device in RAM (with the contents loaded by a
bootloader for example). This series has some improvements to make it more
usable by adding device tree support and to significantly improve its
performance by using cached mappings when possible.

Vincent Whitchurch (4):
mtd: core: Check devicetree alias for index
dt-bindings: reserved-memory: Add phram
mtd: phram: Allow probing via reserved-memory
mtd: phram: Allow cached mappings

.../bindings/reserved-memory/phram.yaml | 45 +++++++++++
drivers/mtd/devices/phram.c | 78 +++++++++++++++++--
drivers/mtd/mtdcore.c | 11 ++-
drivers/of/platform.c | 1 +
4 files changed, 127 insertions(+), 8 deletions(-)
create mode 100644 Documentation/devicetree/bindings/reserved-memory/phram.yaml

--
2.34.1

\
 
 \ /
  Last update: 2022-03-07 15:17    [W:0.044 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site