1. 31 8月, 2012 1 次提交
    • M
      usb: gadget: get rid of USB_GADGET_{DUAL,SUPER}SPEED · 85b8614d
      Michal Nazarewicz 提交于
      This commit removes USB_GADGET_DUALSPEED and USB_GADGET_SUPERSPEED
      Kconfig options.  Since now kernel allows many UDC drivers to be
      compiled, those options may turn to no longer be valid.  For
      instance, if someone decides to build UDC that supports super
      speed and UDC that supports high speed only, the latter will be
      "assumed" to support super speed since USB_GADGET_SUPERSPEED will
      be selected by the former.
      
      The test of whether CONFIG_USB_GADGET_*SPEED was defined was just
      an optimisation which removed otherwise dead code (ie. if UDC is
      not dual speed, there is no need to handle cases that can happen
      if speed is high).  This commit removes those checks.
      Signed-off-by: NMichal Nazarewicz <mina86@mina86.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      85b8614d
  2. 20 8月, 2012 1 次提交
  3. 03 8月, 2012 1 次提交
  4. 04 5月, 2012 2 次提交
  5. 20 12月, 2011 2 次提交
  6. 12 12月, 2011 2 次提交
    • F
      usb: musb: drop ARCH dependency · 1e546aa6
      Felipe Balbi 提交于
      musb core driver and tusb6010 glue layer don't
      depend on anything which is ARCH-specific. It
      builds fine on x86 and ARM. Dropping the dependency
      so we can compile-test on linux-next.
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      1e546aa6
    • A
      usb: musb: use a Kconfig choice to pick the right DMA method · 2e7fc3ba
      Arnd Bergmann 提交于
      The logic to allow only one DMA driver in MUSB is currently
      flawed, because it also allows picking no DMA driver at all
      and also not selecting PIO mode.
      
      Using a choice statement makes this foolproof for now and
      also simplifies the Makefile.
      
      Unfortunately, we will have to revisit this when we start
      supporting multiple ARM platforms in a single kernel binary,
      because at that point we will actually need to select
      multiple DMA drivers and pick the right one at run-time.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Felipe Balbi <balbi@ti.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      2e7fc3ba
  7. 15 11月, 2011 2 次提交
    • L
      usb: musb: hdrc: fix dependency on USB_GADGET_DUALSPEED in Kconfig · 0de174b5
      Luciano Coelho 提交于
      USB_MUSB_HDRC depends on USB_GADGET_DUALSPEED.  If HDRC is selected
      but DUALSPEED is not, the kernel oopses:
      
      [    3.132781] Unable to handle kernel NULL pointer dereference at virtual address 00000000
      [    3.141296] pgd = c0004000
      [    3.144134] [00000000] *pgd=00000000
      [    3.147918] Internal error: Oops: 5 [#1] SMP
      [    3.152404] Modules linked in:
      [    3.155609] CPU: 0    Not tainted  (3.1.0-rc9-wl+ #417)
      [    3.161132] PC is at composite_setup+0x738/0xbb4
      [    3.165985] LR is at vprintk+0x400/0x47c
      [    3.170135] pc : [<c031df90>]    lr : [<c004c150>]    psr: 60000093
      [    3.170135] sp : c065dd50  ip : dfb1f0fc  fp : c065ddbc
      [    3.182220] r10: 00000000  r9 : df8fcae8  r8 : df8fcaa0
      [    3.187713] r7 : 00000000  r6 : df8eaa20  r5 : dfae8ea0  r4 : 00000000
      [    3.194580] r3 : df8fcae8  r2 : 00010002  r1 : c065dc40  r0 : 00000047
      [    3.201446] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
      [    3.209228] Control: 10c53c7d  Table: 8000404a  DAC: 00000015
      [    3.215270] Process swapper (pid: 0, stack limit = 0xc065c2f8)
      [    3.221405] Stack: (0xc065dd50 to 0xc065e000)
      [...]
      [    3.415405] [<c031df90>] (composite_setup+0x738/0xbb4) from [<c0310d18>] (musb_g_ep0_irq+0x9d0/0xaf8)
      [    3.425109] [<c0310d18>] (musb_g_ep0_irq+0x9d0/0xaf8) from [<c030fb04>] (musb_interrupt+0xb48/0xc74)
      [    3.434722] [<c030fb04>] (musb_interrupt+0xb48/0xc74) from [<c030fc98>] (generic_interrupt+0x68/0x80)
      [    3.444458] [<c030fc98>] (generic_interrupt+0x68/0x80) from [<c0095204>] (handle_irq_event_percpu+0x9c/0x234)
      [    3.454925] [<c0095204>] (handle_irq_event_percpu+0x9c/0x234) from [<c00953e8>] (handle_irq_event+0x4c/0x6c)
      [    3.465270] [<c00953e8>] (handle_irq_event+0x4c/0x6c) from [<c0097e10>] (handle_fasteoi_irq+0xd8/0x110)
      [    3.475158] [<c0097e10>] (handle_fasteoi_irq+0xd8/0x110) from [<c0094d2c>] (generic_handle_irq+0x34/0x3c)
      [    3.485260] [<c0094d2c>] (generic_handle_irq+0x34/0x3c) from [<c0014ae4>] (handle_IRQ+0x88/0xc8)
      [    3.494537] [<c0014ae4>] (handle_IRQ+0x88/0xc8) from [<c00085b0>] (asm_do_IRQ+0x18/0x1c)
      [    3.503051] [<c00085b0>] (asm_do_IRQ+0x18/0x1c) from [<c0429e78>] (__irq_svc+0x38/0xc0)
      
      This patch changes Kconfig so that USB_GADGET_DUALSPEED is selected
      automatically by USB_MUSB_HDRC.
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      0de174b5
    • M
      usb: musb: remove incorrectly added ARCH_U5500 define · d0678594
      Mian Yousaf Kaukab 提交于
      ARCH_U8500 covers both MACH_U8500 and MACH_U5500
      Reported-by: NPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: NMian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      d0678594
  8. 12 8月, 2011 1 次提交
    • R
      usb: musb: fix Kconfig · 26e5c3e2
      Rabin Vincent 提交于
      After 62285963 (usb: musb: drop a gigantic amount of ifdeferry):
      
       - USB_GADGET_MUSB_HDRC is no longer selectable because it
         depends on the removed USB_MUSB_PERIPHERAL and USB_MUSB_OTG
         options
      
       - The Kconfig comment still says "Enable Host or Gadget support
         to see Inventra options", even though you now need to enable
         both of them to see Inventra options.
      
      Fix the dependency and drop the anyway unnecessary comment.
      Signed-off-by: NRabin Vincent <rabin@rab.in>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      26e5c3e2
  9. 02 8月, 2011 1 次提交
    • R
      usb: musb: fix Kconfig · b61ae342
      Rabin Vincent 提交于
      After 62285963 (usb: musb: drop a gigantic amount of ifdeferry):
      
       - USB_GADGET_MUSB_HDRC is no longer selectable because it
         depends on the removed USB_MUSB_PERIPHERAL and USB_MUSB_OTG
         options
      
       - The Kconfig comment still says "Enable Host or Gadget support
         to see Inventra options", even though you now need to enable
         both of them to see Inventra options.
      
      Fix the dependency and drop the anyway unnecessary comment.
      Signed-off-by: NRabin Vincent <rabin@rab.in>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      b61ae342
  10. 02 7月, 2011 1 次提交
  11. 18 5月, 2011 1 次提交
  12. 13 5月, 2011 2 次提交
  13. 13 4月, 2011 1 次提交
    • F
      usb: musb: temporarily make it bool · 7a180e70
      Felipe Balbi 提交于
      Due to the recent changes to musb's glue layers,
      we can't compile musb-hdrc as a module - compilation
      will break due to undefined symbol musb_debug. In
      order to fix that, we need a big re-work of the
      debug support on the MUSB driver.
      
      Because that would mean a lot of new code coming
      into the -rc series, it's best to defer that to
      next merge window and for now just disable module
      support for MUSB.
      
      Once we get the refactor of the debugging support
      done, we can simply revert this patch and things
      will go back to normal again.
      
      Cc: stable@kernel.org # v2.6.38
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      7a180e70
  14. 10 12月, 2010 4 次提交
  15. 23 10月, 2010 2 次提交
  16. 21 5月, 2010 1 次提交
  17. 01 5月, 2010 1 次提交
  18. 16 2月, 2010 1 次提交
  19. 12 12月, 2009 2 次提交
  20. 13 10月, 2009 1 次提交
  21. 10 10月, 2009 1 次提交
  22. 08 8月, 2009 1 次提交
  23. 16 6月, 2009 1 次提交
    • D
      musb: proper hookup to transceiver drivers · 84e250ff
      David Brownell 提交于
      Let the otg_transceiver in MUSB be managed by an external driver;
      don't assume it's integrated.  OMAP3 chips need it to be external,
      and there may be ways to interact with the transceiver which add
      functionality to the system.
      
      Platform init code is responsible for setting up the transeciver,
      probably using the NOP transceiver for integrated transceivers.
      External ones will use whatever the board init code provided,
      such as twl4030 or something more hands-off.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      84e250ff
  24. 25 3月, 2009 1 次提交
  25. 28 1月, 2009 2 次提交
  26. 08 1月, 2009 1 次提交
  27. 18 10月, 2008 1 次提交
    • D
      usb: musb_hdrc build fixes · c767c1c6
      David Brownell 提交于
      Minor musb_hdrc updates:
      
        - so it'll build on DaVinci, given relevant platform updates;
            * remove support for an un-shipped OTG prototype
            * rely on gpiolib framework conversion for the I2C GPIOs
            * the <asm/arch/hdrc_cnf.h> mechanism has been removed
      
        - catch comments up to the recent removal of the per-SOC header
          with the silicon configuration data;
      
        - and remove two inappropriate "inline" declarations which
          just bloat host side code.
      
      There are still some more <asm/arch/XYZ.h> ==> <mach/XYZ.h>
      changes needed in this driver, catching up to the relocation
      of most of the include/asm-arm/arch-* contents.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NFelipe Balbi <felipe.balbi@nokia.com>
      Cc: stable <stable@kernel.org> [2.6.27]
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      c767c1c6
  28. 24 9月, 2008 1 次提交
    • A
      USB: drivers/usb/musb/: disable it on SuperH · 09fa14aa
      Andrew Morton 提交于
      In file included from drivers/usb/musb/musb_core.h:59,
                       from drivers/usb/musb/musb_core.c:108:
      drivers/usb/musb/musb_io.h:42: error: conflicting types for '__raw_readsl'
      /usr/src/devel/arch/sh/include/asm/io.h:112: error: previous declaration of '__raw_readsl' was here
      drivers/usb/musb/musb_io.h:42: error: conflicting types for '__raw_readsl'
      /usr/src/devel/arch/sh/include/asm/io.h:112: error: previous declaration of '__raw_readsl' was here
      drivers/usb/musb/musb_io.h:44: error: conflicting types for 'readsw'
      /usr/src/devel/arch/sh/include/asm/io.h:164: error: previous definition of 'readsw' was here
      drivers/usb/musb/musb_io.h:46: error: conflicting types for 'readsb'
      /usr/src/devel/arch/sh/include/asm/io.h:163: error: previous definition of 'readsb' was here
      drivers/usb/musb/musb_io.h:49: error: conflicting types for '__raw_writesl'
      /usr/src/devel/arch/sh/include/asm/io.h:111: error: previous declaration of '__raw_writesl' was here
      drivers/usb/musb/musb_io.h:49: error: conflicting types for '__raw_writesl'
      /usr/src/devel/arch/sh/include/asm/io.h:111: error: previous declaration of '__raw_writesl' was here
      drivers/usb/musb/musb_io.h:51: error: conflicting types for 'writesw'
      /usr/src/devel/arch/sh/include/asm/io.h:164: error: previous definition of 'writesw' was here
      drivers/usb/musb/musb_io.h:53: error: conflicting types for 'writesb'
      /usr/src/devel/arch/sh/include/asm/io.h:163: error: previous definition of 'writesb' was here
      
      Cc: Karsten Keil <kkeil@suse.de>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      09fa14aa
  29. 22 8月, 2008 1 次提交