This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM1808 - multiple drivers over a single SPI chip-select

Hi,

I'm working on a AM1808-based custom board, code is derived from da850 evm (sdk_5_03_02_00).
I have a spi chip select that is multiplexed in HW on two different devices.
At boot-time the chip select is attached to a LCD panel for LCD initialization.
At runtime the chip select is attached to a ADC for measurements.
For the ADC all management can be done directly from userspace using the "spidev" device driver.
But for the LCD I need a kernel driver because the LCD must be activated at boot time.
So I need to associate two different drivers to this chip-select, let's say "mylcd" at boot-time and "spidev" subsequently.
The problem is that in the spi_board_info struct I can specify just one .modalias
How can this be solved ?

Regards,