1. 06 11月, 2012 4 次提交
    • S
      usb: musb: dsps: control module handling (quirk) · c68bb4c6
      Santhapuri, Damodar 提交于
      am335x uses nop transceiver driver and need to enable builtin phy
      by writing into usb_ctrl register available in system control
      module register space. This is being added at musb glue driver
      layer until a separate system control module driver is available.
      
      Proper solution is to make use of control module driver, but it is
      not expected to be ready soon.
      
      Other options available are providing control module register space
      as memory resource via DT or using omap hwmod.
      
      DT approach has been rejected by Rob Herring, while resources are
      being moved from hwmod to DT. And both of the above approaches
      require that control module registers be configured in wrapper
      itself requring a quirk in driver as well as DT or hwmod.
      
      Here another option is used, providing driver with control module
      register physical address. Even though this a hack, there is no other
      option left till control module driver is ready. As of now only
      am335x is using dsps wrapper, and so driver is made aware of am335x
      control module physical address.
      
      Please note that this is a temporary arrangment till omap control
      module driver is available.
      
      [afzal@ti.com: limit quirk to dsps wrapper]
      Signed-off-by: NSanthapuri, Damodar <damodar.santhapuri@ti.com>
      Signed-off-by: NAjay Kumar Gupta <ajay.gupta@ti.com>
      Signed-off-by: NRavi Babu <ravibabu@ti.com>
      Signed-off-by: NAfzal Mohammed <afzal@ti.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      c68bb4c6
    • A
      usb: musb: dsps: get resources by index · 3e594b18
      Afzal Mohammed 提交于
      dsps wrapper is now dt only. This requires that resources be obtained
      using index and not name, modify accordingly.
      Signed-off-by: NAfzal Mohammed <afzal@ti.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      3e594b18
    • A
      usb: musb: dsps: reduce musb instance to one · 3b46dd76
      Afzal Mohammed 提交于
      Currently multiple phy's of the same type are not supported, hence
      reduce musb instances to one. This helps in supporting at least one
      instance of musb, rather than having none. Even without this, it was
      observed that both instances were working (by luck), but this holds
      good iff wrapper is part of Image. And it is not correct for both
      controller's to be associated with same phy, here it was working
      because phy is a nop one. And having wrapper as a module and
      rmmod'ing would crash.
      
      This can be reverted once multi phy support for same type is available
      and driver is enhanced to make use of it.
      Signed-off-by: NAfzal Mohammed <afzal@ti.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      3b46dd76
    • A
      usb: musb: dsps: remove platform callback · 12fc9266
      Afzal Mohammed 提交于
      dsps wrapper is dt only, it cannot execute platform callbacks.
      Presence of this would cause NULL dereference, hence remove it.
      Signed-off-by: NAfzal Mohammed <afzal@ti.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      12fc9266
  2. 01 11月, 2012 1 次提交
    • S
      usb: musb: remove hand-crafted id handling · 2f771164
      Sebastian Andrzej Siewior 提交于
      This replaced the handcrafted id handling by the PLATFORM_DEVID_AUTO
      value which should do the same thing.
      
      This patch probably also fixes ux500 because I did not find the "musbid"
      variable to remove. And we close a tiny-unlikely race window becuase the
      old code gave the id back before device was destroyed in the remove
      case.
      
      [ balbi@ti.com : fixed up two failed hunks when applying patch ]
      
      Cc: B, Ravi <ravibabu@ti.com>
      Cc: Santhapuri, Damodar <damodar.santhapuri@ti.com>
      Cc: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
      Cc: Bob Liu <lliubbo@gmail.com>
      Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      2f771164
  3. 26 10月, 2012 1 次提交
  4. 11 9月, 2012 4 次提交
  5. 09 8月, 2012 1 次提交
  6. 03 8月, 2012 3 次提交
  7. 02 7月, 2012 1 次提交
  8. 25 6月, 2012 2 次提交
  9. 04 5月, 2012 1 次提交