All of lore.kernel.org
 help / color / mirror / Atom feed
* SPI bitbanging driver
@ 2010-08-26  9:39 Ravi Gupta
  0 siblings, 0 replies; only message in thread
From: Ravi Gupta @ 2010-08-26  9:39 UTC (permalink / raw)
  To: linuxppc-dev, MJ embd, Ira W. Snyder, Anton Vorontsov

[-- Attachment #1: Type: text/plain, Size: 632 bytes --]

Hi,

I am new to linux device driver development. I have to develop a spi
bitbanging driver for MPC837xERDB board. So far I have found that linux
kernel already has support for bitbanging over gpio(I am using linux kernel
2.6.35). Now I am confused that how I am going to configure SPI pins as GPIO
and what API to use to write my driver. I searched over internet a lot for a
sample SPI bitbang driver but unable to do so. Can anyone provide me some
sample bitbang driver explaning how to use the spi_bitbang.c and spi_gpio.c.
Do I need to change the mpc8377_rdb.dts file to register spi pins as gpio?

Thanks in advance
Ravi Gupta

[-- Attachment #2: Type: text/html, Size: 655 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-08-26  9:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-26  9:39 SPI bitbanging driver Ravi Gupta

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.