Hi,
[quote]
Loaded kernel to LCDK and couldn't see spidev in /dev.
[/quote]
Can you please ensure that you have enabled "User mode SPI device driver support" (CONFIG_SPIDEV) support in menuconfig for SPIdev support,
SPIdev support is for accessing the SPI from user space.
If still you could not see then it could problem of udev population,
So Try to create node manually and do your experiments,
Also, the node should be something like /dev/spidevX.Y,
where X is the bus no and Y is the chip select
e.g. /dev/spidev0.1
Q1) Do you have any SPI device on your board ?
If yes,
Q2) Have you provide your SPI platform data in your board file located at "arch/arm/mach-davicni/board-<your board>.c ?
Say e.g. board-omapl138_lcdk.c
Something like this
static struct flash_platform_data da850evm_spiflash_data = {
.name = "m25p80",
.parts = da850evm_spiflash_part,
.nr_parts = ARRAY_SIZE(da850evm_spiflash_part),
.type = "m25p64",
};
static struct davinci_spi_config da850evm_spiflash_cfg = {
.io_type = SPI_IO_TYPE_DMA,
.c2tdelay = 8,
.t2cdelay = 8,
};
static struct spi_board_info da850evm_spi_info[] = {
{
.modalias = "m25p80",
.platform_data = &da850evm_spiflash_data,
.controller_data = &da850evm_spiflash_cfg,
.mode = SPI_MODE_0,
.max_speed_hz = 30000000,
.bus_num = 1,
.chip_select = 0,
},
};