Skip to contentSkip to conversation

Change MODE, CS, BUS, and SPEED using SPI-DEV driver?

DISCUSSION Charles Martel 2 participants 2 messages Oct 1, 2010 – Oct 2, 2010 1 message not in the archive SPI

lore
Share & tools
lore
#0 lore raw

I have built a linux kernel using only the "S3C6410 High Speed SPI Driver." Debug messages were enabled.
In the ./drivers/spi directory, the following were built: built-in.o hspi-s3c64xx.o spi-dev.o spi.o
When I open the driver from a user space application, the debug statements come from the SPI-DEV driver. However, I don't see the IOCTL calls in spi-dev.c to change the MODE, CS, BUS, or SPEED. I also need to use two speeds, high and low. The question I have is how do I modify these settings?
Thanks in advance.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 2 lines · Charles Martel

The question I have is how do I modify these settings?

Evidently you haven't yet looked at the
documentation. Try that. There's a sample
program which will be informative.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev