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.

insmod spidev does not create device in /dev directory on a Linux OPM 4460 board

Other Parts Discussed in Thread: 4460

Hi,

On a Variscite OMAP 4460 / Linux (Linux 3.4.0 wheezy/sid) system I can execute an "insmod spidev" but no /dev/spi* appears.  So did ti.com write the spidev driver code or did Variscite?  And where can I find out more about using the 4460 SPI ports.


-thanks

  • Hello,

    Have you configured the defconfig file (or through menuconfig setup) you're using to build the spi modules?

    To answer your questions:

    1. "did ti.com write the spidev driver code or did Variscite?"

    According to the release following ubuntu release: http://variwiki.com/index.php?title=VAR-SOM-OM44_Ubuntu_RN, the spi driver files are spi.c & spi-omap2-mcspi.c, the first one is the spi driver from linux kernel mainline & the spi-omap2-mcspi.c driver is not written from TIers.

    2. "And where can I find out more about using the 4460 SPI ports"

    A good linux guides for the spi interface are presented here:

    http://omappedia.org/wiki/PandaBoard_SPI

    http://www.mjmwired.net/kernel/Documentation/spi/spi-summary

    http://www.mjmwired.net/kernel/Documentation/spi/spidev

    Best Regards,
    Yordan