[PATCH 2/4] [OF] spi_of: add support for dedicated SPI constructors

Guennadi Liakhovetski g.liakhovetski at gmx.de
Thu May 22 02:24:58 EST 2008

On Wed, 21 May 2008, Anton Vorontsov wrote:

> On Wed, May 21, 2008 at 05:56:33PM +0200, Guennadi Liakhovetski wrote:
> > 
> > Hm, I might well misunderstand something here, but it looks to me like you 
> > are again trying to use both OF _and_ platform (spi_board_info) bindings 
> > for your SPI setup?
> Yes, you didn't misunderstand. ;-)
> > And this is exactly what we are trying to avoid in 
> > Grant's series of patches...
> I didn't find other way... The show stopper is "master" argument,
> drivers don't know about masters (and should not, since if they should,
> then this implies that masters should be registered prior to devices,
> and that complicates everything).
> What is the problem with board infos, btw? I missed that part. Board

In short: board infos are not bad as such. I find it bad if you have to 
use both OF and platform bindings to describe _one_ piece of hardware. For 
more details you might want to re-read the thread, so, we don't have to 
discuss the same issues again.

Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer

More information about the Linuxppc-dev mailing list