1. 16 12月, 2010 2 次提交
    • M
      USB: uas: Fix up the Sense IU · 4400ef31
      Matthew Wilcox 提交于
      Add a comment to the Sense IU data structure that it's also used for Read
      Ready and Write Ready.  Remove the 'service response' element since it's
      gone from the current draft (04).
      Signed-off-by: NMatthew Wilcox <willy@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      4400ef31
    • G
      Merge branch 'musb-hw' of git://gitorious.org/usb/usb into musb · 5cdc5bd8
      Greg Kroah-Hartman 提交于
      * 'musb-hw' of git://gitorious.org/usb/usb: (43 commits)
        usb: musb: core: kill unneeded #include's
        DA8xx: assign name to MUSB IRQ resource
        arm: OMAP4430: musb: Configure musb to OTG mode
        usb: musb: Adding musb support for OMAP4430
        usb: otg: TWL6030: Add twl6030_usb file for compilation
        mfd: TWL6030: OMAP4: Registering the TWL6030-usb device
        usb: musb: TWL6030: Selecting TWL6030_USB transceiver
        usb: otg: Kconfig: Add Kconfig option for TWL6030 transceiver.
        usb: otg: Adding twl6030-usb transceiver driver for OMAP4430
        mfd: TWL6030: USBOTG VBUS event generation on
        usb: musb: add support for ux500 platform
        musb: am35x: fix compile error due to control apis
        arm: omap4: enable usb on 4430sdp
        usb: musb: drop board_set_vbus
        usb: musb: drop musb_platform_suspend/resume
        usb: musb: blackfin: usb dev_pm_ops structure
        usb: musb: am35x: usb dev_pm_ops structure
        usb: musb: omap2430: use dev_pm_ops structure
        usb: musb: omap2430: drop the nops
        usb: musb: mark musb_save/restore_context static
        ...
      5cdc5bd8
  2. 11 12月, 2010 26 次提交
  3. 10 12月, 2010 12 次提交
    • H
      arm: OMAP4430: musb: Configure musb to OTG mode · 09e72002
      Hema HK 提交于
      Enabling the musb OTG mode for SDP and PANDA boards.
      Signed-off-by: NHema HK <hemahk@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      09e72002
    • H
      usb: musb: Adding musb support for OMAP4430 · 594632ef
      Hema HK 提交于
      OMAP4430 supports UTMI and ULPI types of transceiver interface.
      
      In UTMI mode: The PHY is embedded within OMAP4430. 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.
      
      musb driver is register for blocking notifications from the transceiver
      driver to get the event notifications for connect/disconnect and ID-GND.
      Based on these events call the transceiver init/shutdown function to
      configure the transceiver to toggle the VBUS valid, session end and ID_GND
      signals to musb and power on/off the internal PHY.
      
      For ID_GND event notifications, toggle the ID_GND signal and then wait for
      musb to be configured as "A" device, and then call the transceiver function
      to set the VBUS.
      
      In OTG mode and musb as a host, When the Micro A connector used, VBUS is turned on
      and session bit set. When the device is connected, enumeration goes through.
      When the device disconnected from the other end of the connector(ID is still grounded),
      link will detect the disconnect and end the session. When the device is connected back,
      there are no events generated in the TWL6030-usb, and link is already down.
      So the device is not detected. Removed the session bit disable code which
      will recognize the connect of the device.
      
      Limitation: In OTG host mode, if device is connected during boot, it does not get
      detected. If disconnect and connect it back or connect after boot only it works.
      Fix for this, I will submit seperate patch later.
      Signed-off-by: NHema HK <hemahk@ti.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      594632ef
    • H
      usb: otg: TWL6030: Add twl6030_usb file for compilation · 221946d0
      Hema HK 提交于
      Add the twl6030_usb transceiver file for compilation.
      Signed-off-by: NHema HK <hemahk@ti.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      221946d0
    • H
      mfd: TWL6030: OMAP4: Registering the TWL6030-usb device · e70357e3
      Hema HK 提交于
      Registering the twl6030-usb transceiver device as a child to twl6030 core.
      Removed the NOP transceiver init call from board file.
      
      Populated twl4030_usb_data platform data structure with the function
      pointers for OMAP4430 internal PHY operation to be used by twl630-usb driver.
      Signed-off-by: NHema HK <hemahk@ti.com>
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      e70357e3
    • H
      usb: musb: TWL6030: Selecting TWL6030_USB transceiver · 4c42fbc9
      Hema HK 提交于
      Selecting the twl6030-usb for OMAP4430SDP and OMAP4PANDA boards and
      adding OMAP4 internal phy code for compilation
      Signed-off-by: NHema HK <hemahk@ti.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      4c42fbc9
    • H
      usb: otg: Kconfig: Add Kconfig option for TWL6030 transceiver. · 6b296123
      Hema HK 提交于
      Added the TWL6030-usb transceiver option in the Kconfig
      Signed-off-by: NHema HK <hemahk@ti.com>
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      6b296123
    • 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
    • H
      mfd: TWL6030: USBOTG VBUS event generation on · 77b1d3fa
      Hema HK 提交于
      With TWL6030-usb, VBUS SESS_VLD and SESS_END events are not generated
      as expected. When these interrupts are enabled, charger VBUS detection
      interrupt does not get generated. So USBOTG has to be dependent on charger
      VBUS interrupts.
      So added one bit for USBOTG and changed the handler to call the
      USBOTG handler whenever there is a charger VBUS interrpt.
      
      VBUS SESS_VLD and SESS_END event generation issue is under debug with
      HW team. This fix might not be required once after fixing the issue.
      Signed-off-by: NBalaji TK <balajitk@ti.com>
      Signed-off-by: NHema HK <hemahk@ti.com>
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      77b1d3fa
    • M
      usb: musb: add support for ux500 platform · 4bc36fd3
      Mian Yousaf Kaukab 提交于
      Initial support for u8500 and u5500 platform.
      Signed-off-by: NMian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
      Acked-by: NLinus Walleij <linus.walleij@stericsson.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      4bc36fd3
    • A
      musb: am35x: fix compile error due to control apis · a9c03783
      Ajay Kumar Gupta 提交于
      commit 4814ced5 (OMAP:
      control: move plat-omap/control.h to mach-omap2/control.h)
      moved <plat/control.h> to another location, preventing
      drivers from accessing it, so we need to pass function
      pointers from arch code to be able to talk to internal
      PHY on AM35x.
      Signed-off-by: NAjay Kumar Gupta <ajay.gupta@ti.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      a9c03783
    • F
      arm: omap4: enable usb on 4430sdp · 46960847
      Felipe Balbi 提交于
      Let musb work on 4430sdp as well. We can now
      test any problems with multi-omap builds.
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      46960847
    • F
      usb: musb: drop board_set_vbus · 92b48df2
      Felipe Balbi 提交于
      that's not used anymore. So let's drop it.
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      92b48df2