spidev and atmel_spi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


I'm looking for an example of how to tie spidev to the atmel_spi
device for AT91RM9200.

Is it simply a matter of creating a struct spi_board_info with
.bus_num = 0, since

platform_device at91rm9200_spi_device id == 0?

and then calling spi_register_board_info?

I'm having trouble finding an example of how to do this.

I'm thinking I'm going to have to write my own driver for all of this
to really work, but I want to play around with reading and writing
registers with spidev first.



List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Linux ARM]     [Linux ARM MSM]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

Add to Google Follow linuxarm on Twitter