Hi,
I try to change spi speed from userspace or kernel space.
I tried to use ioctl function (SPI_IOC_WR_MAX_SPEED_HZ) but it appears that it has no effect on the clock signal.
I modified kernel spi_board_info structure like that :
{ .modalias = "spidev"
.max_speed_hz = 2000000,
[...]
}
SPI works well but i can't change the clock signal speed, it appears that the frequency is fixed to 8 Mhz.
Board : TWR-VF65GS10
Running on Timesys kernel 3.0
Driver SPI spidev
Vincent.