[PATCH v2 2/6] DaVinci: DM355: Updates for SPI for DM355 SOC

2009-08-26 Thread s-paulraj
From: Sandeep Paulraj s-paul...@ti.com this patch does the following 1) minor update to the clocks for SPI 2) Adds platform data for DM355 SPI0 Signed-off-by: Sandeep Paulraj s-paul...@ti.com --- arch/arm/mach-davinci/dm355.c | 20 1 files changed, 16 insertions(+), 4

Re: how can i use spi in dm355?

2009-06-23 Thread Philby John
__ 发件人: zuowenping 发送时间: 2009-06-22 16:34:45 收件人: davinci-linux-open-source 抄送: chris-meng 主题: how can i use spi in dm355? dear all: I am using mv_pro_4.0.1 in dm355 platform,now i want to use spi0 and spi1 to communication with other

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

2009-06-23 Thread zuowenping
: spi_test/0x0001/1062 r word: 8 max scaller is schedule+0xec/0x12c peed: 50 Hz (500 KHz) it seem some errors occur! 2009-06-23 zuowenping 发件人: Philby John 发送时间: 2009-06-23 14:51:50 收件人: zuowenping 抄送: davinci-linux-open-source 主题: Re: how can i use spi in dm355? zuowenping, You

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

2009-06-23 Thread zuowenping
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 your words,I cann't see the device node

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

2009-06-23 Thread Philby John
__ 发件人: Philby John 发送时间: 2009-06-23 14:51:50 收件人: zuowenping 抄送: davinci-linux-open-source 主题: Re: how can i use spi in dm355? zuowenping, You need to modify the arch/arm/mach-davinci/davinci_spi_platform.c

how can i use spi in dm355?

2009-06-22 Thread zuowenping
dear all: I am using mv_pro_4.0.1 in dm355 platform,now i want to use spi0 and spi1 to communication with other devices which is like using i2c open() , read() ,and write() to various device by sub address in userspace. My linux kernel is 2.6.10,I have find the spidev.c and

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

2009-06-22 Thread zuowenping
; the controller driver handles the rest. */ }; 2009-06-23 zuowenping 发件人: zuowenping 发送时间: 2009-06-23 10:00:27 收件人: davinci-linux-open-source 抄送: 主题: Re: how can i use spi in dm355? I have read the source code ,davinci_spi_board_init() must support board info for the spidev driver ,just

Re: how can i use spi in dm355?

2009-06-22 Thread zuowenping
the spidev_probe() function cann't been callback! 2009-06-23 zuowenping 发件人: zuowenping 发送时间: 2009-06-22 16:34:45 收件人: davinci-linux-open-source 抄送: chris-meng 主题: how can i use spi in dm355? dear all: I am using mv_pro_4.0.1 in dm355 platform,now i want to use spi0 and spi1

SPI on DM355

2009-05-08 Thread Kieran Bingham
Hi guys, I'm using the Montavista kernel for 2.6.18_pro500, but this is more of a generic SPI question. I'm trying to write a peripheral driver which uses the SPI. I have set up the SPI bus on SPI1, and I can initiate transfers over the wires (Logic analyser shows me line states) However, the

Re: SPI on DM355

2009-05-08 Thread Steve Chen
On Fri, 2009-05-08 at 17:41 +0100, Kieran Bingham wrote: Hi guys, I'm using the Montavista kernel for 2.6.18_pro500, but this is more of a generic SPI question. I'm trying to write a peripheral driver which uses the SPI. I have set up the SPI bus on SPI1, and I can initiate transfers over

Re: SPI on DM355

2009-05-08 Thread David Brownell
On Friday 08 May 2009, Kieran Bingham wrote: The following 8bits will clock the value of the register back to the master i.e.: to read the value 0x02 from register 0x03 the following transaction would occur MOSI: 0x03## MISO 0x##02 where ## are don't cares I can't seem to get this