Re: How to correctly use spi_slave_tegra

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/15/2012 02:41 PM, Federico Vaga wrote:
Yes, the above are correct. The way we wrote the driver is that to
support the sync and async both.
When driver configures spi controller and ready for receive data then
the callback from client is called. This callback is registered through
spi_tegra_register_callback(). The client code then can inform master in
this callback to start transfer through some mechanism i.e. gpio.
One more question.
 From the Tegra 2 Manual, SPI slave section, I read (I cannot copy it because
of DRM and Nvidia legal stuff) that the clock signal *must* has 1 cycle delay
between each word (or packet in packet mode); but I don't read from the master
section that the master controller provide 1 cycle delay between each word (or
packet). If I connect a Tegra 2 SPI Master with a Tegra 2 SPI slave .... it
works?


Aah, it is something written incorrectly. We had internal discussion to remove this statement from TRM already. Please ignore the 1 cycle delay statement.
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux