Commit 56cbceab authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull USB / Thunderbolt driver updates from Greg KH:
 "Here is the big set of USB and Thunderbolt driver updates for 6.5-rc1.

  Included in here are:

   - Lots of USB4/Thunderbolt additions and updates for new hardware
     types and fixes as people are starting to get access to the
     hardware in the wild

   - new gadget controller driver, cdns2, added

   - new typec drivers added

   - xhci driver updates

   - typec driver updates

   - usbip driver fixes

   - usb-serial driver updates and fixes

   - lots of smaller USB driver updates

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

* tag 'usb-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (265 commits)
  usb: host: xhci-plat: Set XHCI_STATE_REMOVING before resuming XHCI HC
  usb: host: xhci: Do not re-initialize the XHCI HC if being removed
  usb: typec: nb7vpq904m: fix CONFIG_DRM dependency
  usbip: usbip_host: Replace strlcpy with strscpy
  usb: dwc3: gadget: Propagate core init errors to UDC during pullup
  USB: serial: option: add LARA-R6 01B PIDs
  usb: ulpi: Make container_of() no-op in to_ulpi_dev()
  usb: gadget: legacy: fix error return code in gfs_bind
  usb: typec: fsa4480: add support for Audio Accessory Mode
  usb: typec: fsa4480: rework mux & switch setup to handle more states
  usb: typec: ucsi: call typec_set_mode on non-altmode partner change
  USB: gadget: f_hid: make hidg_class a static const structure
  USB: gadget: f_printer: make usb_gadget_class a static const structure
  USB: mon: make mon_bin_class a static const structure
  USB: gadget: udc: core: make udc_class a static const structure
  USB: roles: make role_class a static const structure
  dt-bindings: usb: dwc3: Add interrupt-names property support for wakeup interrupt
  dt-bindings: usb: Add StarFive JH7110 USB controller
  dt-bindings: usb: dwc3: Add IPQ9574 compatible
  usb: cdns2: Fix spelling mistake in a trace message "Wakupe" -> "Wakeup"
  ...
parents 868a9fd9 18af4b5c
Loading
Loading
Loading
Loading
+10 −0
Original line number Original line Diff line number Diff line
@@ -292,6 +292,16 @@ Description:
		which is marked with early_stop has failed to initialize, it will ignore
		which is marked with early_stop has failed to initialize, it will ignore
		all future connections until this attribute is clear.
		all future connections until this attribute is clear.


What:		/sys/bus/usb/devices/.../<hub_interface>/port<X>/state
Date:		June 2023
Contact:	Roy Luo <royluo@google.com>
Description:
		Indicates current state of the USB device attached to the port.
		Valid states are: 'not-attached', 'attached', 'powered',
		'reconnecting', 'unauthenticated', 'default', 'addressed',
		'configured', and 'suspended'. This file supports poll() to
		monitor the state change from user space.

What:		/sys/bus/usb/devices/.../power/usb2_lpm_l1_timeout
What:		/sys/bus/usb/devices/.../power/usb2_lpm_l1_timeout
Date:		May 2013
Date:		May 2013
Contact:	Mathias Nyman <mathias.nyman@linux.intel.com>
Contact:	Mathias Nyman <mathias.nyman@linux.intel.com>
+1 −1
Original line number Original line Diff line number Diff line
What:		/sys/bus/platform/drivers/eud/.../enable
What:		/sys/bus/platform/drivers/qcom_eud/.../enable
Date:           February 2022
Date:           February 2022
Contact:        Souradeep Chowdhury <quic_schowdhu@quicinc.com>
Contact:        Souradeep Chowdhury <quic_schowdhu@quicinc.com>
Description:
Description:
+6 −0
Original line number Original line Diff line number Diff line
@@ -61,6 +61,10 @@ properties:
  power-domains:
  power-domains:
    maxItems: 1
    maxItems: 1


  orientation-switch:
    description: Flag the port as possible handler of orientation switching
    type: boolean

  resets:
  resets:
    items:
    items:
      - description: reset of phy block.
      - description: reset of phy block.
@@ -251,6 +255,8 @@ examples:
        vdda-phy-supply = <&vdda_usb2_ss_1p2>;
        vdda-phy-supply = <&vdda_usb2_ss_1p2>;
        vdda-pll-supply = <&vdda_usb2_ss_core>;
        vdda-pll-supply = <&vdda_usb2_ss_core>;


        orientation-switch;

        usb3-phy@200 {
        usb3-phy@200 {
            reg = <0x200 0x128>,
            reg = <0x200 0x128>,
                  <0x400 0x200>,
                  <0x400 0x200>,
+9 −1
Original line number Original line Diff line number Diff line
@@ -14,6 +14,9 @@ description: |
  regulator will be enabled in situations where the device is required to
  regulator will be enabled in situations where the device is required to
  provide power to the connected peripheral.
  provide power to the connected peripheral.


allOf:
  - $ref: regulator.yaml#

properties:
properties:
  compatible:
  compatible:
    enum:
    enum:
@@ -25,8 +28,11 @@ properties:


required:
required:
  - compatible
  - compatible
  - reg
  - regulator-min-microamp
  - regulator-max-microamp


additionalProperties: false
unevaluatedProperties: false


examples:
examples:
  - |
  - |
@@ -36,6 +42,8 @@ examples:
        pm8150b_vbus: usb-vbus-regulator@1100 {
        pm8150b_vbus: usb-vbus-regulator@1100 {
            compatible = "qcom,pm8150b-vbus-reg";
            compatible = "qcom,pm8150b-vbus-reg";
            reg = <0x1100>;
            reg = <0x1100>;
            regulator-min-microamp = <500000>;
            regulator-max-microamp = <3000000>;
        };
        };
     };
     };
...
...
+0 −55
Original line number Original line Diff line number Diff line
--------------------------------------------------------------------------
 =  Zynq UltraScale+ MPSoC and Versal reset driver binding =
--------------------------------------------------------------------------
The Zynq UltraScale+ MPSoC and Versal has several different resets.

See Chapter 36 of the Zynq UltraScale+ MPSoC TRM (UG) for more information
about zynqmp resets.

Please also refer to reset.txt in this directory for common reset
controller binding usage.

Required Properties:
- compatible:	"xlnx,zynqmp-reset" for Zynq UltraScale+ MPSoC platform
		"xlnx,versal-reset" for Versal platform
- #reset-cells:	Specifies the number of cells needed to encode reset
		line, should be 1

-------
Example
-------

firmware {
	zynqmp_firmware: zynqmp-firmware {
		compatible = "xlnx,zynqmp-firmware";
		method = "smc";

		zynqmp_reset: reset-controller {
			compatible = "xlnx,zynqmp-reset";
			#reset-cells = <1>;
		};
	};
};

Specifying reset lines connected to IP modules
==============================================

Device nodes that need access to reset lines should
specify them as a reset phandle in their corresponding node as
specified in reset.txt.

For list of all valid reset indices for Zynq UltraScale+ MPSoC see
<dt-bindings/reset/xlnx-zynqmp-resets.h>
For list of all valid reset indices for Versal see
<dt-bindings/reset/xlnx-versal-resets.h>

Example:

serdes: zynqmp_phy@fd400000 {
	...

	resets = <&zynqmp_reset ZYNQMP_RESET_SATA>;
	reset-names = "sata_rst";

	...
};
Loading