Re: [PATCH v2 4/5] spi: Add OF binding support for SPI busses

2008-07-11 Thread Grant Likely
On Wed, Jul 02, 2008 at 11:02:23PM -0400, Jon Smirl wrote: > On 7/2/08, Grant Likely <[EMAIL PROTECTED]> wrote: > > From: Grant Likely <[EMAIL PROTECTED]> > > > > This patch adds support for populating an SPI bus based on data in the > > OF device tree. This is useful for powerpc platforms which

Re: [PATCH v2 4/5] spi: Add OF binding support for SPI busses

2008-07-03 Thread Grant Likely
On Fri, Jul 04, 2008 at 11:54:57AM +0800, Chen Gong wrote: > Grant Likely wrote: > > + /* Mode (clock phase/polarity/etc.) */ > > + if (of_find_property(nc, "spi,cpha", NULL)) > > + spi->mode |= SPI_CPHA; > > + if (of_find_property(nc, "spi,cpol", NUL

RE: [PATCH v2 4/5] spi: Add OF binding support for SPI busses

2008-07-03 Thread Chen Gong
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Grant Likely > Sent: 2008?7?3? 9:03 > To: linuxppc-dev@ozlabs.org; > [EMAIL PROTECTED]; [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [PATCH

Re: [PATCH v2 4/5] spi: Add OF binding support for SPI busses

2008-07-02 Thread Jon Smirl
On 7/2/08, Grant Likely <[EMAIL PROTECTED]> wrote: > From: Grant Likely <[EMAIL PROTECTED]> > > This patch adds support for populating an SPI bus based on data in the > OF device tree. This is useful for powerpc platforms which use the > device tree instead of discrete code for describing platf

[PATCH v2 4/5] spi: Add OF binding support for SPI busses

2008-07-02 Thread Grant Likely
From: Grant Likely <[EMAIL PROTECTED]> This patch adds support for populating an SPI bus based on data in the OF device tree. This is useful for powerpc platforms which use the device tree instead of discrete code for describing platform layout. Signed-off-by: Grant Likely <[EMAIL PROTECTED]> --