1. 01 3月, 2011 19 次提交
  2. 26 2月, 2011 17 次提交
  3. 21 2月, 2011 1 次提交
  4. 18 2月, 2011 3 次提交
    • F
      usb: otg: notifier: switch to atomic notifier · cccad6d4
      Felipe Balbi 提交于
      most of our notifications, will be called from IRQ
      context, so an atomic notifier suits the job better.
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      cccad6d4
    • H
      usb: musb: OMAP4430: Fix usb device detection if connected during boot · 002eda13
      Hema HK 提交于
      OMAP4430 is embedded with UTMI PHY. This PHY does not support the
      OTG features like ID pin detection and VBUS detection. This function
      is exported to an external companion chip TWL6030. Software must retrieve
      the OTG HNP and SRP status from the TWL6030 and configure the bits inside
      the control module that drive the related USBOTGHS UTMI interface signals.
      It must also read back the UTMI signals needed to configure the TWL6030
      OTG module.
      
      Can find more details in the TRM[1].
      [1]:http://focus.ti.com/pdfs/wtbu/OMAP4430_ES2.0_Public_TRM_vJ.pdf
      
      In OMAP4430 musb driver VBUS and ID notifications are received from the
      transceiver driver. If the cable/device is connected during boot,
      notifications from transceiver driver will be missed till musb driver
      is loaded.
      Patch to configure the transceiver in the platform_enable/disable
      functions and enable the vbus in the gadget driver based on the
      last_event of the otg_transceiver.
      Signed-off-by: NHema HK <hemahk@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      002eda13
    • H
      usb: otg: TWL6030 Save the last event in otg_transceiver · 647b2d9c
      Hema HK 提交于
      Save the last event in the otg_transceiver so that it can used in the
      musb driver and gadget driver to configure the musb and enable the
      vbus for host mode and OTG mode, if the device is connected during boot.
      Signed-off-by: NHema HK <hemahk@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      647b2d9c