SPI on Tegra 290 (Seco)

SPI not working. where to get a driver or patch for Tegra 290?

no comments…

BOARD: QuadMo747-X/T20
I build kernel with option “User mode SPI device support”

in file arch/arm/mach-tegra/board-harmony.c

#include <linux/spi/spi.h>
static struct spi_board_info tegra_spi_device __initdata = {
{
.modalias = “spidev”,
.bus_num = 0,
.chip_select = 1,
.mode = SPI_MODE_0,
.max_speed_hz = 1000000,
.platform_data = NULL,
.irq = 0,
},
{
.modalias = “spidev”,
.bus_num = 1,
.chip_select = 1,
.mode = SPI_MODE_0,
.max_speed_hz = 1000000,
.platform_data = NULL,
.irq = 0,
},
{
.modalias = “spidev”,
.bus_num = 2,
.chip_select = 1,
.mode = SPI_MODE_0,
.max_speed_hz = 1000000,
.platform_data = NULL,
.irq = 0,
},
{
.modalias = “spidev”,
.bus_num = 3,
.chip_select = 1,
.mode = SPI_MODE_0,
.max_speed_hz = 1000000,
.platform_data = NULL,
.irq = 0,
}

};

static void __init harmony_spidev_init(void)
{
spi_register_board_info(&tegra_spi_device, 4);
}

and in init board procedure insert harmony_spidev_init();

in system present 4 new device:
spidev0.1, spidev1.1, spidev2.1, spidev3.1.
if i send command in teminal:
echo -ne “x5c”>/dev/spidev0.1 &

command is executed normally, but the data on the C24 connector is not done.

if i send command in teminal:
echo -ne “x5c”>/dev/spidev1.1 &
or echo -ne “x5c”>/dev/spidev2.1 &
or echo -ne “x5c”>/dev/spidev3.1 &
kernel module interface spi freezes. (bash not responding, and ignore SIGKILL)

Which still does your module supports SPI?

P.S.: on board QuadMo747-X/T20 i have acces only to SPI2 interface. Please help.