
Dear RONETIX - Asen Dimov,
In message 4BA1363B.7010002@ronetix.at you wrote:
This information should not be board-specific. The panel information is generic and should moved to a separate header file that is not part of the board code.
In the boards (at91sam9263ek and at91sam9m10g45ek, and some more at91sam9 based boards) I am looking at, the panel_info is in the board specific code.
Indeed. Patches to clean this up are welcome.
There are some lcd.c files with panel_info structures: drivers/video/mx3fb.c, cpu/pxa/pxafb.c and cpu/mpc8xx/lcd.c .
Where should be the proper place for panel_info which is somehow architecture dependent?
I'm not an expert in this area. In Linux there has been discussion to put this type of information into the device tree. Either in the form of (new, to be defined) specific bindings, or as EDID data.
I wonder if we could / should do something similar here?
Best regards,
Wolfgang Denk