]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
dt-bindings: mtd: add a common label property to all mtd devices
authorCédric Le Goater <clg@kaod.org>
Thu, 9 Feb 2017 09:21:08 +0000 (10:21 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 10 Feb 2017 18:16:49 +0000 (10:16 -0800)
This can be used to easily identify a specific chip on a system with
multiple chips.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Documentation/devicetree/bindings/mtd/common.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/mtd/common.txt b/Documentation/devicetree/bindings/mtd/common.txt
new file mode 100644 (file)
index 0000000..fc068b9
--- /dev/null
@@ -0,0 +1,15 @@
+* Common properties of all MTD devices
+
+Optional properties:
+- label: user-defined MTD device name. Can be used to assign user
+  friendly names to MTD devices (instead of the flash model or flash
+  controller based name) in order to ease flash device identification
+  and/or describe what they are used for.
+
+Example:
+
+       flash@0 {
+               label = "System-firmware";
+
+               /* flash type specific properties */
+       };