diff options
author | Cédric Le Goater <clg@kaod.org> | 2017-02-09 12:21:08 +0300 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2017-02-10 21:16:49 +0300 |
commit | 2bfc7452742617fe1182b742917e6e9032eae52c (patch) | |
tree | 11ec43caa378b06e729e5f3c1ecb25a3d4d6df08 /Documentation/devicetree/bindings/mtd | |
parent | 28309572aac4c632666053dc8bf9906a3594b8d2 (diff) | |
download | linux-2bfc7452742617fe1182b742917e6e9032eae52c.tar.xz |
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>
Diffstat (limited to 'Documentation/devicetree/bindings/mtd')
-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 @@ +* 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 */ + }; |