Commit 132d68d3 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull USB/PHY updates from Greg KH:
 "Here is the big set of USB and PHY driver patches for 5.2-rc1

  There is the usual set of:

   - USB gadget updates

   - PHY driver updates and additions

   - USB serial driver updates and fixes

   - typec updates and new chips supported

   - mtu3 driver updates

   - xhci driver updates

   - other tiny driver updates

  Nothing really interesting, just constant forward progress.

  All of these have been in linux-next for a while with no reported
  issues. The usb-gadget and usb-serial trees were merged a bit "late",
  but both of them had been in linux-next before they got merged here
  last Friday"

* tag 'usb-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (206 commits)
  USB: serial: f81232: implement break control
  USB: serial: f81232: add high baud rate support
  USB: serial: f81232: clear overrun flag
  USB: serial: f81232: fix interrupt worker not stop
  usb: dwc3: Rename DWC3_DCTL_LPM_ERRATA
  usb: dwc3: Fix default lpm_nyet_threshold value
  usb: dwc3: debug: Print GET_STATUS(device) tracepoint
  usb: dwc3: Do core validation early on probe
  usb: dwc3: gadget: Set lpm_capable
  usb: gadget: atmel: tie wake lock to running clock
  usb: gadget: atmel: support USB suspend
  usb: gadget: atmel_usba_udc: simplify setting of interrupt-enabled mask
  dwc2: gadget: Fix completed transfer size calculation in DDMA
  usb: dwc2: Set lpm mode parameters depend on HW configuration
  usb: dwc2: Fix channel disable flow
  usb: dwc2: Set actual frame number for completed ISOC transfer
  usb: gadget: do not use __constant_cpu_to_le16
  usb: dwc2: gadget: Increase descriptors count for ISOC's
  usb: introduce usb_ep_type_string() function
  usb: dwc3: move synchronize_irq() out of the spinlock protected block
  ...
parents 80f23212 3515468a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
What:		/sys/bus/i2c/drivers/ucsi_ccg/.../do_flash
Date:		May 2019
Contact:	Ajay Gupta <ajayg@nvidia.com>
Description:
		Tell the driver for Cypress CCGx Type-C controller to attempt
		firmware upgrade by writing [Yy1] to the file.
+27 −0
Original line number Diff line number Diff line
What:		Raise a uevent when a USB Host Controller has died
Date:		2019-04-17
KernelVersion:	5.2
Contact:	linux-usb@vger.kernel.org
Description:	When the USB Host Controller has entered a state where it is no
		longer functional a uevent will be raised. The uevent will
		contain ACTION=offline and ERROR=DEAD.

		Here is an example taken using udevadm monitor -p:

		KERNEL[130.428945] offline  /devices/pci0000:00/0000:00:10.0/usb2 (usb)
		ACTION=offline
		BUSNUM=002
		DEVNAME=/dev/bus/usb/002/001
		DEVNUM=001
		DEVPATH=/devices/pci0000:00/0000:00:10.0/usb2
		DEVTYPE=usb_device
		DRIVER=usb
		ERROR=DEAD
		MAJOR=189
		MINOR=128
		PRODUCT=1d6b/2/414
		SEQNUM=2168
		SUBSYSTEM=usb
		TYPE=9/0/1

Users:		chromium-os-dev@chromium.org
+32 −0
Original line number Diff line number Diff line
Broadcom Stingray USB PHY

Required properties:
 - compatible : should be one of the listed compatibles
	- "brcm,sr-usb-combo-phy" is combo PHY has two PHYs, one SS and one HS.
	- "brcm,sr-usb-hs-phy" is a single HS PHY.
 - reg: offset and length of the PHY blocks registers
 - #phy-cells:
   - Must be 1 for brcm,sr-usb-combo-phy as it expects one argument to indicate
     the PHY number of two PHYs. 0 for HS PHY and 1 for SS PHY.
   - Must be 0 for brcm,sr-usb-hs-phy.

Refer to phy/phy-bindings.txt for the generic PHY binding properties

Example:
	usbphy0: usb-phy@0 {
		compatible = "brcm,sr-usb-combo-phy";
		reg = <0x00000000 0x100>;
		#phy-cells = <1>;
	};

	usbphy1: usb-phy@10000 {
		compatible = "brcm,sr-usb-combo-phy";
		reg = <0x00010000 0x100>,
		#phy-cells = <1>;
	};

	usbphy2: usb-phy@20000 {
		compatible = "brcm,sr-usb-hs-phy";
		reg = <0x00020000 0x100>,
		#phy-cells = <0>;
	};
+3 −0
Original line number Diff line number Diff line
@@ -7,6 +7,9 @@ Required properties:
- clocks:	phandles to the clocks for each clock listed in clock-names
- clock-names:	must contain "phy"

Optional properties:
- vbus-supply: A phandle to the regulator for USB VBUS.

Example:
	usb3_phy0: phy@381f0040 {
		compatible = "fsl,imx8mq-usb-phy";
+22 −0
Original line number Diff line number Diff line
* Amlogic G12A USB2 PHY binding

Required properties:
- compatible:	Should be "amlogic,meson-g12a-usb2-phy"
- reg:		The base address and length of the registers
- #phys-cells:	must be 0 (see phy-bindings.txt in this directory)
- clocks:	a phandle to the clock of this PHY
- clock-names:	must be "xtal"
- resets:	a phandle to the reset line of this PHY
- reset-names:	must be "phy"
- phy-supply:	see phy-bindings.txt in this directory

Example:
	usb2_phy0: phy@36000 {
		compatible = "amlogic,g12a-usb2-phy";
		reg = <0x0 0x36000 0x0 0x2000>;
		clocks = <&xtal>;
		clock-names = "xtal";
		resets = <&reset RESET_USB_PHY21>;
		reset-names = "phy";
		#phy-cells = <0>;
	};
Loading