1. 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
  2. 09 7月, 2011 1 次提交
  3. 05 7月, 2011 1 次提交
  4. 02 7月, 2011 3 次提交
    • F
      usb: gadget: allow multiple gadgets to be built · 193ab2a6
      Felipe Balbi 提交于
      now that we have the udc class, we can allow
      multiple gadget controller drivers to be
      compiled as modules. This will allow for
      distro-like kernels for embedded devices.
      
      With this patch, I managed to build an x86
      kernel with support for many of the controllers
      enabled:
      
      CONFIG_USB_FUSB300=m
      CONFIG_USB_R8A66597=m
      CONFIG_USB_M66592=m
      CONFIG_USB_AMD5536UDC=m
      CONFIG_USB_CI13XXX_PCI=m
      CONFIG_USB_NET2272=m
      CONFIG_USB_NET2280=m
      CONFIG_USB_GOKU=m
      CONFIG_USB_LANGWELL=m
      CONFIG_USB_EG20T=m
      
      Also an ARM kernel with support for many controllers:
      
      CONFIG_USB_FUSB300=m
      CONFIG_USB_OMAP=m
      CONFIG_USB_R8A66597=m
      CONFIG_USB_GADGET_MUSB_HDRC=m
      CONFIG_USB_M66592=m
      CONFIG_USB_NET2272=m
      CONFIG_USB_DUMMY_HCD=m
      
      The next step would be to get rid of the
      direct access to arch/ and mach/ directories
      on some gadget controllers so that we can
      build all of them without depending on their
      respective ARCH_* symbols.
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      193ab2a6
    • T
      usb: gadget: dummy_hcd: add SuperSpeed support · 1cd8fd28
      Tatyana Brokhman 提交于
      This patch adds SS support to the dummy hcd module.
      It may be used to test SS device when no (SS) HW is
      available.
      
      USB 3.0 hub includes 2 hubs - one HS and one SS. This
      patch adds support for a SS root hub in the dummy_hcd
      module.
      
      A new module parameter was added: is_super_speed. When
      set to true, a SS root hub will also be registered and
      the connected device will be enumerated over the SS
      root hub. The default of this parameter is false.
      Signed-off-by: NTatyana Brokhman <tlinder@codeaurora.org>
      
      [ balbi@ti.com : slight change to commit log
      		 fixed one coding style issue ]
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      1cd8fd28
    • T
      usb: gadget: add SuperSpeed support to the Gadget Framework · bdb64d72
      Tatyana Brokhman 提交于
      SuperSpeed USB has defined a new descriptor, called
      the Binary Device Object Store (BOS) Descriptor. It
      has also changed a bit the definition of SET_FEATURE
      and GET_STATUS requests to add USB3-specific details.
      
      This patch implements both changes to the Composite
      Gadget Framework.
      
      [ balbi@ti.com : slight changes to commit log
      		 fixed a compile error on ARM ]
      Signed-off-by: NTatyana Brokhman <tlinder@codeaurora.org>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      bdb64d72
  5. 16 6月, 2011 1 次提交
  6. 08 6月, 2011 1 次提交
  7. 07 6月, 2011 1 次提交
  8. 11 5月, 2011 1 次提交
  9. 14 4月, 2011 1 次提交
  10. 08 3月, 2011 1 次提交
  11. 05 2月, 2011 1 次提交
    • P
      USB: Fix trout build failure with ci13xxx_msm gadget · 8cf28f1f
      Pavankumar Kondeti 提交于
      This patch fixes the below compilation errors.
      
        CC      drivers/usb/gadget/ci13xxx_msm.o
        CC      net/mac80211/led.o
        drivers/usb/gadget/ci13xxx_msm.c: In function 'ci13xxx_msm_notify_event':
        drivers/usb/gadget/ci13xxx_msm.c:42: error: 'USB_AHBBURST' undeclared (first use in this function)
        drivers/usb/gadget/ci13xxx_msm.c:42: error: (Each undeclared identifier is reported only once
        drivers/usb/gadget/ci13xxx_msm.c:42: error: for each function it appears in.)
        drivers/usb/gadget/ci13xxx_msm.c:43: error: 'USB_AHBMODE' undeclared (first use in this function)
      make[4]: *** [drivers/usb/gadget/ci13xxx_msm.o] Error 1
      make[3]: *** [drivers/usb/gadget] Error 2
      
      MSM USB driver is not supported on boards like trout (MSM7201) which
      has an external PHY.
      Signed-off-by: NPavankumar Kondeti <pkondeti@codeaurora.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      8cf28f1f
  12. 25 1月, 2011 1 次提交
  13. 23 1月, 2011 2 次提交
  14. 11 12月, 2010 3 次提交
  15. 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
  16. 17 11月, 2010 1 次提交
  17. 11 11月, 2010 1 次提交
  18. 23 10月, 2010 3 次提交
  19. 11 8月, 2010 3 次提交
  20. 05 6月, 2010 1 次提交
  21. 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
  22. 19 3月, 2010 1 次提交
  23. 03 3月, 2010 1 次提交
  24. 12 12月, 2009 3 次提交
  25. 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