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. 22 6月, 2012 1 次提交
  3. 04 6月, 2012 1 次提交
    • T
      ARM: OMAP: Make FS USB omap1 only · b924b204
      Tony Lindgren 提交于
      As the FS USB code is not being actively used for omap2+
      there's no point keeping it around for omap2+.
      
      Let's make the FS USB platform init code omap1 only so
      we can remove the last user of omap_read/write for omap2+,
      and simplify things for further USB, DMA, and device tree
      related work.
      
      While at it, also group the mach includes for the related
      drivers.
      
      Cc: linux-usb@vger.kernel.org
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Acked-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      b924b204
  4. 12 5月, 2012 2 次提交
  5. 10 5月, 2012 3 次提交
  6. 04 5月, 2012 1 次提交
  7. 02 5月, 2012 1 次提交
  8. 16 3月, 2012 1 次提交
  9. 14 3月, 2012 1 次提交
  10. 12 3月, 2012 1 次提交
  11. 03 3月, 2012 1 次提交
    • K
      ARM: S3C24XX: change the ARCH_S3C2410 to ARCH_S3C24XX · b130d5c2
      Kukjin Kim 提交于
      This patch changes the ARCH name to "ARCH_S3C24XX" for Samsung
      S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443,
      and S3C2450 SoCs so that we can merge the mach-xxx directories
      and plat-s3c24xx dir. to just one mach-s3c24xx for them.
      
      I think this should be sent to upstream via samsung tree because
      this touches many samsung stuff.
      
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: Richard Purdie <rpurdie@rpsys.net>
      Cc: Chris Ball <cjb@laptop.org>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      [for the gadget part:]
      Acked-by: NFelipe Balbi <balbi@ti.com>
      [for the framebuffer (video) part:]
      Acked-by: NFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
      [For the watchdog-part:]
      Acked-by: NWim Van Sebroeck <wim@iguana.be>
      Cc: Sangbeom Kim <sbkim73@samsung.com>
      Cc: Liam Girdwood <lrg@ti.com>
      Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NKukjin Kim <kgene.kim@samsung.com>
      b130d5c2
  12. 15 2月, 2012 1 次提交
    • J
      usb: gadget: Add Audio Class 2.0 Driver · 132fcb46
      Jassi Brar 提交于
      This is a flexible USB Audio Class 2.0 compliant gadget driver that
      implements a simple topology with a virtual sound card exposed at
      the function side.
      
      The driver doesn't expect any real audio codec to be present on the
      function - the audio streams are simply sinked to and sourced from a
      virtual ALSA sound card created. The user-space application may choose
      to do whatever it wants with the data received from the USB Host and
      choose to provide whatever it wants as audio data to the USB Host.
      
      Capture(USB-Out) and Playback(USB-In) can be run at independent
      configurations specified via module parameters while loading the driver.
      
      Make this new version as the default selection by a new Kconfig choice.
      Signed-off-by: NYadi Brar <yadi.brar01@gmail.com>
      Signed-off-by: NJassi Brar <jaswinder.singh@linaro.org>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      132fcb46
  13. 03 2月, 2012 1 次提交
  14. 21 12月, 2011 1 次提交
  15. 20 12月, 2011 1 次提交
  16. 12 12月, 2011 2 次提交
  17. 19 11月, 2011 1 次提交
  18. 16 11月, 2011 1 次提交
  19. 14 11月, 2011 1 次提交
  20. 14 10月, 2011 1 次提交
  21. 09 9月, 2011 1 次提交
    • P
      usb: gadget: storage: make FSG_NUM_BUFFERS variable size · 6532c7fd
      Per Forlin 提交于
      FSG_NUM_BUFFERS is set to 2 as default.
      Usually 2 buffers are enough to establish a good buffering pipeline.
      The number may be increased in order to compensate a for bursty VFS
      behaviour.
      
      Here follows a description of system that may require more than
      2 buffers.
       * CPU ondemand governor active
       * latency cost for wake up and/or frequency change
       * DMA for IO
      
      Use case description.
       * Data transfer from MMC via VFS to USB.
       * DMA shuffles data from MMC and to USB.
       * The CPU wakes up every now and then to pass data in and out from VFS,
         which cause the bursty VFS behaviour.
      
      Test set up
       * Running dd on the host reading from the mass storage device
       * cmdline: dd if=/dev/sdb of=/dev/null bs=4k count=$((256*100))
       * Caches are dropped on the host and on the device before each run
      
      Measurements on a Snowball board with ondemand_governor active.
      
      FSG_NUM_BUFFERS 2
      104857600 bytes (105 MB) copied, 5.62173 s, 18.7 MB/s
      104857600 bytes (105 MB) copied, 5.61811 s, 18.7 MB/s
      104857600 bytes (105 MB) copied, 5.57817 s, 18.8 MB/s
      
      FSG_NUM_BUFFERS 4
      104857600 bytes (105 MB) copied, 5.26839 s, 19.9 MB/s
      104857600 bytes (105 MB) copied, 5.2691 s, 19.9 MB/s
      104857600 bytes (105 MB) copied, 5.2711 s, 19.9 MB/s
      
      There may not be one optimal number for all boards. This is why
      the number is added to Kconfig. If selecting USB_GADGET_DEBUG_FILES
      this value may be set by a module parameter as well.
      Signed-off-by: NPer Forlin <per.forlin@linaro.org>
      Acked-by: NMichal Nazarewicz <mina86@mina86.com>
      Acked-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      6532c7fd
  22. 25 8月, 2011 1 次提交
  23. 23 8月, 2011 1 次提交
    • F
      usb: Introduce DesignWare USB3 DRD Driver · 72246da4
      Felipe Balbi 提交于
      The DesignWare USB3 is a highly
      configurable IP Core which can be
      instantiated as Dual-Role Device (DRD),
      Peripheral Only and Host Only (XHCI)
      configurations.
      
      Several other parameters can be configured
      like amount of FIFO space, amount of TX and
      RX endpoints, amount of Host Interrupters,
      etc.
      
      The current driver has been validated with
      a virtual model of version 1.73a of that core
      and with an FPGA burned with version 1.83a
      of the DRD core. We have support for PCIe
      bus, which is used on FPGA prototyping, and
      for the OMAP5, more adaptation (or glue)
      layers can be easily added and the driver
      is half prepared to handle any possible
      configuration the HW engineer has chosen
      considering we have the information on
      one of the GHWPARAMS registers to do
      runtime checking of certain features.
      
      More runtime checks can, and should, be added
      in order to make this driver even more flexible
      with regards to number of endpoints, FIFO sizes,
      transfer types, etc.
      
      While this supports only the device side, for
      now, we will add support for Host side (xHCI -
      see the updated series Sebastian has sent [1])
      and OTG after we have it all stabilized.
      
      [1] http://marc.info/?l=linux-usb&m=131341992020339&w=2Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      72246da4
  24. 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
  25. 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
  26. 09 7月, 2011 1 次提交
  27. 05 7月, 2011 1 次提交
  28. 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
  29. 16 6月, 2011 1 次提交
  30. 08 6月, 2011 1 次提交
  31. 07 6月, 2011 1 次提交
  32. 11 5月, 2011 1 次提交
  33. 14 4月, 2011 1 次提交
  34. 08 3月, 2011 1 次提交