[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] spi and spidev usage
Hi to all,
I'm trying to use SPI. I added a 2nd SPI core to my FPGA.
The software-part is based on petalinux-mmu-v0.10.
The drivers spi and spidev can be build, the kernel says
xilinx_spi 0: at 0x83400000 mapped to 0xC8100000, irq=0
xilinx_spi 1: at 0x83500000 mapped to 0xC8120000, irq=1
and in the list of /proc/devices there are character devices
123 xilinx_spi and 153 spidev.
Can I test to access these devices already?
The spidev documentation says to configure the SPI-slaves in the
board initialization code using spi_register_board_info or
defining tables of devices
static struct spi_board_info spi_board_info[] __initdata = {...
Where can I do this?
The documentation told me to use udev or mdev to populate /dev
dynamically.
mdev is not available in the busybox config (maybe to old) and udev
cannot
be build. I don't need dynamic configuration.
Can I add the devices in the makefile of my platform instead?
Thanks for any help,
Carsten
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/