lkml.org 
[lkml]   [2019]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v4 0/4] MTD concat
Date
Hello,

A year ago Bernhard Frauendienst started an effort to bring MTD
devices concatenation generic [1]. Today I also need this
concatenation to be possible in order to support configurations where
two MTD devices are treated like one bigger in order to be able to
define partitions across chip boundaries, hence reviving this
patchset.

After having talked with Mark Brown and Boris Brezillon this approach
seems to be the cleanest and easiest one. If discussions need to
happen, it is probably on the dt-bindings file where I tried to
summarize the issue and the possible solutions in the commit log.

I changed a bit the code logic and style but not so much, all the
changes with the 2018 version are in [ ] in the commit logs.

I would like to add another way to concatenate devices: with module
parameters/arguments on the cmdline. I will extend this work once the
bindings will have been discussed and accepted.

Thanks,
Miquèl

[1] https://lwn.net/ml/linux-kernel/20180907173515.19990-1-kernel@nospam.obeliks.de/


Bernhard Frauendienst (3):
mtd: Add get_mtd_device_by_node() helper
dt-bindings: mtd: Describe mtd-concat devices
mtd: Add driver for concatenating devices

Miquel Raynal (1):
mtd: concat: Fix a comment referring to an unknown symbol

.../devicetree/bindings/mtd/mtd-concat.yaml | 56 ++++++++
drivers/mtd/Kconfig | 8 ++
drivers/mtd/Makefile | 1 +
drivers/mtd/mtd_virt_concat.c | 132 ++++++++++++++++++
drivers/mtd/mtdconcat.c | 5 +-
drivers/mtd/mtdcore.c | 38 +++++
include/linux/mtd/mtd.h | 2 +
7 files changed, 238 insertions(+), 4 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mtd/mtd-concat.yaml
create mode 100644 drivers/mtd/mtd_virt_concat.c

--
2.20.1

\
 
 \ /
  Last update: 2019-11-13 18:15    [W:0.106 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site