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.

getting SPI up on IPNC_RDK_V3.00

Hi,

            SW: IPNC_RDK_V.300

           HW: DM8127 IPNC

I enabled the SPI support in .config file for omap2_spi & mtd as suggested in TI81XX PSP McSPI Driver Guide.

I am building SPI support as part of kernel & not modules.

my dmesg -c logs shows following oinfo about spi and it looks normal.

PM: Adding info for platform:omap2_mcspi.1
PM: Adding info for platform:omap2_mcspi.2
PM: Adding info for platform:omap2_mcspi.3
PM: Adding info for platform:omap2_mcspi.4

PM: Adding info for No Bus:spi1
omap2_mcspi omap2_mcspi.1: registered master spi1
spi spi1.0: setup: speed 93750, sample trailing edge, clk normal
spi spi1.0: setup mode 1, 8 bits/w, 100000 Hz max --> 0
PM: Adding info for spi:spi1.0
omap2_mcspi omap2_mcspi.1: registered child spi1.0
PM: Adding info for No Bus:spi2
omap2_mcspi omap2_mcspi.2: registered master spi2
PM: Adding info for No Bus:spi3
omap2_mcspi omap2_mcspi.3: registered master spi3
PM: Adding info for No Bus:spi4
omap2_mcspi omap2_mcspi.4: registered master spi4

cat /proc/devices logs shows spi but not omap2_mcspi is that ok?

ls /dev/ logs shows only i2c & not spi.

How can I make sure that my SPI is Up? is there any way to verify this quickly.?

Thanks in advance.

  • Ravi,

    If SPI is present in /proc/devices, I think that is sufficient. I don't know whether you'll be able to access the device from userspace directly. Instead you have to add a driver in kernel, which will take read and write the registers.