All of lore.kernel.org
 help / color / mirror / Atom feed
* Generic MMC-over-SPI binding?
@ 2008-01-08 14:22 Simon Richter
  2008-01-08 16:11 ` Robert Schwebel
  2008-01-08 17:27 ` Arnd Bergmann
  0 siblings, 2 replies; 6+ messages in thread
From: Simon Richter @ 2008-01-08 14:22 UTC (permalink / raw)
  To: linuxppc-dev, linuxppc-embedded

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 that I feel comfortable with.

  - It is not a board-specific thing, because any board can just use any 
SPI bus for MMC.

  - The mmc-spi driver appears to be platform independent, so I'm not 
sure OF bindings should be added to it.

  - The generic device tree scanning does not contain any special cases 
yet, so I don't want to add one.

My current thought is to create a new driver that just handles MMC on 
PSCs in SPI mode by gluing all the relevant drivers together, but that 
doesn't seem optimal to me either.

Any ideas?

    Simon

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-01-09 21:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-08 14:22 Generic MMC-over-SPI binding? Simon Richter
2008-01-08 16:11 ` Robert Schwebel
2008-01-08 16:29   ` Simon Richter
2008-01-08 17:27 ` Arnd Bergmann
2008-01-09 17:17   ` Simon Richter
2008-01-09 21:55     ` Arnd Bergmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.