On Mon, 2010-11-08 at 20:43 +0100, ext Bryan Wu wrote: > On Mon, Nov 8, 2010 at 7:26 AM, Tomi Valkeinen <tomi.valkeinen@xxxxxxxxx> wrote: > > Hi, > > > > On Fri, 2010-11-05 at 20:43 +0100, ext Bryan Wu wrote: > >> static struct omap_dss_device sdp3430_dvi_device = { > >> .name = "dvi", > >> - .driver_name = "generic_panel", > >> - .type = OMAP_DISPLAY_TYPE_DPI, > >> - .phy.dpi.data_lines = 24, > > > > Why do you remove type and datalines configuration? You do this for the > > other panels also. > > > > I found this is common in all the generic dpi panel, but the value > depends on the specific panel. I move this to the panel configuration > data and will set this value in panel-dpi driver. Do you think need I > keep them here? Actually I found all of them are 24 for generic one. > 16 or 18 for others. Both type and .phy.dpi.data_lines tell about the connection to the panel, not about the panel itself. Thus I think it's more consistent to have them defined in the board file. Also, it's really up to the board HW design how many lines are connected from OMAP to the panel. You could connect only 16, for example, so it's something that has to be defined in the board file. Tomi -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html