dt-bindings: mtd: add a common label property to all mtd devices
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Sun Feb 12 18:59:14 PST 2017
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=2bfc7452742617fe1182b742917e6e9032eae52c
Commit: 2bfc7452742617fe1182b742917e6e9032eae52c
Parent: 28309572aac4c632666053dc8bf9906a3594b8d2
Author: Cédric Le Goater <clg at kaod.org>
AuthorDate: Thu Feb 9 10:21:08 2017 +0100
Committer: Brian Norris <computersforpeace at gmail.com>
CommitDate: Fri Feb 10 10:16:49 2017 -0800
dt-bindings: mtd: add a common label property to all mtd devices
This can be used to easily identify a specific chip on a system with
multiple chips.
Signed-off-by: Cédric Le Goater <clg at kaod.org>
Acked-by: Boris Brezillon <boris.brezillon at free-electrons.com>
Acked-by: Rob Herring <robh at kernel.org>
Reviewed-by: Marek Vasut <marek.vasut at gmail.com>
Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
Documentation/devicetree/bindings/mtd/common.txt | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/Documentation/devicetree/bindings/mtd/common.txt b/Documentation/devicetree/bindings/mtd/common.txt
new file mode 100644
index 0000000..fc068b9
--- /dev/null
+++ b/Documentation/devicetree/bindings/mtd/common.txt
@@ -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 at 0 {
+ label = "System-firmware";
+
+ /* flash type specific properties */
+ };
More information about the linux-mtd-cvs
mailing list