All of lore.kernel.org
 help / color / mirror / Atom feed
* Access the linux_2.6.36 SPI Drivers from Userspace?
@ 2010-11-01 13:38 Charles Martel
       [not found] ` <20101101133814.141660-KK0ffGbhmjU@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Charles Martel @ 2010-11-01 13:38 UTC (permalink / raw)
  To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Does anyone know how to access the linux_2.6.36 SPI Drivers from Userspace? If so, could you explain?
 
Also, it appears that SPI-DEV (not SPIDEV) has been removed.  Is there a replacement in the works?
I could sure use one that lets me change the SPI Speed after I bring up the SPI Device.
 
Thanks

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
spi-devel-general mailing list
spi-devel-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

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

* Re: Access the linux_2.6.36 SPI Drivers from Userspace?
       [not found] ` <20101101133814.141660-KK0ffGbhmjU@public.gmane.org>
@ 2010-11-01 14:26   ` Grant Likely
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Likely @ 2010-11-01 14:26 UTC (permalink / raw)
  To: Charles Martel; +Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Mon, Nov 1, 2010 at 9:38 AM, Charles Martel <SingerIsland-KK0ffGbhmjU@public.gmane.org> wrote:
> Does anyone know how to access the linux_2.6.36 SPI Drivers from Userspace? If so, could you explain?
>
> Also, it appears that SPI-DEV (not SPIDEV) has been removed.  Is there a replacement in the works?
> I could sure use one that lets me change the SPI Speed after I bring up the SPI Device.

I'm don't know what the difference is between spi-dev and spidev, but
spidev allows the spi speed to be changed with an ioctl.
Documentation/spi/ contains information about how to use it from
userspace, and you can also look at drivers/spi/spidev.c

g.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev

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

end of thread, other threads:[~2010-11-01 14:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-01 13:38 Access the linux_2.6.36 SPI Drivers from Userspace? Charles Martel
     [not found] ` <20101101133814.141660-KK0ffGbhmjU@public.gmane.org>
2010-11-01 14:26   ` Grant Likely

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.