Re: Re: how can i use spi in dm355?

2009-06-23 Thread Philby John
On Tue, 2009-06-23 at 16:14 +0800, zuowenping wrote: > thanks Philby very much! > I have done according to your words,I cann't see the device node > in /dev yet,and i mknod and create node /dev/spidev0, and now i can > run my spidev_test.c, > # insmod spidev.ko > # mknod /dev/spi0 c 153 0 > # .

Re: Re: Re: how can i use spi in dm355?

2009-06-23 Thread zuowenping
}; I want to know is it spi0 or spi1 about the dm355_spi_board_info[] settings ? 2009-06-23 zuowenping 发件人: zuowenping 发送时间: 2009-06-23 16:08:09 收件人: Philby John 抄送: davinci-linux-open-source 主题: Re: Re: how can i use spi in dm355? thanks Philby very much! I have done according to y

Re: Re: how can i use spi in dm355?

2009-06-23 Thread zuowenping
thanks Philby very much! I have done according to your words,I cann't see the device node in /dev yet,and i mknod and create node /dev/spidev0, and now i can run my spidev_test.c, # insmod spidev.ko # mknod /dev/spi0 c 153 0 # ./spi_test & # spi mode: 3 bits peBUG: scheduling while atomic: sp

Re: Re: how can i use spi in dm355?

2009-06-22 Thread zuowenping
I have add some code for spi_board_info just as: spi_board_info dm355_spi_board_info[] ={ //add by duke 2009.6.18 { .modalias = "spidev", .platform_data = NULL,//&davinci_8k_spi_eeprom_info, .mode = SPI_MODE_0, .irq = 0, .max_speed_hz =