egost
unread,Apr 22, 2011, 11:38:14 AM4/22/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to panda...@googlegroups.com
Hi Mark,
you can modify the file arch/arm/mach-omap2/board-omap4panda.c and define spi_board_info structure:
static struct spi_board_info panda_spi_board_info[] __initdata = {
{
.modalias = "spidev",
.bus_num = 1,
.chip_select = 0,
.max_speed_hz = 24000000,
.irq = -1,
},
};
and somewhere in omap_panda_init() add a call:
spi_register_board_info(panda_spi_board_info,
ARRAY_SIZE(panda_spi_board_info));
regards
Eugen