This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM6446 Linux SPI Support

I am currently working with MontaVista Linux 4.0.1 and it has support DM6467 and DM355 SPI, but not the DM6446.  Has anyone successfully added kernel support for SPI to this kernel?  Can the existing support for DM6467 and DM355 be extended to support the DM6446?

  • BMillikan said:
    I am currently working with MontaVista Linux 4.0.1 and it has support DM6467 and DM355 SPI, but not the DM6446.  Has anyone successfully added kernel support for SPI to this kernel? 

    There is SPI support in the newer PSP releases (even for MVL 4.0.1), what DVSDK/PSP version are you running? Note that you will likely find that the support that is in there is untested (primarily because the DM6446 DVEVM board does not have a SPI device to validate) though I have heard of customers using it successfully.

    BMillikan said:
    Can the existing support for DM6467 and DM355 be extended to support the DM6446?

    If the particular PSP version you are using does not have any DM6446 SPI code in it I suspect you could migrate the support from another Davinci device, the SPI ports have not changed much, though you may want to consider a newer PSP first.

  • We are open to using any PSP at this time as long as it is a 4.0.1 MVL kernel.  I am using the MontaVista linux kernel patched to pro-1993.  Which PSP has SPI support for the DM6446?  We might look into switching to this kernel at this early stage of development as long as it has support for all of the devices we need.

  • I suspect the kernel you are using will work for DM6446 with the DM6467 SPI driver, unfortunately it seems the PSP I was looking at does not have implicit DM6446 support in the source (no DM644x in the davinci_spi_platform.c file), it just mentions it being untested in the documentation. However being that I was digging through the source I made the finding that the DM6446 and DM6467 both share the same SPI base address (#define DAVINCI_SPI_BASE   (0x01C66800)), meaning that the DM6467 driver will likely work on the DM6446 if it is enabled.