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.

Supporting multiple LCD's configuration in same Linux image?

Does anyone have a suggestion on how I could support 2 different LCD configuration (say 640x480 and 800x600) in the same Linux image? The LCD's are mutually exclusive and therefore only ONE will be physically attached.

My platform is a am335x and I am using its LCD Controller, running Linux 3.12 or higher.

I have one version of the LCD configured in the Device Tree and its works great.

I now want to be able to support a 2nd LCD with different configuration using the same LCD controller.

Ideally it would be 'nice' if my firmware could automatically switch to the supported configuratoin based on the LCD hardware. Unfortunately, my LCD's do not have a direct way of knowing their type. But that is not critical. So, I could select the LCD hardware based on a user selectable configuration.