Hi, On Wed, Jan 04, 2012 at 03:09:12PM +0100, Lukasz Majewski wrote: > There were some objections, that this code structure > (pcd.c/pcd_intr.c/cil.c etc.) is not compliant with the newest dwc3 > driver. more importantly than making the files look similar, you have to be sure that it's easy to re-use the core IP driver on different architectures. Take a look at drivers/usb/dwc3/dwc3-pci.c and drivers/usb/dwc3/dwc3-omap.c. What we did is that we split the core IP driver into its own platform_device/platform_driver and kept the integration context (Interconnect, clocks, etc) on a parent platform_device/platform_driver. -- balbi
Attachment:
signature.asc
Description: Digital signature