Hi, I'm trying to write a Linux module for an accel with SPI with imx6ul applications processor. For some reason, I needed to use word_delay of SPI API.
I'm setting word length to 8 bits, and setting word delay to 25 usecs. As a fact, I do not expect word delay to be exactly 25 usecs because of the scheduling but I want it to be at least 25 usecs. Still, this seems to have absolutely no effect on anything and delay between words is generally ~5 usecs (1MHz SCLK). So this made me wonder if there is such implementation in spi-imx driver.
已解决! 转到解答。
There is no such function in spi-imx driver, you can try to use lower speed in device tree.