From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 15.mo5.mail-out.ovh.net ([178.33.107.29]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cGSkK-0002HY-72 for linux-mtd@lists.infradead.org; Mon, 12 Dec 2016 15:42:33 +0000 Received: from player760.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo5.mail-out.ovh.net (Postfix) with ESMTP id B036F552CA for ; Mon, 12 Dec 2016 16:42:05 +0100 (CET) From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= To: linux-mtd@lists.infradead.org Cc: David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger , Cyrille Pitchen , devicetree@vger.kernel.org, Rob Herring , Mark Rutland , Joel Stanley , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Subject: [PATCH v4 4/4] mtd: spi-nor: add a label property to jedec,spi-nor Date: Mon, 12 Dec 2016 16:40:52 +0100 Message-Id: <1481557252-13656-5-git-send-email-clg@kaod.org> In-Reply-To: <1481557252-13656-1-git-send-email-clg@kaod.org> References: <1481557252-13656-1-git-send-email-clg@kaod.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This can be used to easily identify a chip on a system with multiple chips. Signed-off-by: Cédric Le Goater Acked-by: Joel Stanley --- Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt index 2c91c03e7eb0..b7cd02a3ebe8 100644 --- a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt +++ b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt @@ -65,6 +65,7 @@ Optional properties: all chips and support for it can not be detected at runtime. Refer to your chips' datasheet to check if this is supported by your chip. +- label : name to assign to mtd. If omitted, the label is the MTD device name. Example: @@ -75,4 +76,5 @@ Example: reg = <0>; spi-max-frequency = <40000000>; m25p,fast-read; + label = "System-firmware"; }; -- 2.7.4