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

Guennadi Liakhovetski g.liakhovetski at gmx.de
Thu May 22 06:00:18 EST 2008


On Wed, 21 May 2008, Grant Likely wrote:

> On Wed, May 21, 2008 at 1:20 PM, Guennadi Liakhovetski
> <g.liakhovetski at gmx.de> wrote:
> >
> > Right again - _rare_ corner cases. Whereas we are talking about _all_ SPI
> > busses, maybe apart from those, where the controller itself switches CSs
> > in a well-defined way, and the driver doesn't need any additional
> > information to handle this.
> 
> Ah, I see where we are crossing our wires.  I was talking about the
> case of registering spi devices.  I agree that the spi bus should not
> need any additional information.

No, sorry for not making it clear. I wrote "busses" because on those 
controllers, that control CS themselves _devices_ don't need any 
additional info. But I meant, that describing SPI _devices_ should be done 
in only one way or another - either using fdt, or platform data, not both.

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



More information about the Linuxppc-dev mailing list