On Friday, March 07, 2014 6:48 AM, Dinh Nguyen wrote: > > From: Dinh Nguyen <dingu...@altera.com> > > 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....@samsung.com> 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....@samsung.com> 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 <gre...@linuxfoundation.org> > Cc: Paul Zimmerman <pa...@synopsys.com> > Cc: Felipe Balbi <ba...@ti.com> > Cc: Ben Dooks <ben-li...@fluff.org> > Cc: Matt Porter <mpor...@linaro.org> > Cc: Kukjin Kim <kgene....@samsung.com> > Cc: Stephen Warren <swar...@wwwdotorg.org> > Cc: Matthijs Kooijman <matth...@stdin.nl> > Cc: Jingoo Han <jg1....@samsung.com> > Cc: Sachin Kamat <sachin.ka...@linaro.org> > Cc: Robert Baldyga <r.bald...@samsung.com> > -- > 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html