U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] DM for ci_udc
@ 2019-05-06 10:12 Sven Schwermer
  2019-05-06 10:28 ` Marek Vasut
  2019-05-20 12:13 ` Schrempf Frieder
  0 siblings, 2 replies; 6+ messages in thread
From: Sven Schwermer @ 2019-05-06 10:12 UTC (permalink / raw)
  To: u-boot

Hi,

I’m running into linking issues when enabling CONFIG_DM_USB_GADGET with CONFIG_CI_UDC because dm_usb_gadget_handle_interrupts is not available. That made me look into what’s required to port ci_udc to driver model. I have a few conceptual questions about this:

1. Some other USB gadget drivers (dwc3-generic, ti-musb) seem to create a wrapper driver that binds either the gadget or the host-mode driver to the USB device, depending on the configured mode. Is this the desired approach?

2. I’m working with a i.MX6 (7) device so the host-mode driver is ehci-mx6, but I’ve seen that ci_udc is also used with other host-mode drivers. How would a wrapper work in this case where there are multiple possible host-mode drivers but one gadget driver?

3. Any tips and hints are welcome :)

Best regards,
Sven

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

end of thread, other threads:[~2019-05-20 13:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-06 10:12 [U-Boot] DM for ci_udc Sven Schwermer
2019-05-06 10:28 ` Marek Vasut
2019-05-06 12:17   ` Lukasz Majewski
2019-05-07  7:21     ` Jean-Jacques Hiblot
2019-05-20 12:13 ` Schrempf Frieder
2019-05-20 13:36   ` Adam Ford

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