1. 28 Jun, 2011 2 commits
    • Sebastian Andrzej Siewior's avatar
      usb: gadget: convert all users to the new udc infrastructure · 0f91349b
      Sebastian Andrzej Siewior authored
      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: default avatarMike 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: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      0f91349b
    • Felipe Balbi's avatar
      usb: gadget: introduce UDC Class · 2ccea03a
      Felipe Balbi authored
      this class will be used to abstract away several of the duplicated
      operations scattered among the USB gadget controller drivers.
      
      Later, we can add an atomic notifier to tell interested drivers about
      what's happening with the controller. Notifications such as suspend,
      resume, enumerated, etc. will be useful, at a minimum, for implementing
      usb charger detection.
      
      As part of the converting process usb_gadget_probe_driver() is no longer
      part of each udc but pushed into the ->stap() callback. The same for his
      couterpart.
      
      The core is currently set explicit to 'n'. It will be changed to 'y' once
      all users are converted since it provides functions which clash with
      other drivers.
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Acked-by: default avatarMichal Nazarewicz <mina86@mina86.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      2ccea03a
  2. 16 Jun, 2011 1 commit
  3. 14 Jun, 2011 2 commits
  4. 13 Jun, 2011 10 commits
  5. 12 Jun, 2011 8 commits
  6. 11 Jun, 2011 16 commits
  7. 10 Jun, 2011 1 commit