linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Using spidev driver for spi over gpio-device?
@ 2010-08-12  8:26 Orjan Friberg
       [not found] ` <4C63B034.1000007-Gxjboj7dVqxWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Orjan Friberg @ 2010-08-12  8:26 UTC (permalink / raw)
  To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org

Hi,

Is a SPI device as bitbanged over GPIO enough of a "real" SPI device 
that the spidev can be used for it?  I'm having trouble getting the 
interfaces to line up.

Thanks,
Orjan

-- 
Orjan Friberg
FlatFrog Laboratories AB

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 

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

* Re: Using spidev driver for spi over gpio-device?
       [not found] ` <4C63B034.1000007-Gxjboj7dVqxWk0Htik3J/w@public.gmane.org>
@ 2010-08-12  9:40   ` David Brownell
       [not found]     ` <556655.15797.qm-g47maUHHHF8HBU+L9ui1Svu2YVrzzGjVVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: David Brownell @ 2010-08-12  9:40 UTC (permalink / raw)
  To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	Orjan Friberg

> Is a SPI device as bitbanged over GPIO enough of
> a "real" SPI device 
> that the spidev can be used for it?

Yes -- modulo bugs.  The bitbanging would be via
the SPI master controller, and that's written to
be fairly close to a reference implementation.

and spidev is just one possible client.

  I'm having
> trouble getting the 
> interfaces to line up.
> 


------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 

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

* Re: Using spidev driver for spi over gpio-device?
       [not found]     ` <556655.15797.qm-g47maUHHHF8HBU+L9ui1Svu2YVrzzGjVVpNB7YpNyf8@public.gmane.org>
@ 2010-08-12  9:47       ` Orjan Friberg
  0 siblings, 0 replies; 3+ messages in thread
From: Orjan Friberg @ 2010-08-12  9:47 UTC (permalink / raw)
  To: David Brownell
  Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org

On 2010-08-12 11:40, David Brownell wrote:
>> Is a SPI device as bitbanged over GPIO enough of
>> a "real" SPI device
>> that the spidev can be used for it?
>
> Yes -- modulo bugs.  The bitbanging would be via
> the SPI master controller, and that's written to
> be fairly close to a reference implementation.
>
> and spidev is just one possible client.

Great, thanks.

-- 
Orjan Friberg
FlatFrog Laboratories AB

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 

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

end of thread, other threads:[~2010-08-12  9:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-12  8:26 Using spidev driver for spi over gpio-device? Orjan Friberg
     [not found] ` <4C63B034.1000007-Gxjboj7dVqxWk0Htik3J/w@public.gmane.org>
2010-08-12  9:40   ` David Brownell
     [not found]     ` <556655.15797.qm-g47maUHHHF8HBU+L9ui1Svu2YVrzzGjVVpNB7YpNyf8@public.gmane.org>
2010-08-12  9:47       ` Orjan Friberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).