linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Freescale MPC8313 & SPI
@ 2009-03-03 20:01 Mark Bishop
       [not found] ` <20090303150112.7t6tpqkw0wsgoc4s-2+Z7l/WXEz7k1uMJSBkQmQ@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Bishop @ 2009-03-03 20:01 UTC (permalink / raw)
  To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

I am trying to understand more about how to talk to different spi  
chips using the MPC8313.  The documentation that comes with the  
development board is really lacking and I am relying on the  
/usr/src/linux/Documentaion/spi.  However, I still can't seem to  
answer my questions.

1) Which device do I open up to talk to the bus.  I would use  
something like /dev/ttyS0 for a serial port, and I assume it would be  
/dev/spidev.0 and I would have to make it manually using mknod - but  
what ties the /dev/spidev.0 to the actual chip driver?  Is there  
something I have to do in addition to mknod?

2) I would be looking for a few examples on how to talk to a SPI bus  
as well.  I've looked at spidev_test.c and I would like to see another  
example or two.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

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

end of thread, other threads:[~2009-03-11 21:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-03 20:01 Freescale MPC8313 & SPI Mark Bishop
     [not found] ` <20090303150112.7t6tpqkw0wsgoc4s-2+Z7l/WXEz7k1uMJSBkQmQ@public.gmane.org>
2009-03-03 20:58   ` Ned Forrester
2009-03-11 21:20   ` Mark Bishop
2009-03-11 21:21   ` Mark Bishop

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).