linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Joel Stanley <joel@jms.id.au>
To: "Cédric Le Goater" <clg@kaod.org>
Cc: linux-mtd@lists.infradead.org,
	David Woodhouse <dwmw2@infradead.org>,
	Brian Norris <computersforpeace@gmail.com>,
	Boris Brezillon <boris.brezillon@free-electrons.com>,
	Marek Vasut <marek.vasut@gmail.com>,
	Richard Weinberger <richard@nod.at>,
	Cyrille Pitchen <cyrille.pitchen@atmel.com>,
	devicetree@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>
Subject: Re: [PATCH v3 5/5] mtd: spi-nor: add a label property to jedec, spi-nor
Date: Mon, 12 Dec 2016 10:47:37 +1100	[thread overview]
Message-ID: <CACPK8XfdLCkFv-n4SDMojugWMZAAi0fTm_03_L3ggCejc8XQbQ@mail.gmail.com> (raw)
In-Reply-To: <1481302167-28044-6-git-send-email-clg@kaod.org>

On Sat, Dec 10, 2016 at 3:49 AM, Cédric Le Goater <clg@kaod.org> wrote:
> This can be used to easily identify a chip on a system with multiple
> chips.
>
> Signed-off-by: Cédric Le Goater <clg@kaod.org>

This is very useful when writing userspace that wants to select the
mtd device that represents a specific flash chip.

Acked-by: Joel Stanley <joel@jms.id.au>

> ---
>  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
>

      reply	other threads:[~2016-12-11 23:48 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-09 16:49 [PATCH v3 0/5] Static memory controllers for the Aspeed SoC Cédric Le Goater
2016-12-09 16:49 ` [PATCH v3 1/5] mtd: spi-nor: add memory controllers for the Aspeed AST2500 SoC Cédric Le Goater
2016-12-10  4:01   ` Marek Vasut
2016-12-10 17:34     ` Cédric Le Goater
2016-12-10 19:08       ` Marek Vasut
2016-12-12  0:05   ` Joel Stanley
2016-12-12  5:02   ` Joel Stanley
2016-12-12  9:57     ` Cédric Le Goater
2016-12-09 16:49 ` [PATCH v3 2/5] mtd: aspeed: add memory controllers for the Aspeed AST2400 SoC Cédric Le Goater
2016-12-10  4:03   ` Marek Vasut
2016-12-10 17:18     ` Cédric Le Goater
2016-12-10 17:30       ` Marek Vasut
2016-12-12  0:10   ` Joel Stanley
2016-12-09 16:49 ` [PATCH v3 3/5] mtd: aspeed: used a label property Cédric Le Goater
2016-12-10  4:03   ` Marek Vasut
2016-12-10 17:16     ` Cédric Le Goater
2016-12-11 23:46   ` Joel Stanley
2016-12-12  2:27     ` Marek Vasut
2016-12-12  9:18       ` Cédric Le Goater
2016-12-09 16:49 ` [PATCH v3 4/5] mtd: spi-nor: bindings for the Aspeed memory controllers Cédric Le Goater
2016-12-12  0:13   ` Joel Stanley
2016-12-09 16:49 ` [PATCH v3 5/5] mtd: spi-nor: add a label property to jedec,spi-nor Cédric Le Goater
2016-12-11 23:47   ` Joel Stanley [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACPK8XfdLCkFv-n4SDMojugWMZAAi0fTm_03_L3ggCejc8XQbQ@mail.gmail.com \
    --to=joel@jms.id.au \
    --cc=boris.brezillon@free-electrons.com \
    --cc=clg@kaod.org \
    --cc=computersforpeace@gmail.com \
    --cc=cyrille.pitchen@atmel.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=marek.vasut@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=richard@nod.at \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).