1. 23 8月, 2011 1 次提交
  2. 02 7月, 2011 1 次提交
    • M
      USB: OTG: Use work_queue in set_vbus for TWL6030 transciever · 5bf54506
      Moiz Sonasath 提交于
      With this commit: cccad6d4
      usb: otg: notifier: switch to atomic notifier
      
      Following dumps are observed on attach/detach for MUSB HOST
      mode and on a detach for MUSB Device mode.
      
      BUG: sleeping function called from invalid context at kernel/mutex.c:85
      where, the source is:
      twl6030_usb_irq
      ->atomic_notifier_call_chain
       ->musb_otg_notifications
        ->twl6030_set_vbus
         ->twl_i2c_write_u8
          ->mutex_lock
      
      This patch moves the i2c writes in set_vbus function to a
      work-queue thereby avoiding I2C writes in atomic context.
      
      Tested HOST and Device mode functionality on OMAP4460
      Signed-off-by: NMoiz Sonasath <m-sonasath@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      5bf54506
  3. 27 5月, 2011 1 次提交
  4. 13 5月, 2011 1 次提交
  5. 14 4月, 2011 1 次提交
  6. 18 2月, 2011 5 次提交
  7. 10 12月, 2010 1 次提交
    • H
      usb: otg: Adding twl6030-usb transceiver driver for OMAP4430 · c33fad0c
      Hema HK 提交于
      Adding the twl6030-usb transceiver support for OMAP4 musb driver.
      
      OMAP4 supports 2 types of transceiver interface.
      
      1. UTMI: The PHY is embedded within OMAP4. The transceiver functionality
      is split between the twl6030 PMIC chip and OMAP4430. The VBUS, ID pin
      sensing and OTG SRP generation part is integrated in TWL6030 and UTMI PHY
      functionality is embedded within the OMAP4430.
      
      There is no direct interactions between the MUSB controller and TWL6030
      chip to communicate the session-valid, session-end and ID-GND events.
      It has to be done through a software by setting/resetting bits in
      one of the control module register of OMAP4430 which in turn toggles
      the appropriate signals to MUSB controller.
      
      The internal transceiver has functional clocks and
      powerdown bits to powerdown the PHY for power saving.
      
      Since there is no option available for having 2 transceiver drivers
      for one USB controller, internal PHY specific APIs are passed through
      plaform_data function pointers to use in the twl6030-usb transceiver
      driver.
      
      2. ULPI interface is provided for off-chip transceivers.
      Signed-off-by: NHema HK <hemahk@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      c33fad0c