Commit 59274c71 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull USB updates from Greg KH:
 "Here is the big set of USB patches for 5.5-rc1

  Lots of little things in here:
   - typec updates and additions
   - usb-serial drivers cleanups and fixes
   - misc USB drivers cleanups and fixes
   - gadget drivers new features and controllers added
   - usual xhci additions
   - other minor changes

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

* tag 'usb-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (223 commits)
  usb: gadget: udc: gr_udc: create debugfs directory under usb root
  usb: gadget: atmel: create debugfs directory under usb root
  usb: musb: create debugfs directory under usb root
  usb: serial: Fix Kconfig indentation
  usb: misc: Fix Kconfig indentation
  usb: gadget: Fix Kconfig indentation
  usb: host: Fix Kconfig indentation
  usb: dwc3: Fix Kconfig indentation
  usb: gadget: configfs: Fix missing spin_lock_init()
  usb-storage: Disable UAS on JMicron SATA enclosure
  USB: documentation: flags on usb-storage versus UAS
  USB: uas: heed CAPACITY_HEURISTICS
  USB: uas: honor flag to avoid CAPACITY16
  usb: host: xhci-tegra: Correct phy enable sequence
  usb-serial: cp201x: support Mark-10 digital force gauge
  usb: chipidea: imx: pinctrl for HSIC is optional
  usb: chipidea: imx: refine the error handling for hsic
  usb: chipidea: imx: change hsic power regulator as optional
  usb: chipidea: imx: check data->usbmisc_data against NULL before access
  usb: chipidea: core: change vbus-regulator as optional
  ...
parents d7688697 91a9f2d3
Loading
Loading
Loading
Loading
+12 −10
Original line number Diff line number Diff line
@@ -5114,13 +5114,13 @@
			Flags is a set of characters, each corresponding
			to a common usb-storage quirk flag as follows:
				a = SANE_SENSE (collect more than 18 bytes
					of sense data);
					of sense data, not on uas);
				b = BAD_SENSE (don't collect more than 18
					bytes of sense data);
					bytes of sense data, not on uas);
				c = FIX_CAPACITY (decrease the reported
					device capacity by one sector);
				d = NO_READ_DISC_INFO (don't use
					READ_DISC_INFO command);
					READ_DISC_INFO command, not on uas);
				e = NO_READ_CAPACITY_16 (don't use
					READ_CAPACITY_16 command);
				f = NO_REPORT_OPCODES (don't use report opcodes
@@ -5135,17 +5135,18 @@
				j = NO_REPORT_LUNS (don't use report luns
					command, uas only);
				l = NOT_LOCKABLE (don't try to lock and
					unlock ejectable media);
					unlock ejectable media, not on uas);
				m = MAX_SECTORS_64 (don't transfer more
					than 64 sectors = 32 KB at a time);
					than 64 sectors = 32 KB at a time,
					not on uas);
				n = INITIAL_READ10 (force a retry of the
					initial READ(10) command);
					initial READ(10) command, not on uas);
				o = CAPACITY_OK (accept the capacity
					reported by the device);
					reported by the device, not on uas);
				p = WRITE_CACHE (the device cache is ON
					by default);
					by default, not on uas);
				r = IGNORE_RESIDUE (the device reports
					bogus residue values);
					bogus residue values, not on uas);
				s = SINGLE_LUN (the device has only one
					Logical Unit);
				t = NO_ATA_1X (don't allow ATA(12) and ATA(16)
@@ -5154,7 +5155,8 @@
				w = NO_WP_DETECT (don't test whether the
					medium is write-protected).
				y = ALWAYS_SYNC (issue a SYNCHRONIZE_CACHE
					even if the device claims no cache)
					even if the device claims no cache,
					not on uas)
			Example: quirks=0419:aaf5:rl,0421:0433:rc

	user_debug=	[KNL,ARM]
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ Required Properties:
	  - "renesas,r8a7745-usb-dmac" (RZ/G1E)
	  - "renesas,r8a77470-usb-dmac" (RZ/G1C)
	  - "renesas,r8a774a1-usb-dmac" (RZ/G2M)
	  - "renesas,r8a774b1-usb-dmac" (RZ/G2N)
	  - "renesas,r8a774c0-usb-dmac" (RZ/G2E)
	  - "renesas,r8a7790-usb-dmac" (R-Car H2)
	  - "renesas,r8a7791-usb-dmac" (R-Car M2-W)
+2 −0
Original line number Diff line number Diff line
@@ -10,6 +10,8 @@ Required properties:
	      SoC.
	      "renesas,usb2-phy-r8a774a1" if the device is a part of an R8A774A1
	      SoC.
	      "renesas,usb2-phy-r8a774b1" if the device is a part of an R8A774B1
	      SoC.
	      "renesas,usb2-phy-r8a774c0" if the device is a part of an R8A774C0
	      SoC.
	      "renesas,usb2-phy-r8a7795" if the device is a part of an R8A7795
+2 −0
Original line number Diff line number Diff line
@@ -8,6 +8,8 @@ need this driver.

Required properties:
- compatible: "renesas,r8a774a1-usb3-phy" if the device is a part of an R8A774A1
	      SoC.
	      "renesas,r8a774b1-usb3-phy" if the device is a part of an R8A774B1
	      SoC.
	      "renesas,r8a7795-usb3-phy" if the device is a part of an R8A7795
	      SoC.
+0 −41
Original line number Diff line number Diff line
Renesas Electronics USB3.0 Peripheral driver

Required properties:
  - compatible: Must contain one of the following:
	- "renesas,r8a774a1-usb3-peri"
	- "renesas,r8a774c0-usb3-peri"
	- "renesas,r8a7795-usb3-peri"
	- "renesas,r8a7796-usb3-peri"
	- "renesas,r8a77965-usb3-peri"
	- "renesas,r8a77990-usb3-peri"
	- "renesas,rcar-gen3-usb3-peri" for a generic R-Car Gen3 or RZ/G2
	  compatible device

    When compatible with the generic version, nodes must list the
    SoC-specific version corresponding to the platform first
    followed by the generic version.

  - reg: Base address and length of the register for the USB3.0 Peripheral
  - interrupts: Interrupt specifier for the USB3.0 Peripheral
  - clocks: clock phandle and specifier pair

Optional properties:
  - phys: phandle + phy specifier pair
  - phy-names: must be "usb"

Example of R-Car H3 ES1.x:
	usb3_peri0: usb@ee020000 {
		compatible = "renesas,r8a7795-usb3-peri",
			     "renesas,rcar-gen3-usb3-peri";
		reg = <0 0xee020000 0 0x400>;
		interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
		clocks = <&cpg CPG_MOD 328>;
	};

	usb3_peri1: usb@ee060000 {
		compatible = "renesas,r8a7795-usb3-peri",
			     "renesas,rcar-gen3-usb3-peri";
		reg = <0 0xee060000 0 0x400>;
		interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
		clocks = <&cpg CPG_MOD 327>;
	};
Loading