Hello All,
I am using dm365evm to interface with a cmos sensor using Imager interface connector(J10).
The sensor supports only SPI to configure its registers and needs SPI_CLK, SPI_DATA, and SPI_EN.
Could you please clarify the following and provide some suggestions regarding the SPI usage.
1. Only SPI4 can be used to communicate with the sensor using imager interface connector?
2. From the schematics, SPI_EN = SPI4_SDI_GPIO_MD2_CONN, SPI_CLK = SPI4_SCLK_CONN, SPI_DATA = SPI4_SDO_CONN; ofcourse PINMUX4 register need to be configured accordingly.
3. /drivers/spi/davinci_spi_master.c is the driver to be used?
4. What are the changes expected in /arch/arm/mach-davinci/board-dm365evm.c? How to register SPI4 device with the platform?
5. I couldn't find any user level interface to the driver, could you please point to any related information in this regard? Would it be on the similar lines like the example present in ~/drivers/mtd/devices/at25xxA_eeprom.c?
Currently I am using dvsdk_2_10_01_18 and PSP_02_10_00_08 (as received with the EVM). Please let me know which kernel tree should I look for to update the source with new patches?
Thanks in advance for your time and help.
--
Best Regards
Arun