1. 12 12月, 2011 2 次提交
  2. 14 10月, 2011 3 次提交
    • N
      usb: gadget: mv_udc: add clock gating support · 1aec033b
      Neil Zhang 提交于
      This patch is going to support clock gating when vbus detection is
      posible. Clock and phy will be on only when usb gadget is used(vbus valid).
      Signed-off-by: NNeil Zhang <zhangwm@marvell.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      1aec033b
    • N
      usb: gadget: mv_udc: add test mode support · fb22cbac
      Neil Zhang 提交于
      Add test mode support for marvell udc driver.
      Signed-off-by: NNeil Zhang <zhangwm@marvell.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      fb22cbac
    • N
      usb: gadget: mv_udc: refine the driver structure · dde34cc5
      Neil Zhang 提交于
      This patch do the following things:
      
      1. Add header and Copyright for marvell usb driver.
      2. Add mv_usb.h in include/linux/platform_data, make the driver
         fits all the marvell platform using the same ChipIdea usb ip.
      3. Some SOC may has mutiple clock sources, so let me define it
         in mv_usb_platform_data and give two helper functions named
         udc_clock_enable/udc_clock_disable to deal with the clocks.
      4. Different SOCs will have some difference in PHY initialization,
         so we will remove file mv_udc_phy.c and add two funtions in
         mv_usb_platform_data, let the platform relative driver to realize it.
      5. Rewrite probe function according to the modification list above. Find
         it will kernel panic when probe failed. The root cause is as follows:
      	When probe failed, the error handle may call device_unregister()
      	which in return will call gadget_release.In current code,
      	gadget_release have two issues:
      		1: the_controller is a NULL pointer.
      		2: if we free udc here, then the following code in probe
      		   will access NULL pointer.
      Signed-off-by: NNeil Zhang <zhangwm@marvell.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      dde34cc5
  3. 01 12月, 2010 1 次提交
    • C
      USB: pxa: Add USB client support for Marvell PXA9xx/PXA168 chips · e7cddda4
      cxie4 提交于
      This patch add USB client support Marvell PXA9xx/PXA168 chips. The USB
      controller in PXA9xx/PXA168 is a High-Speed OTG controller. The available
      endpoints is different between PXA9xx and PXA168.
      
      NOTE:
      It is the first version of Marvell PXA9xx/PXA168 USB controller driver.
      The support for OTG mode will be added in later patch.
      PXA9xx and PXA168 has integrated UTMI PHY in the chips. The initialization
      for the PHY is a little different between PXA9xx and PXA168.
      Signed-off-by: NChao Xie <chao.xie@marvell.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      e7cddda4