On Wed, 2010-10-27 at 13:39 +0200, ext Enric Balletbà i Serra wrote: > Hello all, > > Can I add a new omap_dss_device after dss_device registration ? > Something like add_new_omap_dss_device(lcd_device) or similar ? > > On IGEP v2 we register only igep2_dvi_device as dss_device, We want to > add a new dss_device (igep2_lcd_device) after dss registration. Is it > possible ? > > For example we want to do something like this : > > step 1: register IGEP v2 dss_devices (dvi) > step 2: detect if IGEP expansion board is detected. > step 3: if it's detected add new dss_devices (lcd) Hmm... Not quite like that, I think. I think you have to have both devices in the omap_dss_board_info, and you have to have the drivers for both devices loaded when omapfb starts. But you don't necessarily have to use the second driver, and you could have its enable() fail if the expansion board is missing. 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