AnsweredAssumed Answered

SPI: SPIDEV interface question

Question asked by danib on Sep 24, 2012
Latest reply on Feb 26, 2014 by polestar

hi

Board: i.mx28 kernel:  2.6.35.3-571

I have compiled these two modules as a part of the kernel

  • Freescale MXS Spi/SPP controller
  • User mode SPI driver support /dev/spidevB.D

if i use this command

cat /sys/bus/spi/devices/spi1.0/modalias the answer is m25p80 (An SPI flash)

if i use this command cat /proc/devices

i see the major number is 153

and i use mknod  /dev/spidev1.1 c 153 0

and try to run spidev_fdx it's fail to open the device

can't open '/dev/spidev1.1': No such device or address

My question is how can i access the device using spidev interface ?

Outcomes