[RFC/DRAFT] SPI OF bindings, MMC-over-SPI, chip-selects and so on

Guennadi Liakhovetski g.liakhovetski at gmx.de
Thu May 22 01:54:20 EST 2008


On Wed, 21 May 2008, Anton Vorontsov wrote:

> This is just a bait for further discussion of OF/SPI, chip-selects,
> e.t.c.
> 
> I've converted the spi_mpc83xx to the OF driver (using Grant's
> SPI_MASTER_OF work + some additions), and implemented MMC-over-SPI
> bindings. This stuff extensively using GPIOs, and I think this will
> work for the "bridged SPI" too, since the SPI bridge could be
> represented as GPIO controller (inside the SPI controller node).

Yes, but do you really _want_ to represent them as GPIOs? Firstly they are 
not really "G" P, secondly, they are not even "I", rather only "O". And do 
you really want to register your SPI CS lines to the whole system for 
everyone's (ab)use?...

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



More information about the Linuxppc-dev mailing list