linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: linuxppc-dev@ozlabs.org, avorontsov@ru.mvista.com
Subject: Re: [PATCH] powerpc/4xx: Add GPIO, SPI and MMC suport to the Arches
Date: Fri, 31 Oct 2008 15:31:05 +0100	[thread overview]
Message-ID: <200810311531.05357.sr@denx.de> (raw)
In-Reply-To: <20081031122121.GA21741@oksana.dev.rtsoft.ru>

Hi Anton,

thanks for your comments.

On Friday 31 October 2008, Anton Vorontsov wrote:
> > diff --git a/arch/powerpc/boot/dts/arches.dts
> > b/arch/powerpc/boot/dts/arches.dts index d9113b1..c568095 100644
> > --- a/arch/powerpc/boot/dts/arches.dts
> > +++ b/arch/powerpc/boot/dts/arches.dts
> > @@ -195,6 +195,38 @@
> >  				interrupts = <0x3 0x4>;
> >  			};
> >
> > +			SPI0: spi@ef600900 {
> > +				#address-cells = <1>;
> > +				#size-cells = <0>;
> > +				device_type = "spi";
>
> device_type isn't needed.

OK, will remove.

> > +				compatible = "ibm,spi-460gt", "ibm,ppc4xx-spi";
> > +				reg = <0xef600900 7>;
> > +				interrupt-parent = <&UIC1>;
> > +				interrupts = <2 4>;
> > +
> > +				/* gpio(s) representing chip select(s) */
> > +				gpios = <&GPIO1 11 0>;
> > +
> > +				mmc-slot@0 {
> > +					compatible = "linux,mmc-spi", "mmc-spi";
>
> According to new (though still not approved) bindings, this should
> be "<board-specific>-mmc-slot", "mmc-spi-slot".

So I will wait a while with re-sending until this is "approved".

> > +					reg = <0>;
> > +					spi-max-frequency = <10000000>;
> > +					voltage-range = <3300 3300>;
>
> For new bindings I changed this to "voltage-ranges", so that we
> could specify discontinuous range.

OK, will change in next version.

Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office@denx.de
=====================================================================

      reply	other threads:[~2008-10-31 14:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-31 11:11 [PATCH] powerpc/4xx: Add GPIO, SPI and MMC suport to the Arches Stefan Roese
2008-10-31 12:21 ` Anton Vorontsov
2008-10-31 14:31   ` Stefan Roese [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=200810311531.05357.sr@denx.de \
    --to=sr@denx.de \
    --cc=avorontsov@ru.mvista.com \
    --cc=linuxppc-dev@ozlabs.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).