SUPERH platform development
 help / color / mirror / Atom feed
From: Simon Horman <horms@verge.net.au>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH/RFC] ARM: shmobile: lager: Fix SPI mode of SPI-Flash into mode3
Date: Wed, 12 Nov 2014 08:22:43 +0000	[thread overview]
Message-ID: <20141112082242.GU9007@verge.net.au> (raw)
In-Reply-To: <CAMuHMdVQ0s35sW=kvf80c0s++R-5uNuJQtxMcX1R5ogxNwkp9w@mail.gmail.com>

On Thu, Oct 30, 2014 at 10:26:33AM +0100, Geert Uytterhoeven wrote:
> On Thu, Oct 30, 2014 at 6:55 AM, Simon Horman
> <horms+renesas@verge.net.au> wrote:
> > From: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>
> >
> > In order to change into mode3, CPOL and CPHA bit of SPCMD register
> > of MSIOF is changed. Mode3 can avoid intermediate voltage.
> 
> This is the QSPI node, not MSIOF?

Indeed.

Nakamura-san's patch, which I up-ported, was against the QSPI node
but the version I posted below is indeed against the MSIOF.

Furthermore, I see that spi-cpol and spi-cpha are already present
in the MSIOF node in mainline. I would like to withdraw this patch.

> > Signed-off-by: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>
> > Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> > ---
> > Based on the renesas-devel-20141030-v3.18-rc2 branch of my renesas tree
> >
> >  arch/arm/boot/dts/r8a7790-lager.dts | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
> > index 830f2e8..1606fad 100644
> > --- a/arch/arm/boot/dts/r8a7790-lager.dts
> > +++ b/arch/arm/boot/dts/r8a7790-lager.dts
> > @@ -343,6 +343,8 @@
> >                 spi-tx-bus-width = <4>;
> >                 spi-rx-bus-width = <4>;
> >                 m25p,fast-read;
> > +               spi-cpol;
> > +               spi-cpha;
> >
> >                 partition@0 {
> >                         label = "loader";
> 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds
> 

  reply	other threads:[~2014-11-12  8:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-30  5:55 [PATCH/RFC] ARM: shmobile: lager: Fix SPI mode of SPI-Flash into mode3 Simon Horman
2014-10-30  9:26 ` Geert Uytterhoeven
2014-11-12  8:22   ` Simon Horman [this message]
2014-12-08  0:31     ` Simon Horman
2014-12-08  8:33       ` Geert Uytterhoeven

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=20141112082242.GU9007@verge.net.au \
    --to=horms@verge.net.au \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox