From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Brezillon Subject: Re: [PATCH 2/3] dt-bindings: mtd: add a common label property to all mtd devices Date: Mon, 16 Jan 2017 14:52:58 +0100 Message-ID: <20170116145258.17707912@bbrezillon> References: <1484573225-19095-1-git-send-email-clg@kaod.org> <1484573225-19095-3-git-send-email-clg@kaod.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: <1484573225-19095-3-git-send-email-clg-Bxea+6Xhats@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: =?UTF-8?B?Q8OpZHJpYw==?= Le Goater Cc: linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, David Woodhouse , Brian Norris , Marek Vasut , Richard Weinberger , Cyrille Pitchen , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Rob Herring , Mark Rutland List-Id: devicetree@vger.kernel.org On Mon, 16 Jan 2017 14:27:04 +0100 Cédric Le Goater wrote: > This can be used to easily identify a specific chip on a system with > multiple chips. > > Signed-off-by: Cédric Le Goater > --- > Documentation/devicetree/bindings/mtd/common.txt | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mtd/common.txt > > diff --git a/Documentation/devicetree/bindings/mtd/common.txt b/Documentation/devicetree/bindings/mtd/common.txt > new file mode 100644 > index 000000000000..a781641a3b00 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mtd/common.txt > @@ -0,0 +1,12 @@ > +* Common properties of all MTD devices > + > +Optional properties: > +- label : name to assign to mtd. If omitted, the label is the MTD device name. Hm, the description is not really clear. How about: " - 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. " Otherwise, Acked-by: Boris Brezillon Thanks, Boris > + > +Example: > + > + flash@0 { > + label = "System-firmware"; > + > + /* flash type specific properties */ > + }; -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html