1. 19 Jun, 2014 1 commit
    • Linus Walleij's avatar
      usb: musb: ux500: don't propagate the OF node · 82363cf2
      Linus Walleij authored
      There is a regression in the upcoming v3.16-rc1, that is caused
      by a problem that has been around for a while but now finally
      hangs the system. The bootcrawl looks like this:
      
      pinctrl-nomadik soc:pinctrl: pin GPIO256_AF28 already
      requested by a03e0000.usb_per5; cannot claim for musb-hdrc.0.auto
      pinctrl-nomadik soc:pinctrl: pin-256 (musb-hdrc.0.auto) status -22
      pinctrl-nomadik soc:pinctrl: could not request pin 256
      (GPIO256_AF28) from group usb_a_1  on device pinctrl-nomadik
      musb-hdrc musb-hdrc.0.auto: Error applying setting, reverse
      things back
      HS USB OTG: no transceiver configured
      musb-hdrc musb-hdrc.0.auto: musb_init_controller failed
      with status -517
      platform musb-hdrc.0.auto: Driver musb-hdrc requests
      probe deferral
      (...)
      
      The ux500 MUSB driver propagates the OF node to the dynamically
      created musb-hdrc device, which is incorrect as it makes the OF
      core believe there are two devices spun from the very same
      DT node, which confuses other parts of the device core, notably
      the pin control subsystem, which will try to apply all the pin
      control settings also to the HDRC device as it gets
      instantiated. (The OMAP2430 for example, does not set the
      of_node member.)
      
      Cc: <stable@vger.kernel.org>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarLee Jones <lee.jones@linaro.org>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      82363cf2
  2. 08 Jan, 2014 1 commit
  3. 02 Oct, 2013 1 commit
  4. 26 Sep, 2013 1 commit
  5. 30 Jul, 2013 1 commit
  6. 04 Jun, 2013 3 commits
  7. 28 May, 2013 1 commit
  8. 03 Apr, 2013 1 commit
  9. 18 Mar, 2013 3 commits
  10. 17 Jan, 2013 2 commits
    • Ming Lei's avatar
      usb: musb: fix dependency on transceiver driver · 25736e0c
      Ming Lei authored
      This patch let glue driver return -EPROBE_DEFER if the transceiver
      is not readly, so we can support defer probe on musb to fix the
      below error on 3.7-rc5 if transceiver drivers are built as module:
      
      [   19.052490] unable to find transceiver of type USB2 PHY
      [   19.072052] HS USB OTG: no transceiver configured
      [   19.076995] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -19
      [   19.089355] musb-hdrc: probe of musb-hdrc.0.auto rejects match -19
      [   19.096771] driver: 'musb-omap2430': driver_bound: bound to device 'musb-omap2430'
      [   19.105194] bus: 'platform': really_probe: bound device musb-omap2430 to driver musb-omap2430
      [   19.174407] bus: 'platform': add driver twl4030_usb
      [   19.179656] bus: 'platform': driver_probe_device: matched device twl4030_usb with driver twl4030_usb
      [   19.202270] bus: 'platform': really_probe: probing driver twl4030_usb with device twl4030_usb
      [   19.214172] twl4030_usb twl4030_usb: HW_CONDITIONS 0xc0/192; link 3
      [   19.239624] musb-omap2430 musb-omap2430: musb core is not yet ready
      [   19.246765] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
      [   19.254516] driver: 'twl4030_usb': driver_bound: bound to device 'twl4030_usb'
      [   19.263580] bus: 'platform': really_probe: bound device twl4030_usb to driver twl4030_usb
      
      Cc: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
      Cc: <stable@vger.kernel.org> v3.8
      Signed-off-by: default avatarMing Lei <ming.lei@canonical.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      25736e0c
    • Fabio Baltieri's avatar
      usb: musb: ux500: use clk_prepare_enable and clk_disable_unprepare · 99d17cfa
      Fabio Baltieri authored
      This patch converts the module to use clk_prepare_enable and
      clk_disable_unprepare variants as required by common clock framework.
      
      Without this the system crash during probe function.
      
      Cc: <stable@vger.kernel.org> # v3.7 v3.8
      Signed-off-by: default avatarFabio Baltieri <fabio.baltieri@linaro.org>
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      99d17cfa
  11. 21 Nov, 2012 3 commits
  12. 06 Nov, 2012 1 commit
    • Philippe De Swert's avatar
      usb: musb: remove generic_interrupt · baef653a
      Philippe De Swert authored
      This patch is based on the discussion of a previous patch to fix an issue
      where the omap2430 musb driver is not working for N9/N950.
      
      Moving all the interrupt handling to the devices. Avoids inclusion of generic
      interrupt and breakage due to sometimes misleading CONFIG options. This makes
      sure usb always works if on of the subdrivers is chosen. Tested on Nokia N9/N950.
      
      Partially clean up CONFIG_SOC_OMAP3430 which is not necessary in the cases
      where I removed it. Also helps with the removal work of those options that
      Tony Lindgren predicted would happen at some point.
      Signed-off-by: default avatarPhilippe De Swert <philippe.deswert@jollamobile.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      baef653a
  13. 01 Nov, 2012 1 commit
    • Sebastian Andrzej Siewior's avatar
      usb: musb: remove hand-crafted id handling · 2f771164
      Sebastian Andrzej Siewior authored
      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: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      2f771164
  14. 26 Oct, 2012 2 commits
    • Wei Yongjun's avatar
      usb: musb: ux500: fix 'musbid' undeclared error in ux500_remove() · 9a65d162
      Wei Yongjun authored
      commit 65b3d52d
      (usb: musb: add musb_ida for multi instance support)
      used musbid in ux500_remove() but nerver declared it.
      
      I found this in x86_64 platform, but not sure whether
      this is a error on the correct ARCH.
      
      $ make drivers/usb/musb/ux500.o
      make[1]: Nothing to be done for `all'.
      make[1]: Nothing to be done for `relocs'.
        CHK     include/generated/uapi/linux/version.h
        CHK     include/generated/utsrelease.h
        UPD     include/generated/utsrelease.h
        CALL    scripts/checksyscalls.sh
        CC      drivers/usb/musb/ux500.o
      drivers/usb/musb/ux500.c: In function 'ux500_probe':
      drivers/usb/musb/ux500.c:78:2: error: 'musbid' undeclared (first use in this function)
      drivers/usb/musb/ux500.c:78:2: note: each undeclared identifier is reported only once for each function it appears in
      make[1]: *** [drivers/usb/musb/ux500.o] Error 1
      make: *** [drivers/usb/musb/ux500.o] Error 2
      Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      9a65d162
    • Wei Yongjun's avatar
      usb: musb: ux500: use platform_device_unregister in ux500_remove() · 4b0de6f3
      Wei Yongjun authored
      platform_device_unregister() only calls platform_device_del() and
      platform_device_put(), thus use platform_device_unregister() to
      simplify the code.
      
      Also the documents in platform.c shows that platform_device_del
      and platform_device_put must _only_ be externally called in error
      cases.  All other usage is a bug.
      
      dpatch engine is used to auto generate this patch.
      (https://github.com/weiyj/dpatch)
      Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      4b0de6f3
  15. 15 Oct, 2012 1 commit
  16. 11 Sep, 2012 1 commit
  17. 02 Jul, 2012 1 commit
  18. 25 Jun, 2012 2 commits
  19. 27 Feb, 2012 1 commit
  20. 31 Jan, 2012 1 commit
  21. 13 Apr, 2011 1 commit
  22. 10 Dec, 2010 1 commit