1. 02 7月, 2011 1 次提交
    • F
      usb: gadget: allow multiple gadgets to be built · 193ab2a6
      Felipe Balbi 提交于
      now that we have the udc class, we can allow
      multiple gadget controller drivers to be
      compiled as modules. This will allow for
      distro-like kernels for embedded devices.
      
      With this patch, I managed to build an x86
      kernel with support for many of the controllers
      enabled:
      
      CONFIG_USB_FUSB300=m
      CONFIG_USB_R8A66597=m
      CONFIG_USB_M66592=m
      CONFIG_USB_AMD5536UDC=m
      CONFIG_USB_CI13XXX_PCI=m
      CONFIG_USB_NET2272=m
      CONFIG_USB_NET2280=m
      CONFIG_USB_GOKU=m
      CONFIG_USB_LANGWELL=m
      CONFIG_USB_EG20T=m
      
      Also an ARM kernel with support for many controllers:
      
      CONFIG_USB_FUSB300=m
      CONFIG_USB_OMAP=m
      CONFIG_USB_R8A66597=m
      CONFIG_USB_GADGET_MUSB_HDRC=m
      CONFIG_USB_M66592=m
      CONFIG_USB_NET2272=m
      CONFIG_USB_DUMMY_HCD=m
      
      The next step would be to get rid of the
      direct access to arch/ and mach/ directories
      on some gadget controllers so that we can
      build all of them without depending on their
      respective ARCH_* symbols.
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      193ab2a6
  2. 29 6月, 2011 1 次提交
    • S
      usb: gadget: convert all users to the new udc infrastructure · 0f91349b
      Sebastian Andrzej Siewior 提交于
      peripheral drivers are using usb_add_gadget()/usb_del_gadget() to
      register/unregister to the udc-core.
      
      The udc-core will take the first available gadget driver and attach
      function driver which is calling usb_gadget_register_driver(). This is
      the same behaviour we have right now.
      
      Only dummy_hcd was tested, the others were compiled tested.
      
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: Anton Tikhomirov <av.tikhomirov@samsung.com>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Dan Carpenter <error27@gmail.com>
      Cc: Darius Augulis <augulis.darius@gmail.com>
      Cc: Eric Miao <eric.y.miao@gmail.com>
      Cc: Jingoo Han <jg1.han@samsung.com>
      Cc: Kukjin Kim <kgene.kim@samsung.com>
      Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Cc: Li Yang <leoli@freescale.com>
      Cc: Michael Hennerich <michael.hennerich@analog.com>
      Acked-by: NMike Frysinger <vapier@gentoo.org>
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Cc: Pavankumar Kondeti <pkondeti@codeaurora.org>
      Cc: Roy Huang <roy.huang@analog.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Toshiharu Okada <toshiharu-linux@dsn.okisemi.com>
      Cc: Xiaochen Shen <xiaochen.shen@intel.com>
      Cc: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
      Cc: Yuan-Hsin Chen <yhchen@faraday-tech.com>
      Cc: cxie4 <cxie4@marvell.com>
      Cc: linux-geode@lists.infradead.org
      Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      0f91349b
  3. 15 6月, 2011 1 次提交
  4. 08 6月, 2011 13 次提交
  5. 07 6月, 2011 1 次提交
  6. 12 5月, 2011 2 次提交
  7. 30 4月, 2011 13 次提交
  8. 14 4月, 2011 2 次提交