lkml.org 
[lkml]   [2018]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v3 2/3] dt-bindings: add bindings for mtd-concat devices
From
Date
Am 10.09.2018 um 12:51 schrieb Rafał Miłecki:
> On Sat, 8 Sep 2018 at 15:14, Bernhard Frauendienst > <kernel@nospam.obeliks.de> wrote: >> >> Document virtual mtd-concat
device bindings. >> >> Signed-off-by: Bernhard Frauendienst
<kernel@nospam.obeliks.de> >> --- >>
.../devicetree/bindings/mtd/mtd-concat.txt | 36 +++++++++++++++++++ >> 1
file changed, 36 insertions(+) >> create mode 100644
Documentation/devicetree/bindings/mtd/mtd-concat.txt >> >> diff --git
a/Documentation/devicetree/bindings/mtd/mtd-concat.txt
b/Documentation/devicetree/bindings/mtd/mtd-concat.txt >> new file mode
100644 >> index 000000000000..2daf3157b163 >> --- /dev/null >> +++
b/Documentation/devicetree/bindings/mtd/mtd-concat.txt >> @@ -0,0 +1,36
@@ >> +Virtual MTD concat device > > I think you forgot to include the
documentation. Please ***describe*** > that binding.
You are right, I'm afraid I was mislead by some of the rather sparse
documentation files in the mtd directory.
Would something along these lines be sufficient?

--snip--
Virtual MTD concat device

A virtual composite device that concatenates multiple child devices into a
single mtd device. The child mtd nodes must also be defined in the tree and
are referenced using phandles.

Required properties:
- compatible : must be "mtd-concat"
- devices : list of phandles to mtd nodes in the order they should be
        concatenated

The device tree may optionally contain sub-nodes describing partitions
of the
address space. See partition.txt for more detail.


Example:
--snip--

Regards,
Bernhard

\
 
 \ /
  Last update: 2018-09-10 14:14    [W:1.585 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site