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

Commit 9703fc8c authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull USB/PHY updates from Greg KH:
 "Here is the big USB/PHY driver patches for 4.20-rc1

  Lots of USB changes in here, primarily in these areas:

   - typec updates and new drivers

   - new PHY drivers

   - dwc2 driver updates and additions (this old core keeps getting
     added to new devices.)

   - usbtmc major update based on the industry group coming together and
     working to add new features and performance to the driver.

   - USB gadget additions for new features

   - USB gadget configfs updates

   - chipidea driver updates

   - other USB gadget updates

   - USB serial driver updates

   - renesas driver updates

   - xhci driver updates

   - other tiny USB driver updates

  All of these have been in linux-next for a while with no reported
  issues"

* tag 'usb-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (229 commits)
  usb: phy: ab8500: silence some uninitialized variable warnings
  usb: xhci: tegra: Add genpd support
  usb: xhci: tegra: Power-off power-domains on removal
  usbip:vudc: BUG kmalloc-2048 (Not tainted): Poison overwritten
  usbip: tools: fix atoi() on non-null terminated string
  USB: misc: appledisplay: fix backlight update_status return code
  phy: phy-pxa-usb: add a new driver
  usb: host: add DT bindings for faraday fotg2
  usb: host: ohci-at91: fix request of irq for optional gpio
  usb/early: remove set but not used variable 'remain_length'
  usb: typec: Fix copy/paste on typec_set_vconn_role() kerneldoc
  usb: typec: tcpm: Report back negotiated PPS voltage and current
  USB: core: remove set but not used variable 'udev'
  usb: core: fix memory leak on port_dev_path allocation
  USB: net2280: Remove ->disconnect() callback from net2280_pullup()
  usb: dwc2: disable power_down on rockchip devices
  usb: gadget: udc: renesas_usb3: add support for r8a77990
  dt-bindings: usb: renesas_usb3: add bindings for r8a77990
  usb: gadget: udc: renesas_usb3: Add r8a774a1 support
  USB: serial: cypress_m8: remove set but not used variable 'iflag'
  ...
parents da19a102 b8d9ee24
Loading
Loading
Loading
Loading
+0 −35
Original line number Diff line number Diff line
@@ -25,38 +25,3 @@ Description:
		4.2.2.

		The files are read only.


What:		/sys/bus/usb/drivers/usbtmc/*/TermChar
Date:		August 2008
Contact:	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Description:
		This file is the TermChar value to be sent to the USB TMC
		device as described by the document, "Universal Serial Bus Test
		and Measurement Class Specification
		(USBTMC) Revision 1.0" as published by the USB-IF.

		Note that the TermCharEnabled file determines if this value is
		sent to the device or not.


What:		/sys/bus/usb/drivers/usbtmc/*/TermCharEnabled
Date:		August 2008
Contact:	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Description:
		This file determines if the TermChar is to be sent to the
		device on every transaction or not.  For more details about
		this, please see the document, "Universal Serial Bus Test and
		Measurement Class Specification (USBTMC) Revision 1.0" as
		published by the USB-IF.


What:		/sys/bus/usb/drivers/usbtmc/*/auto_abort
Date:		August 2008
Contact:	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Description:
		This file determines if the transaction of the USB TMC
		device is to be automatically aborted if there is any error.
		For more details about this, please see the document,
		"Universal Serial Bus Test and Measurement Class Specification
		(USBTMC) Revision 1.0" as published by the USB-IF.
+24 −0
Original line number Diff line number Diff line
@@ -12,6 +12,10 @@ Date: Dec 2014
KernelVersion:	4.0
Description:	Control descriptors

		All attributes read only:
		bInterfaceNumber	- USB interface number for this
					  streaming interface

What:		/config/usb-gadget/gadget/functions/uvc.name/control/class
Date:		Dec 2014
KernelVersion:	4.0
@@ -109,6 +113,10 @@ Date: Dec 2014
KernelVersion:	4.0
Description:	Streaming descriptors

		All attributes read only:
		bInterfaceNumber	- USB interface number for this
					  streaming interface

What:		/config/usb-gadget/gadget/functions/uvc.name/streaming/class
Date:		Dec 2014
KernelVersion:	4.0
@@ -160,6 +168,10 @@ Description: Specific MJPEG format descriptors

		All attributes read only,
		except bmaControls and bDefaultFrameIndex:
		bFormatIndex		- unique id for this format descriptor;
					only defined after parent header is
					linked into the streaming class;
					read-only
		bmaControls		- this format's data for bmaControls in
					the streaming header
		bmInterfaceFlags	- specifies interlace information,
@@ -177,6 +189,10 @@ Date: Dec 2014
KernelVersion:	4.0
Description:	Specific MJPEG frame descriptors

		bFrameIndex		- unique id for this framedescriptor;
					only defined after parent format is
					linked into the streaming header;
					read-only
		dwFrameInterval		- indicates how frame interval can be
					programmed; a number of values
					separated by newline can be specified
@@ -204,6 +220,10 @@ Date: Dec 2014
KernelVersion:	4.0
Description:	Specific uncompressed format descriptors

		bFormatIndex		- unique id for this format descriptor;
					only defined after parent header is
					linked into the streaming class;
					read-only
		bmaControls		- this format's data for bmaControls in
					the streaming header
		bmInterfaceFlags	- specifies interlace information,
@@ -224,6 +244,10 @@ Date: Dec 2014
KernelVersion:	4.0
Description:	Specific uncompressed frame descriptors

		bFrameIndex		- unique id for this framedescriptor;
					only defined after parent format is
					linked into the streaming header;
					read-only
		dwFrameInterval		- indicates how frame interval can be
					programmed; a number of values
					separated by newline can be specified
+18 −1
Original line number Diff line number Diff line
@@ -189,6 +189,16 @@ Description:
		The file will read "hotplug", "wired" and "not used" if the
		information is available, and "unknown" otherwise.

What:		/sys/bus/usb/devices/.../(hub interface)/portX/location
Date:		October 2018
Contact:	Bjørn Mork <bjorn@mork.no>
Description:
		Some platforms provide usb port physical location through
		firmware. This is used by the kernel to pair up logical ports
		mapping to the same physical connector. The attribute exposes the
		raw location value as a hex integer.


What:		/sys/bus/usb/devices/.../(hub interface)/portX/quirks
Date:		May 2018
Contact:	Nicolas Boichat <drinkcat@chromium.org>
@@ -219,7 +229,14 @@ Description:
		ports and report them to the kernel. This attribute is to expose
		the number of over-current situation occurred on a specific port
		to user space. This file will contain an unsigned 32 bit value
		which wraps to 0 after its maximum is reached.
		which wraps to 0 after its maximum is reached. This file supports
		poll() for monitoring changes to this value in user space.

		Any time this value changes the corresponding hub device will send a
		udev event with the following attributes:

		OVER_CURRENT_PORT=/sys/bus/usb/devices/.../(hub interface)/portX
		OVER_CURRENT_COUNT=[current value of this sysfs attribute]

What:		/sys/bus/usb/devices/.../(hub interface)/portX/usb3_lpm_permit
Date:		November 2015
+2 −1
Original line number Diff line number Diff line
@@ -4623,7 +4623,8 @@

	usbcore.old_scheme_first=
			[USB] Start with the old device initialization
			scheme (default 0 = off).
			scheme,  applies only to low and full-speed devices
			 (default 0 = off).

	usbcore.usbfs_memory_mb=
			[USB] Memory limit (in MB) for buffers allocated by
+4 −4
Original line number Diff line number Diff line
@@ -29,15 +29,15 @@ Required properties for usb-c-connector with power delivery support:
  in "Universal Serial Bus Power Delivery Specification" chapter 6.4.1.2
  Source_Capabilities Message, the order of each entry(PDO) should follow
  the PD spec chapter 6.4.1. Required for power source and power dual role.
  User can specify the source PDO array via PDO_FIXED/BATT/VAR() defined in
  dt-bindings/usb/pd.h.
  User can specify the source PDO array via PDO_FIXED/BATT/VAR/PPS_APDO()
  defined in dt-bindings/usb/pd.h.
- sink-pdos: An array of u32 with each entry providing supported power
  sink data object(PDO), the detailed bit definitions of PDO can be found
  in "Universal Serial Bus Power Delivery Specification" chapter 6.4.1.3
  Sink Capabilities Message, the order of each entry(PDO) should follow
  the PD spec chapter 6.4.1. Required for power sink and power dual role.
  User can specify the sink PDO array via PDO_FIXED/BATT/VAR() defined in
  dt-bindings/usb/pd.h.
  User can specify the sink PDO array via PDO_FIXED/BATT/VAR/PPS_APDO() defined
  in dt-bindings/usb/pd.h.
- op-sink-microwatt: Sink required operating power in microwatt, if source
  can't offer the power, Capability Mismatch is set. Required for power
  sink and power dual role.
Loading