summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2017-02-09 10:21:08 +0100
committerJoel Stanley <joel@jms.id.au>2017-03-23 00:09:36 +1030
commitdd0c0e82bcee7c8d0df4152e0ba87caa67c71cb4 (patch)
tree6aa8ab4b2fec732daecae59d5734e94d2f190345 /Documentation/devicetree
parent7616ec50d9de101789849a600f62c8b352a8e85b (diff)
downloadtalos-obmc-linux-dd0c0e82bcee7c8d0df4152e0ba87caa67c71cb4.tar.gz
talos-obmc-linux-dd0c0e82bcee7c8d0df4152e0ba87caa67c71cb4.zip
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@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> (cherry picked from commit 2bfc7452742617fe1182b742917e6e9032eae52c) Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/mtd/common.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/common.txt b/Documentation/devicetree/bindings/mtd/common.txt
new file mode 100644
index 000000000000..fc068b923d7a
--- /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@0 {
+ label = "System-firmware";
+
+ /* flash type specific properties */
+ };
OpenPOWER on IntegriCloud