[spi-devel-general] [PATCH v4] xilinx_spi: Splitted into generic, of and platform driver, added support for DS570

Stephen Neuendorffer stephen.neuendorffer at xilinx.com
Tue Nov 10 11:59:05 EST 2009



> -----Original Message-----
> From: linuxppc-dev-bounces+stephen=neuendorffer.name at lists.ozlabs.org [mailto:linuxppc-dev-
> bounces+stephen=neuendorffer.name at lists.ozlabs.org] On Behalf Of Grant Likely
> Sent: Monday, November 09, 2009 1:22 PM
> To: Richard Röjfors
> Cc: spi-devel-general at lists.sourceforge.net; Andrew Morton; dbrownell at users.sourceforge.net; John
> Linn; linuxppc-dev at ozlabs.org
> Subject: Re: [spi-devel-general] [PATCH v4] xilinx_spi: Splitted into generic, of and platform
> driver, added support for DS570
> 
> Oops, I replied to the original version, but missed the subsequent
> versions.  Looks like some of my comments still apply though.
> Overall, the patch changes too many things all at once.  You should
> look at splitting it up.  At the very least the io accessor changes
> should be done in a separate patch.
> 
> On Mon, Sep 28, 2009 at 7:22 AM, Richard Röjfors
> <richard.rojfors at mocean-labs.com> wrote:
> > @@ -227,6 +227,21 @@ config SPI_XILINX
> >          See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"
> >          Product Specification document (DS464) for hardware details.
> >
> > +         Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)"
> > +
> > +config SPI_XILINX_OF
> > +       tristate "Xilinx SPI controller OF device"
> > +       depends on SPI_XILINX && XILINX_VIRTEX
> > +       help
> > +         This is the OF driver for the SPI controller IP from the Xilinx EDK.
> > +
> > +config SPI_XILINX_PLTFM
> > +       tristate "Xilinx SPI controller platform device"
> > +       depends on SPI_XILINX
> > +       help
> > +         This is the platform driver for the SPI controller IP
> > +         from the Xilinx EDK.
> > +
> 
> Personally, I don't think it is necessary to present these options to
> the user.  I think they can be auto-selected depending on CONFIG_OF
> and CONFIG_PLATFORM.

And in any event, OF should work for MICROBLAZE, too...

Steve
 

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.




More information about the Linuxppc-dev mailing list