delay_usecs has no effect with espi and spidev

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

delay_usecs has no effect with espi and spidev

1,814 次查看
derrictubbs
Contributor I

I'm using the spidev userspace driver on a t1040d4rdb platform with 4.1 kernel.  Changing .delay_usecs on the transfer structure is having no effect on the chip select and the chip select is going high simultaneously with the falling edge of the last clock pulse.  Has anyone had any luck setting the delay or does anyone know why this isn't working.  I looked in the espi driver code and it directly calls udelay with the value of .delay_usecs.  I have hard-coded a value in there now to see if ti changes anything but I can't get on the box to try the change at the moment (I work remote to the box and am having some unrelated networking issues at the moment).

标记 (3)
0 项奖励
回复
1 回复

1,638 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Derric Tubbs,

Please refer to Documentation/spi/spidev_test.c in Linux Kernel source code, please refer to delay parameter specified through the command line.


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复