All of lore.kernel.org
 help / color / mirror / Atom feed
* SD-over-SPI with shared SPI bus
@ 2009-01-09 21:23 Leonardo Rodrigues Magalhães
  0 siblings, 0 replies; 5+ messages in thread
From: Leonardo Rodrigues Magalhães @ 2009-01-09 21:23 UTC (permalink / raw)
  To: SPI Devel ML


    Hello Guys,

    is there any news on the mmc_spi driver which supports shared SPI 
bus ???

    i'm looking for this feature for enabling MicroSD support on some 
RouterBoard boards with OpenWRT.

    Thanks.

-- 


	Atenciosamente / Sincerily,
	Leonardo Rodrigues
	Solutti Tecnologia
	http://www.solutti.com.br

	Minha armadilha de SPAM, NÃO mandem email
	gertrudes-RDcRC1KzKCbQ4tFLR8X5nw@public.gmane.org
	My SPAMTRAP, do not email it





------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB

^ permalink raw reply	[flat|nested] 5+ messages in thread
* SD-over-SPI with shared SPI bus
@ 2008-08-21  8:46 Hendrik Sattler
       [not found] ` <20080821104615.7zxonbllsgg0gw0o-mcLvVI60cSeH+6FY6glk5g@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Hendrik Sattler @ 2008-08-21  8:46 UTC (permalink / raw)
  To: dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f
  Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,

I contact you because you are mentioned in the MAINTAINERS file of  
linux-2.6.26 for the mmc_spi drive and SPI subsystem.

I want to share the bus with other SPI devices. The drivers mentions  
pending updates that would allow that.
Are those available somewhere?

If not, the changes seem to fairly trivial: change SPI controller  
drivers to allow adding a spi_transfer to an spi_message during the  
complete() callback or add another callback that can do this.

Additionally, the current definition of a chipselect number seems not  
optimal. The pxa2xx driver even has it's own way to overcome this. The  
problem is that the method about activating a device might not be that  
sequentially numbered,
e.g. I have devices here that have a group chipselect with a  
subchipselect beside it.
I suggest to actually tell the owner of the spi_transfer and  
spi_message when a specific transfer starts and ends. The chipselect  
could still be handled by the spi controller driver but e.g. the  
subchipselect could be handled by the spi group device driver. Another  
use case would be devices that needs e.g. to be powered-up/-down.

Finally: is there a working SPI controller driver for the IXP46x out  
there? The register layout is mostly like the PX2xx driver the IXP46x  
doesn't have the DMA engine of the PXA2xx.

Thanks for your help.

HS

PS: For the list, please CC me as I am not subscribed.



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-09 21:23 SD-over-SPI with shared SPI bus Leonardo Rodrigues Magalhães
  -- strict thread matches above, loose matches on Subject: below --
2008-08-21  8:46 Hendrik Sattler
     [not found] ` <20080821104615.7zxonbllsgg0gw0o-mcLvVI60cSeH+6FY6glk5g@public.gmane.org>
2008-08-21  9:36   ` Erwin Authried
     [not found]     ` <1219311387.3496.40.camel-PHHJHpW2GuR0sls8neQjoV6hYfS7NtTn@public.gmane.org>
2008-08-21  9:47       ` Hendrik Sattler
     [not found]         ` <20080821114750.uw580nkdssok4o84-mcLvVI60cSeH+6FY6glk5g@public.gmane.org>
2008-08-21 12:04           ` Erwin Authried

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.