I Just enabled the CONFIG_SPI_SPIDEV by adding "CONFIG_SPI_SPIDEV=y" to the kernel/arch/arm/configs/am335x_evm_defconfig.
I also added the spidev in the board info file board-am355xevm.c:
Thereafter i did a "make clean" followed by a "make TARGET_PRODUCT=am335xevm_sk OMAPES=4.x -j1" and a "make TARGET_PRODUCT=am335xevm_sk OMAPES=4.x -j1 sdcard_build"
When I boot the device there is no /dev/spidev devices yet, but the following can be read from dmesg:
root@android:/ # dmesg | grep spi
<4>[ 0.193786] omap2_mcspi.1: alias fck already exists
<4>[ 0.193908] omap2_mcspi.2: alias fck already exists
root@android:/ #
Any idea what I could be doing wrong?
Kind regards
Jesper