1. 11 Dec, 2009 3 commits
  2. 21 Oct, 2009 1 commit
    • Russell King's avatar
      ARM: Fix lubbock defconfig build · 09963911
      Russell King authored
      drivers/built-in.o: In function `pxa25x_udc_probe':
      drivers/usb/gadget/pxa25x_udc.c:2195: undefined reference to `otg_get_transceiver'
      drivers/usb/gadget/pxa25x_udc.c:2300: undefined reference to `otg_put_transceiver'
      pxa25x_udc.c unconditionally uses these two functions, so we need to
      ensure that the object providing them is also built.
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
  3. 23 Sep, 2009 3 commits
  4. 20 Aug, 2009 1 commit
  5. 23 Jul, 2009 1 commit
    • Magnus Damm's avatar
      usb: m66592-udc platform data on_chip support · 2c59b0b7
      Magnus Damm authored
      Convert the m66592-udc driver to use the on_chip flag
      from platform data to enable on chip behaviour instead
      of relying on CONFIG_SUPERH_BUILT_IN_M66592 ugliness.
      This makes the code cleaner and also allows us to support
      both external and internal m66592 with the same kernel.
      It also makes the Kconfig part more future proof since
      we with this patch can add support for new processors
      with on-chip m66592 without modifying the Kconfig.
      The patch adds a m66592 header file for platform data
      and ties in platform data to the existing m66592 devices.
      Signed-off-by: default avatarMagnus Damm <damm@igel.co.jp>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
  6. 12 Jul, 2009 2 commits
  7. 16 Jun, 2009 5 commits
    • Xiaochen Shen's avatar
      USB: Add Intel Langwell USB Device Controller driver · 5be19a9d
      Xiaochen Shen authored
      Intel Langwell USB Device Controller is a High-Speed USB OTG device
      controller in Intel Moorestown platform. It can work in OTG device mode
      with Intel Langwell USB OTG transceiver driver as well as device-only
      mode. The number of programmable endpoints is different through
      controller revision.
      This patch is the first version Intel Langwell USB OTG device controller
      driver. The bug fixing is on going for some hardware and software
      issues.  Intel Langwell USB OTG transceiver driver and EHCI driver
      patches will be submitted later.
      Supported features:
       - USB OTG protocol support with Intel Langwell USB OTG transceiver
         driver (turn on CONFIG_USB_LANGWELL_OTG)
       - Support control, bulk, interrupt and isochronous endpoints
         (isochronous not tested)
       - PCI D0/D3 power management support
       - Link Power Management (LPM) support
      Tested gadget drivers:
       - g_file_storage
       - g_ether
       - g_zero
      The passed tests:
       - g_file_storage: USBCV Chapter 9 tests
       - g_file_storage: USBCV MSC tests
       - g_file_storage: from/to host files copying
       - g_ether: ping, ftp and scp files from/to host
       - Hotplug, with and without hubs
      Known issues:
       - g_ether: failed part of USBCV chap9 tests
       - LPM support not fully tested
       - g_ether: pass all USBCV chap9 tests
       - g_zero: pass usbtest tests
       - Stress tests on different gadget drivers
       - On-chip private SRAM caching support
      Signed-off-by: default avatarXiaochen Shen <xiaochen.shen@intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    • Bryan Wu's avatar
      USB: gadget: add USB Audio Gadget driver · c6994e6f
      Bryan Wu authored
      Funtions added:
       - setup all the USB audio class device descriptors
       - handle class specific setup request
       - receive data from USB host by ISO transfer
       - play audio data by ALSA sound card
       - open and setup playback PCM interface
       - set default playback PCM parameters
       - provide playback functions for USB audio driver
       - provide PCM parameters set/get functions
      Test on:
       - Host: Ubuntu 8.10, kernel 2.6.27
       - Gadget: EZKIT-BF548 with ASoC AD1980 codec
       - add real Mute control code
       - add real Volume control code
       - maybe find another way to replace dynamic buffer handling
         with static buffer allocation
       - test on Windows system
       - provide control interface to handle mute/volume control
       - provide capture interface in the future
       - test on BF527, other USB device controler and other audio codec
      Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
      Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    • Ben Dooks's avatar
      USB: Gadget driver for Samsung HS/OtG block · 5b7d70c6
      Ben Dooks authored
      Driver support for the new high-speed/OtG block that is
      in the newer line of Samsung SoC devices such as the
      S3C64XX series.
      This driver does not currntly have DMA support enabled due
      to issues with buffer alignment which need to be sorted out.
      Signed-off-by: default avatarBen Dooks <ben@simtec.co.uk>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    • Guennadi Liakhovetski's avatar
      USB: gadget: Add i.MX3x support to the fsl_usb2_udc driver · 54e4026b
      Guennadi Liakhovetski authored
      This patch adds support for i.MX3x (only tested with i.MX31 so far) ARM
      SoCs to the fsl_usb2_udc driver. It also moves PHY configuration before
      controller reset, because otherwise an ULPI PHY doesn't get a reset and
      doesn't function after a reboot. The problem with longer control transfers
      is still not fixed. The patch renames the fsl_usb2_udc.c file to
      fsl_udc_core.c to preserve the same module name for user-space
      backwards compatibility.
      Signed-off-by: default avatarGuennadi Liakhovetski <lg@denx.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    • Robert Jarzmik's avatar
      USB: pxa27x_udc: compatibility with pxa320 SoC · 9f5351b7
      Robert Jarzmik authored
      Got pxa27x_udc working on the pxa320 Nomad platform.  The
      problem was that the pxa3xx UDC is not quite compatible with
      the pxa27x UDC in how it handles back-to-back control
      packets.  The pxa27x probably drops them by default, but the
      pxa320 does not, and you have to detect it and set the OPC
      bit to clear the zero-length packet.
      Signed-off-by: default avatarAric Blumer <aric@sdgsystems.com>
      Signed-off-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
      Acked-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
  8. 30 Mar, 2009 1 commit
  9. 24 Mar, 2009 1 commit
  10. 27 Feb, 2009 1 commit
  11. 07 Jan, 2009 3 commits
  12. 17 Oct, 2008 5 commits
  13. 14 Aug, 2008 1 commit
  14. 21 Jul, 2008 2 commits
    • Randy Dunlap's avatar
      usb gadget: g_cdc dependso on NET · 4ddd9ec1
      Randy Dunlap authored
      g_cdc needs to depend on NET, otherwise net-related build errors happen:
      ERROR: "netif_carrier_on" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "netif_carrier_off" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "netif_rx" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "alloc_etherdev_mq" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "free_netdev" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "register_netdev" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "print_mac" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "dev_kfree_skb_any" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "__alloc_skb" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "eth_type_trans" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "unregister_netdev" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "__netif_schedule" [drivers/usb/gadget/g_cdc.ko] undefined!
      ERROR: "skb_put" [drivers/usb/gadget/g_cdc.ko] undefined!
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    • David Brownell's avatar
      usb gadget: new "CDC Composite" gadget driver · 19e20680
      David Brownell authored
      This is a simple example of a composite gadget, combining two
      Communications Class Device (CDC) functions:  ECM and ACM.
      This provides a clear example of how the composite gadget framework
      is intended to work.  It's surprising that MS-Windows (or at least,
      XP and previous) won't "just work" with something this simple...
      One /proc/bus/usb/devices listing looks like:
        T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 46 Spd=480 MxCh= 0
        D:  Ver= 2.00 Cls=02(comm.) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
        P:  Vendor=0525 ProdID=a4aa Rev= 3.01
        S:  Manufacturer=Linux 2.6.26-rc6-pnut with net2280
        S:  Product=CDC Composite Gadget
        C:* #Ifs= 4 Cfg#= 1 Atr=c0 MxPwr=  2mA
        I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether
        E:  Ad=83(I) Atr=03(Int.) MxPS=  16 Ivl=32ms
        I:  If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
        I:* If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
        E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
        E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
        I:* If#= 2 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm
        E:  Ad=86(I) Atr=03(Int.) MxPS=   8 Ivl=32ms
        I:* If#= 3 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
        E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
        E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      Not all USB peripheral controller hardware can support this driver.
      All the highspeed-capable peripheral controllers with drivers now in
      the mainline kernel seem to support this, as does omap_udc.  But
      many full speed controllers don't have enough endpoints, or (as with
      the PXA controllers) don't support altsettings.
      Lightly tested.
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
  15. 09 Jul, 2008 1 commit
  16. 02 Jun, 2008 1 commit
  17. 02 May, 2008 1 commit
  18. 25 Apr, 2008 1 commit
  19. 06 Apr, 2008 1 commit
  20. 10 Mar, 2008 1 commit
  21. 01 Feb, 2008 3 commits
  22. 26 Jan, 2008 1 commit