|
If you're writing a driver I thought you have to link your
device with the spi-device in your probe function. So there would be no need
for a /dev/spi. I also wanted to write a driver for my devices but didn't find
the time yet. Maybe things can be taken from drivers like rtc-rs5c348.c or from
a spi-flash driver. Currently I'm still using spidev and therefore have devices
in /dev for user access. (http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/current/msg00016.html) Carsten. De:
owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] En nombre de Matt
Staniszewski I found the functions listed in
xspi_ioctl.h. I tried to write a sample script similar to a gpio test
script my friend wrote. However, there's no /dev/spi to open a file
descriptor for. I have the xilinx_spi device recognized in the boot up,
how do I map it to /dev/spi? Thanks. On Sun, Feb 22, 2009 at 22:31, Matt Staniszewski <matt.staniszewski@xxxxxxxxx>
wrote: I've managed to get the xilinx_spi char driver to load at
boot: |