public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Add new omap_dss_device after dss_device_registration
@ 2010-10-27 11:39 Enric Balletbò i Serra
  2010-11-01 14:53 ` Tomi Valkeinen
  0 siblings, 1 reply; 2+ messages in thread
From: Enric Balletbò i Serra @ 2010-10-27 11:39 UTC (permalink / raw)
  To: linux-omap, Tomi Valkeinen

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)

Thanks in advance,
  Enric

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Add new omap_dss_device after dss_device_registration
  2010-10-27 11:39 Add new omap_dss_device after dss_device_registration Enric Balletbò i Serra
@ 2010-11-01 14:53 ` Tomi Valkeinen
  0 siblings, 0 replies; 2+ messages in thread
From: Tomi Valkeinen @ 2010-11-01 14:53 UTC (permalink / raw)
  To: ext Enric Balletbò i Serra; +Cc: linux-omap@vger.kernel.org

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-01 14:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-27 11:39 Add new omap_dss_device after dss_device_registration Enric Balletbò i Serra
2010-11-01 14:53 ` Tomi Valkeinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox