All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 3/3] ARM: shmobile: gose: Add QSPI device to DT
Date: Thu, 12 Nov 2015 11:51:37 +0000	[thread overview]
Message-ID: <56447D49.6060907@cogentembedded.com> (raw)
In-Reply-To: <1447291763-27527-4-git-send-email-horms+renesas@verge.net.au>

On 11/12/2015 4:29 AM, Simon Horman wrote:

> Enable the QSPI controller in the gose device tree.
>
> Based similar work for the silk board by by Vladimir Barinov and
> Sergei Shtylyov.
>
> Cc: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
> Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
>
> ---
> Tested: Read /dev/mtd0 with 512K blocks at 1.7MB/s
>
> v2
> * Move partitions into partitions subnode
>    as suggested by Geert Uytterhoeven.
> ---
>   arch/arm/boot/dts/r8a7793-gose.dts | 43 ++++++++++++++++++++++++++++++++++++++
>   1 file changed, 43 insertions(+)
>
> diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r8a7793-gose.dts
> index 1575ef759047..79be514d3a1c 100644
> --- a/arch/arm/boot/dts/r8a7793-gose.dts
> +++ b/arch/arm/boot/dts/r8a7793-gose.dts
[...]
> @@ -92,3 +97,41 @@
>
>   	status = "okay";
>   };
> +
> +&qspi {
> +	pinctrl-0 = <&qspi_pins>;
> +	pinctrl-names = "default";
> +
> +	status = "okay";
> +
> +	flash@0 {
> +		compatible = "spansion,s25fl512s", "jedec,spi-nor";
> +		reg = <0>;
> +		spi-max-frequency = <30000000>;
> +		spi-tx-bus-width = <4>;
> +		spi-rx-bus-width = <4>;
> +		spi-cpol;
> +		spi-cpha;
> +		m25p,fast-read;
> +
> +		partitions{

    Need space before {.

[...]

MBR, Sergei


WARNING: multiple messages have this Message-ID (diff)
From: sergei.shtylyov@cogentembedded.com (Sergei Shtylyov)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 3/3] ARM: shmobile: gose: Add QSPI device to DT
Date: Thu, 12 Nov 2015 14:51:37 +0300	[thread overview]
Message-ID: <56447D49.6060907@cogentembedded.com> (raw)
In-Reply-To: <1447291763-27527-4-git-send-email-horms+renesas@verge.net.au>

On 11/12/2015 4:29 AM, Simon Horman wrote:

> Enable the QSPI controller in the gose device tree.
>
> Based similar work for the silk board by by Vladimir Barinov and
> Sergei Shtylyov.
>
> Cc: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
> Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
>
> ---
> Tested: Read /dev/mtd0 with 512K blocks at 1.7MB/s
>
> v2
> * Move partitions into partitions subnode
>    as suggested by Geert Uytterhoeven.
> ---
>   arch/arm/boot/dts/r8a7793-gose.dts | 43 ++++++++++++++++++++++++++++++++++++++
>   1 file changed, 43 insertions(+)
>
> diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r8a7793-gose.dts
> index 1575ef759047..79be514d3a1c 100644
> --- a/arch/arm/boot/dts/r8a7793-gose.dts
> +++ b/arch/arm/boot/dts/r8a7793-gose.dts
[...]
> @@ -92,3 +97,41 @@
>
>   	status = "okay";
>   };
> +
> +&qspi {
> +	pinctrl-0 = <&qspi_pins>;
> +	pinctrl-names = "default";
> +
> +	status = "okay";
> +
> +	flash at 0 {
> +		compatible = "spansion,s25fl512s", "jedec,spi-nor";
> +		reg = <0>;
> +		spi-max-frequency = <30000000>;
> +		spi-tx-bus-width = <4>;
> +		spi-rx-bus-width = <4>;
> +		spi-cpol;
> +		spi-cpha;
> +		m25p,fast-read;
> +
> +		partitions{

    Need space before {.

[...]

MBR, Sergei

  parent reply	other threads:[~2015-11-12 11:51 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-12  1:29 [PATCH v2 0/3] gose: Enable QSPI Simon Horman
2015-11-12  1:29 ` Simon Horman
2015-11-12  1:29 ` [PATCH v2 1/3] ARM: shmobile: r8a7793: Add DMAC devices to DT Simon Horman
2015-11-12  1:29   ` Simon Horman
2015-11-13  1:11   ` Simon Horman
2015-11-13  1:11     ` Simon Horman
2015-11-12  1:29 ` [PATCH v2 2/3] ARM: shmobile: r8a7793: Add QSPI device " Simon Horman
2015-11-12  1:29   ` Simon Horman
2015-11-12 11:50   ` Sergei Shtylyov
2015-11-12 11:50     ` Sergei Shtylyov
2015-11-13  1:11     ` Simon Horman
2015-11-13  1:11       ` Simon Horman
2015-11-12  1:29 ` [PATCH v2 3/3] ARM: shmobile: gose: " Simon Horman
2015-11-12  1:29   ` Simon Horman
2015-11-12 10:44   ` Geert Uytterhoeven
2015-11-12 10:44     ` Geert Uytterhoeven
2015-11-13  0:51     ` Simon Horman
2015-11-13  0:51       ` Simon Horman
2015-11-13  7:52       ` Geert Uytterhoeven
2015-11-13  7:52         ` Geert Uytterhoeven
2015-11-12 11:51   ` Sergei Shtylyov [this message]
2015-11-12 11:51     ` Sergei Shtylyov
2015-11-13  1:11     ` Simon Horman
2015-11-13  1:11       ` Simon Horman

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=56447D49.6060907@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.