Re: Generic MMC-over-SPI binding?

2008-01-09 Thread Simon Richter
Hi, Arnd Bergmann wrote: The important part where this connects to the mmc-spi driver is that you need to set spi_board_info-modalias to mmc-spi, if the device node can be identified as an mmc card. Doing that now, using the code you provided as a base. The SPI child device gets registered,

Re: Generic MMC-over-SPI binding?

2008-01-09 Thread Arnd Bergmann
On Wednesday 09 January 2008, Simon Richter wrote: The important part where this connects to the mmc-spi driver is that you need to set spi_board_info-modalias to mmc-spi, if the device node can be identified as an mmc card. Doing that now, using the code you provided as a base. The SPI

Generic MMC-over-SPI binding?

2008-01-08 Thread Simon Richter
Hi, in an embedded system similar to the lite5200 board, there is an MMC card socket connected to one of the PSCs. Ideally, I'd like to express this fact via the device tree and have the kernel bind the mmc-spi driver to the SPI interface, but I cannot find any place where to insert this code

Re: Generic MMC-over-SPI binding?

2008-01-08 Thread Robert Schwebel
On Tue, Jan 08, 2008 at 03:22:00PM +0100, Simon Richter wrote: in an embedded system similar to the lite5200 board, there is an MMC card socket connected to one of the PSCs. Ideally, I'd like to express this fact via the device tree and have the kernel bind the mmc-spi driver to the SPI

Re: Generic MMC-over-SPI binding?

2008-01-08 Thread Arnd Bergmann
On Tuesday 08 January 2008, Simon Richter wrote: in an embedded system similar to the lite5200 board, there is an MMC card socket connected to one of the PSCs. Ideally, I'd like to express this fact via the device tree and have the kernel bind the mmc-spi driver to the SPI interface, but I