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.

OMAPl138 Linux can't create /dev/spidev* file

Make muneconfig file:

#

# Other I2C/SMBus bus drivers

#

# CONFIG_I2C_STUB is not set

# CONFIG_I2C_DEBUG_CORE is not set

# CONFIG_I2C_DEBUG_ALGO is not set

# CONFIG_I2C_DEBUG_BUS is not set

CONFIG_SPI=y

CONFIG_SPI_MASTER=y

 

#

# SPI Master Controller Drivers

#

CONFIG_SPI_BITBANG=y

CONFIG_SPI_DAVINCI=y

# CONFIG_SPI_GPIO is not set

# CONFIG_SPI_XILINX is not set

# CONFIG_SPI_DESIGNWARE is not set

 

#

# SPI Protocol Masters

#

CONFIG_SPI_SPIDEV=y

# CONFIG_SPI_TLE62X0 is not set

 

When system start:

# ls -l /dev/spi* ls: /dev/spi*: No such file or directory

# ls -l /sys/bus/spi/devices/spi1.0

lrwxrwxrwx    1 root     root            0 Jan  1  1970 /sys/bus/spi/devices/spi1.0 -> ../../../devices/platform/spi_davinci.1/spi1.0 

# ls -l /sys/class/spi*  

 /sys/class/spi_master: lrwxrwxrwx    1 root     root            0 Jan  1  1970 spi1 -> ../../devices/platform/spi_davinci.1/spi_master/spi1

/sys/class/spidev: