Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec513b16 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull USB updates from Greg KH:
 "Here's the big USB pull request for 3.14-rc1

  Lots of little things all over the place, and the usual USB gadget
  updates, and XHCI fixes (some for an issue reported by a lot of
  people).  USB PHY updates as well as chipidea updates and fixes.

  All of these have been in the linux-next tree with no reported issues"

* tag 'usb-3.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (318 commits)
  usb: chipidea: udc: using MultO at TD as real mult value for ISO-TX
  usb: chipidea: need to mask INT_STATUS when write otgsc
  usb: chipidea: put hw_phymode_configure before ci_usb_phy_init
  usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag
  usb: chipidea: imx: set CI_HDRC_IMX28_WRITE_FIX for imx28
  usb: chipidea: add freescale imx28 special write register method
  usb: ehci: add freescale imx28 special write register method
  usb: core: check for valid id_table when using the RefId feature
  usb: cdc-wdm: resp_count can be 0 even if WDM_READ is set
  usb: core: bail out if user gives an unknown RefId when using new_id
  usb: core: allow a reference device for new_id
  usb: core: add sanity checks when using bInterfaceClass with new_id
  USB: image: correct spelling mistake in comment
  USB: c67x00: correct spelling mistakes in comments
  usb: delete non-required instances of include <linux/init.h>
  usb:hub set hub->change_bits when over-current happens
  Revert "usb: chipidea: imx: set CI_HDRC_IMX28_WRITE_FIX for imx28"
  xhci: Set scatter-gather limit to avoid failed block writes.
  xhci: Avoid infinite loop when sg urb requires too many trbs
  usb: gadget: remove unused variable in gr_queue_int()
  ...
parents bcee6348 2fc5a7da
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
What:		/config/usb-gadget/gadget/functions/ffs.name
Date:		Nov 2013
KenelVersion:	3.13
Description:	The purpose of this directory is to create and remove it.

		A corresponding USB function instance is created/removed.
		There are no attributes here.

		All parameters are set through FunctionFS.
+8 −0
Original line number Diff line number Diff line
What:		/config/usb-gadget/gadget/functions/Loopback.name
Date:		Nov 2013
KenelVersion:	3.13
Description:
		The attributes:

		qlen		- depth of loopback queue
		bulk_buflen	- buffer length
+12 −0
Original line number Diff line number Diff line
What:		/config/usb-gadget/gadget/functions/SourceSink.name
Date:		Nov 2013
KenelVersion:	3.13
Description:
		The attributes:

		pattern		- 0 (all zeros), 1 (mod63), 2 (none)
		isoc_interval	- 1..16
		isoc_maxpacket	- 0 - 1023 (fs), 0 - 1024 (hs/ss)
		isoc_mult	- 0..2 (hs/ss only)
		isoc_maxburst	- 0..15 (ss only)
		qlen		- buffer length
+8 −2
Original line number Diff line number Diff line
@@ -50,13 +50,19 @@ Description:
		This may allow the driver to support more hardware than
		was included in the driver's static device ID support
		table at compile time. The format for the device ID is:
		idVendor idProduct bInterfaceClass.
		idVendor idProduct bInterfaceClass RefIdVendor RefIdProduct
		The vendor ID and device ID fields are required, the
		interface class is optional.
		rest is optional. The Ref* tuple can be used to tell the
		driver to use the same driver_data for the new device as
		it is used for the reference device.
		Upon successfully adding an ID, the driver will probe
		for the device and attempt to bind to it.  For example:
		# echo "8086 10f5" > /sys/bus/usb/drivers/foo/new_id

		Here add a new device (0458:7045) using driver_data from
		an already supported device (0458:704c):
		# echo "0458 7045 0 0458 704c" > /sys/bus/usb/drivers/foo/new_id

		Reading from this file will list all dynamically added
		device IDs in the same format, with one entry per
		line. For example:
+16 −0
Original line number Diff line number Diff line
What:		/sys/bus/platform/devices/tahvo-usb/otg_mode
Date:		December 2013
Contact:	Aaro Koskinen <aaro.koskinen@iki.fi>
Description:
		Set or read the current OTG mode. Valid values are "host" and
		"peripheral".

		Reading: returns the current mode.

What:		/sys/bus/platform/devices/tahvo-usb/vbus
Date:		December 2013
Contact:	Aaro Koskinen <aaro.koskinen@iki.fi>
Description:
		Read the current VBUS state.

		Reading: returns "on" or "off".
Loading