On Tue, Jan 14, 2014 at 05:01:00AM -0600, dinguyen@xxxxxxxxxx wrote: > From: Dinh Nguyen <dinguyen@xxxxxxxxxx> > > Hi, > > I'm starting work downstream on combining the DWC2 host driver and the s3c-hsotg > gadget driver into a dual-role OTG driver. Before I go further, I was hoping to > solicit comments on whether or not my initial approach is correct? I know there > are plans to combine the 2, so would like to solicit comments/suggestions so > that I can also upstream it as well. > > These 2 patches: > > * Moves the DWC2 driver out of drivers/staging into drivers/usb/dwc2/ This already happened yesterday in my tree, so you should see this in linux-next by now, no need to do it again :) > * Moves the s3c-hsotg driver into drivers/usb/dwc2/ > * Delete s3c-hsotg.h > * Make the s3c-hsotg.c file use the defines in hw.h from the DWC2 driver. > > This initial patch has been tested on the SOCFPGA platform only in Host-only > and Gadget-only mode. > > The next step would be to do the combining of the driver into a dual-role OTG > driver. I was told that merging the two of these isn't going to work as the silicon is just too different, which is why I allowed the code to move out of staging. If you feel differently, and think you can combine the two drivers, that's wonderful, I'll gladly take patches to do so, but be sure to test on the proper platforms to make sure nothing breaks. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html