diff options
author | Cédric Le Goater <clg@kaod.org> | 2017-02-09 04:21:08 -0500 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2017-02-10 13:16:49 -0500 |
commit | 2bfc7452742617fe1182b742917e6e9032eae52c (patch) | |
tree | 11ec43caa378b06e729e5f3c1ecb25a3d4d6df08 | |
parent | 28309572aac4c632666053dc8bf9906a3594b8d2 (diff) |
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>
-rw-r--r-- | Documentation/devicetree/bindings/mtd/common.txt | 15 |
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 @@ | |||
1 | * Common properties of all MTD devices | ||
2 | |||
3 | Optional properties: | ||
4 | - label: user-defined MTD device name. Can be used to assign user | ||
5 | friendly names to MTD devices (instead of the flash model or flash | ||
6 | controller based name) in order to ease flash device identification | ||
7 | and/or describe what they are used for. | ||
8 | |||
9 | Example: | ||
10 | |||
11 | flash@0 { | ||
12 | label = "System-firmware"; | ||
13 | |||
14 | /* flash type specific properties */ | ||
15 | }; | ||