1. 11 12月, 2010 3 次提交
  2. 01 12月, 2010 1 次提交
    • C
      USB: pxa: Add USB client support for Marvell PXA9xx/PXA168 chips · e7cddda4
      cxie4 提交于
      This patch add USB client support Marvell PXA9xx/PXA168 chips. The USB
      controller in PXA9xx/PXA168 is a High-Speed OTG controller. The available
      endpoints is different between PXA9xx and PXA168.
      
      NOTE:
      It is the first version of Marvell PXA9xx/PXA168 USB controller driver.
      The support for OTG mode will be added in later patch.
      PXA9xx and PXA168 has integrated UTMI PHY in the chips. The initialization
      for the PHY is a little different between PXA9xx and PXA168.
      Signed-off-by: NChao Xie <chao.xie@marvell.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      e7cddda4
  3. 17 11月, 2010 1 次提交
  4. 11 11月, 2010 1 次提交
  5. 23 10月, 2010 3 次提交
  6. 11 8月, 2010 3 次提交
  7. 05 6月, 2010 1 次提交
  8. 21 5月, 2010 5 次提交
    • R
      USB: fix functionfs for CONFIG_NET disabled · 17b2765e
      Randy Dunlap 提交于
      Fix functionfs build to handle CONFIG_NET not enabled, to prevent
      these build errors:
      
      ERROR: "netif_carrier_on" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "netif_carrier_off" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "skb_realloc_headroom" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "skb_trim" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "netif_rx" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "alloc_etherdev_mq" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "ethtool_op_get_link" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "free_netdev" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "register_netdev" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "skb_push" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "skb_pull" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "dev_kfree_skb_any" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "skb_queue_tail" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "__alloc_skb" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "eth_type_trans" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "eth_validate_addr" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "skb_dequeue" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "unregister_netdev" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "__netif_schedule" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "skb_put" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "eth_mac_addr" [drivers/usb/gadget/g_ffs.ko] undefined!
      ERROR: "dev_get_stats" [drivers/usb/gadget/g_ffs.ko] undefined!
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Acked-by: NMichał Nazarewicz <m.nazarewicz@samsung.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      17b2765e
    • M
      USB: g_ffs: the FunctionFS gadget driver · c6c56008
      Michal Nazarewicz 提交于
      The Function Filesystem (FunctioFS) lets one create USB
      composite functions in user space in the same way as GadgetFS
      lets one create USB gadgets in user space.  This allows
      creation of composite gadgets such that some of the functions
      are implemented in kernel space (for instance Ethernet, serial
      or mass storage) and other are implemented in user space.
      Signed-off-by: NMichal Nazarewicz <m.nazarewicz@samsung.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Marek Szyprowski <m.szyprowski@samsung.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      c6c56008
    • R
      USB: gadget webcam: depends on VIDEO_DEV · 24337c13
      Randy Dunlap 提交于
      g_webcam uses v4l[2] interfaces, so it should depend on VIDEO_DEV.
      
      ERROR: "v4l2_event_unsubscribe" [drivers/usb/gadget/g_webcam.ko] undefined!
      ERROR: "v4l2_event_queue" [drivers/usb/gadget/g_webcam.ko] undefined!
      ERROR: "video_device_release" [drivers/usb/gadget/g_webcam.ko] undefined!
      ERROR: "video_usercopy" [drivers/usb/gadget/g_webcam.ko] undefined!
      ERROR: "v4l2_event_dequeue" [drivers/usb/gadget/g_webcam.ko] undefined!
      ERROR: "video_register_device" [drivers/usb/gadget/g_webcam.ko] undefined!
      ERROR: "video_device_alloc" [drivers/usb/gadget/g_webcam.ko] undefined!
      ERROR: "v4l2_event_subscribe" [drivers/usb/gadget/g_webcam.ko] undefined!
      ERROR: "video_unregister_device" [drivers/usb/gadget/g_webcam.ko] ndefined!
      ERROR: "v4l2_event_pending" [drivers/usb/gadget/g_webcam.ko] undefined!
      ERROR: "v4l2_fh_init" [drivers/usb/gadget/g_webcam.ko] undefined!
      ERROR: "v4l2_event_init" [drivers/usb/gadget/g_webcam.ko] undefined!
      ERROR: "video_devdata" [drivers/usb/gadget/g_webcam.ko] undefined!
      ERROR: "v4l2_event_alloc" [drivers/usb/gadget/g_webcam.ko] undefined!
      ERROR: "v4l2_fh_add" [drivers/usb/gadget/g_webcam.ko] undefined!
      ERROR: "v4l2_fh_del" [drivers/usb/gadget/g_webcam.ko] undefined!
      ERROR: "v4l2_fh_exit" [drivers/usb/gadget/g_webcam.ko] undefined!
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      24337c13
    • L
      USB gadget: Webcam device · a9914127
      Laurent Pinchart 提交于
      This webcam gadget instantiates a UVC camera (360p and 720p resolutions
      in YUYV and MJPEG).
      Signed-off-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      a9914127
    • F
      USB: gadget: add HID gadget driver · 71adf118
      Fabien Chouteau 提交于
      g_hid is a USB gadget driver implementing the Human Interface Device class
      specification. The driver handles basic HID protocol handling in the
      kernel, and allows userspace to read/write HID reports trough /dev/hidgX
      character devices.
      Signed-off-by: NFabien Chouteau <fabien.chouteau@barco.com>
      Signed-off-by: NPeter Korsgaard <peter.korsgaard@barco.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      71adf118
  9. 19 3月, 2010 1 次提交
  10. 03 3月, 2010 1 次提交
  11. 12 12月, 2009 3 次提交
  12. 21 10月, 2009 1 次提交
    • R
      ARM: Fix lubbock defconfig build · 09963911
      Russell King 提交于
      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: NRussell King <rmk+kernel@arm.linux.org.uk>
      09963911
  13. 23 9月, 2009 3 次提交
  14. 20 8月, 2009 1 次提交
  15. 23 7月, 2009 1 次提交
    • M
      usb: m66592-udc platform data on_chip support · 2c59b0b7
      Magnus Damm 提交于
      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: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      2c59b0b7
  16. 13 7月, 2009 2 次提交
  17. 16 6月, 2009 5 次提交
    • X
      USB: Add Intel Langwell USB Device Controller driver · 5be19a9d
      Xiaochen Shen 提交于
      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.
      
      NOTE:
      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
      
      TODO:
       - 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: NXiaochen Shen <xiaochen.shen@intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      5be19a9d
    • B
      USB: gadget: add USB Audio Gadget driver · c6994e6f
      Bryan Wu 提交于
      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
      
      Todo:
       - 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: NBryan Wu <cooloney@kernel.org>
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      c6994e6f
    • B
      USB: Gadget driver for Samsung HS/OtG block · 5b7d70c6
      Ben Dooks 提交于
      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: NBen Dooks <ben@simtec.co.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      5b7d70c6
    • G
      USB: gadget: Add i.MX3x support to the fsl_usb2_udc driver · 54e4026b
      Guennadi Liakhovetski 提交于
      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: NGuennadi Liakhovetski <lg@denx.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      54e4026b
    • R
      USB: pxa27x_udc: compatibility with pxa320 SoC · 9f5351b7
      Robert Jarzmik 提交于
      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: NAric Blumer <aric@sdgsystems.com>
      Signed-off-by: NRobert Jarzmik <robert.jarzmik@free.fr>
      Acked-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      9f5351b7
  18. 30 3月, 2009 1 次提交
  19. 25 3月, 2009 1 次提交
  20. 28 2月, 2009 1 次提交
  21. 08 1月, 2009 1 次提交