1. 25 Feb, 2011 9 commits
  2. 21 Feb, 2011 1 commit
  3. 18 Feb, 2011 5 commits
    • Felipe Balbi's avatar
      usb: otg: notifier: switch to atomic notifier · cccad6d4
      Felipe Balbi authored
      most of our notifications, will be called from IRQ
      context, so an atomic notifier suits the job better.
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      cccad6d4
    • Hema HK's avatar
      usb: musb: OMAP4430: Fix usb device detection if connected during boot · 002eda13
      Hema HK authored
      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: default avatarHema HK <hemahk@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      002eda13
    • Hema HK's avatar
      usb: otg: TWL6030 Save the last event in otg_transceiver · 647b2d9c
      Hema HK authored
      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: default avatarHema HK <hemahk@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      647b2d9c
    • Hema HK's avatar
      usb: otg: TWL6030: Introduce the twl6030_phy_suspend function. · 070b8ed9
      Hema HK authored
      Introduce the twl6030_phy_suspend function and assign to otg.set_suspend
      function pointer.
      This function is used by the musb-omap2430 platform driver
      during suspend/resume.
      Signed-off-by: default avatarHema HK <hemahk@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      070b8ed9
    • Hema HK's avatar
      usb: otg: OMAP4430: Introducing suspend function for power management · ee896e34
      Hema HK authored
      Introduced the suspend/resume function for the OMAP4430 internal PHY.
      This will be used by the twl6030-usb transceiver driver.
      Moved the clock enable/disable function calls and power on/off of the PHY
      code from power on/off functions to suspend/resume function.
      
      Pass the suspend function through board data for OMAP4430sdp and OMAP4panda.
      This will be used by the twl6030-usb transceiver driver.
      Signed-off-by: default avatarHema HK <hemahk@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      ee896e34
  4. 17 Feb, 2011 25 commits