On Friday, March 07, 2014 6:48 AM, Dinh Nguyen wrote: > > From: Dinh Nguyen <dinguyen@xxxxxxxxxx> > > Diffs from V2: > - Renamed s3c-hsotg.c to gadget.c > - For dynamically linked modules, dwc2_gadget.ko is built for peripheral mode > and for host mode, it remains dwc2.ko and dwc2_platform.ko or dwc2_pci.ko. > - Split out the patch to have 4 patches instead of 3. Patch 4 contains edits > to the Makefile(s) and Kconfig(s) only. > - Addressed comments from Felipe Balbi. > > I don't think I can add the Tested-by: Jingoo Han <jg1.han@xxxxxxxxxxx> to this > version as I have made changes on how the peripheral mode driver gets built. So > Jingoo, if you can please test this version, it would be appreciated. Tested-by: Jingoo Han <jg1.han@xxxxxxxxxxx> I tested these patches on Exynos4210 platform. 'gadget.c' aka 's3c-hsotg.c' works properly. Thank you. Best regards, Jingoo Han > > Thanks, > > Dinh Nguyen (4): > usb: dwc2: Add defines to support the s3c-hsotg driver > usb: s3c-hsotg: Move s3c-hsotg into dwc2 folder > usb: s3c-hsotg: Move s3c-hsotg data structures > usb: dwc2: Edit the Kconfig and Makefile to build dwc2_gadget driver > > drivers/usb/dwc2/Kconfig | 36 +- > drivers/usb/dwc2/Makefile | 27 +- > drivers/usb/dwc2/core.h | 182 +++++++ > drivers/usb/{gadget/s3c-hsotg.c => dwc2/gadget.c} | 593 +++++++-------------- > drivers/usb/dwc2/hw.h | 12 +- > drivers/usb/gadget/Kconfig | 7 - > drivers/usb/gadget/Makefile | 1 - > drivers/usb/gadget/s3c-hsotg.h | 378 ------------- > 8 files changed, 439 insertions(+), 797 deletions(-) > rename drivers/usb/{gadget/s3c-hsotg.c => dwc2/gadget.c} (85%) > delete mode 100644 drivers/usb/gadget/s3c-hsotg.h > --- > Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> > Cc: Paul Zimmerman <paulz@xxxxxxxxxxxx> > Cc: Felipe Balbi <balbi@xxxxxx> > Cc: Ben Dooks <ben-linux@xxxxxxxxx> > Cc: Matt Porter <mporter@xxxxxxxxxx> > Cc: Kukjin Kim <kgene.kim@xxxxxxxxxxx> > Cc: Stephen Warren <swarren@xxxxxxxxxxxxx> > Cc: Matthijs Kooijman <matthijs@xxxxxxxx> > Cc: Jingoo Han <jg1.han@xxxxxxxxxxx> > Cc: Sachin Kamat <sachin.kamat@xxxxxxxxxx> > Cc: Robert Baldyga <r.baldyga@xxxxxxxxxxx> > -- > 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html