1. 07 10月, 2014 1 次提交
    • D
      usb: musb-new: core: set MUSB_POWER_HSENAB in MUSB_POWER for host mode · 16b61d13
      Daniel Mack 提交于
      This bit allows the MUSB controller to negotiate for high-speed mode when
      the device is reset by the hub. If unset, Babble errors occur with
      high-speed mass storage devices right after the first packet. This condition
      is not caught by the interrupt handles in U-Boot, so no recovery is done,
      and the USB communication is stuck.
      
      To fix this, set the bit unconditionally, not only for
      CONFIG_USB_GADGET_DUALSPEED but also for host-only modes.
      Signed-off-by: NDaniel Mack <zonque@gmail.com>
      16b61d13
  2. 17 9月, 2014 1 次提交
  3. 15 8月, 2013 1 次提交
  4. 08 4月, 2013 2 次提交
    • B
      musb: set MUSB speed based on CONFIG · 76b09b85
      Bin Liu 提交于
      Do not config MUSB to highspeed mode if CONFIG_USB_GADGET_DUALSPEED
      is not set, in which case Ether gadget only operates in fullspeed.
      Reviewed-by: NTom Rini <trini@ti.com>
      Signed-off-by: NBin Liu <b-liu@ti.com>
      76b09b85
    • B
      musb: am335x: disable bulk split-combine feature · 4de602f2
      Bin Liu 提交于
      On TI AM335x devices, MUSB has bulk split/combine feature enabled
      in the ConfigData register, but the current MUSB driver does not
      support it yet. Therefore, disable the feature for now, until the
      driver adds the support.
      
      One usecase which is broken because of this feature is that Ether
      gadget stops working in Fullspeed mode (by un-defining
      CONFIG_USB_GADGET_DUALSPEED)
      
      After desabled this feature, MUSB driver send packets in proper size
      (no more than 64 bytes) in Fullspeed mode.
      
      This has been validated with Ether gadget in Fullspeed mode on AM335x
      EVM.
      Signed-off-by: NBin Liu <b-liu@ti.com>
      4de602f2
  5. 20 11月, 2012 1 次提交
    • I
      musb-new: port of Linux musb driver · eb81955b
      Ilya Yanok 提交于
      Existing U-Boot musb driver has no support for the new gadget framework
      and also seems to have other limitations. As gadget framework is ported
      from Linux it seems pretty natural to port musb gadget driver as well.
      
      This driver supports both host and peripheral modes.
      
      This is not a replacement for current musb driver (at least now) as
      there are still some consumers of the old UDC interface.
      
      No DMA operation support included, CONFIG_MUSB_PIO_ONLY should be
      defined.
      
      Virtual root hub device is not implemented.
      
      Known problems: with no devices connected usb_lowlevel_start() fails.
      Signed-off-by: NIlya Yanok <ilya.yanok@cogentembedded.com>
      eb81955b