Messages in this thread | | | Subject | Re: [PATCH v3 2/3] dt-bindings: add bindings for mtd-concat devices | From | Bernhard Frauendienst <> | Date | Mon, 10 Sep 2018 14:13:08 +0200 |
| |
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
| |