Other Parts Discussed in Thread: AM1808
I'm developing on a AM1808 based board (w sdk 5.03.02.00).
I modified the board configration file in this way in order to use the same CS with two devices:
static struct spi_board_info da850_k5_spi_info[] = {
[0] = {
.modalias = "ili934", /* spidev */
.mode = SPI_MODE_0,
.max_speed_hz = 5000000,
.bus_num = 1,
.chip_select = 2,
},
............................
............................
[3] = {
.modalias = "hx8238",
.mode = SPI_MODE_0,
.max_speed_hz = 5000000,
.bus_num = 1,
.chip_select = 2,
}
}
the kernel start correctly but I have the following message: spi_davinci spi_davinci.1: chipselect 2 already in use
So I suppose that this is not the way to do it. Does anyone have some idea?
Thanks in advance.