Commit 4965ddb1 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull USB/Thunderbolt updates from Greg KH:
 "Here is the large set of USB and Thunderbolt changes for 6.12-rc1.

  Nothing "major" in here, except for a new 9p network gadget that has
  been worked on for a long time (all of the needed acks are here)

  Other than that, it's the usual set of:

   - Thunderbolt / USB4 driver updates and additions for new hardware

   - dwc3 driver updates and new features added

   - xhci driver updates

   - typec driver updates

   - USB gadget updates and api additions to make some gadgets more
     configurable by userspace

   - dwc2 driver updates

   - usb phy driver updates

   - usbip feature additions

   - other minor USB driver updates

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

* tag 'usb-6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (145 commits)
  sub: cdns3: Use predefined PCI vendor ID constant
  sub: cdns2: Use predefined PCI vendor ID constant
  USB: misc: yurex: fix race between read and write
  USB: misc: cypress_cy7c63: check for short transfer
  USB: appledisplay: close race between probe and completion handler
  USB: class: CDC-ACM: fix race between get_serial and set_serial
  usb: r8a66597-hcd: make read-only const arrays static
  usb: typec: ucsi: Fix busy loop on ASUS VivoBooks
  usb: dwc3: rtk: Clean up error code in __get_dwc3_maximum_speed()
  usb: storage: ene_ub6250: Fix right shift warnings
  usb: roles: Improve the fix for a false positive recursive locking complaint
  locking/mutex: Introduce mutex_init_with_key()
  locking/mutex: Define mutex_init() once
  net/9p/usbg: fix CONFIG_USB_GADGET dependency
  usb: xhci: fix loss of data on Cadence xHC
  usb: xHCI: add XHCI_RESET_ON_RESUME quirk for Phytium xHCI host
  usb: dwc3: imx8mp: disable SS_CON and U3 wakeup for system sleep
  usb: dwc3: imx8mp: add 2 software managed quirk properties for host mode
  usb: host: xhci-plat: Parse xhci-missing_cas_quirk and apply quirk
  usb: misc: onboard_usb_dev: add Microchip usb5744 SMBus programming support
  ...
parents 13882369 68d42091
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -6,3 +6,10 @@ Description:
		This item contains just one readonly attribute: port_num.
		It contains the port number of the /dev/ttyGS<n> device
		associated with acm function's instance "name".

What:		/config/usb-gadget/gadget/functions/acm.name/protocol
Date:		Aug 2024
KernelVersion:	6.13
Description:
		Reported bInterfaceProtocol for the ACM device. For legacy
		reasons, this defaults to 1 (USB_CDC_ACM_PROTO_AT_V25TER).
+8 −0
Original line number Diff line number Diff line
@@ -30,4 +30,12 @@ Description:
		req_number		the number of pre-allocated requests
					for both capture and playback
		function_name		name of the interface
		p_it_name		playback input terminal name
		p_it_ch_name		playback channels name
		p_ot_name		playback output terminal name
		p_fu_vol_name		playback mute/volume functional unit name
		c_it_name		capture input terminal name
		c_it_ch_name		capture channels name
		c_ot_name		capture output terminal name
		c_fu_vol_name		capture mute/volume functional unit name
		=====================	=======================================
+11 −0
Original line number Diff line number Diff line
@@ -35,6 +35,17 @@ Description:
		req_number		the number of pre-allocated requests
					for both capture and playback
		function_name		name of the interface
		if_ctrl_name		topology control name
		clksrc_in_name		input clock name
		clksrc_out_name		output clock name
		p_it_name		playback input terminal name
		p_it_ch_name		playback input first channel name
		p_ot_name		playback output terminal name
		p_fu_vol_name		playback mute/volume function unit name
		c_it_name		capture input terminal name
		c_it_ch_name		capture input first channel name
		c_ot_name		capture output terminal name
		c_fu_vol_name		capture mute/volume functional unit name
		c_terminal_type		code of the capture terminal type
		p_terminal_type		code of the playback terminal type
		=====================	=======================================
+17 −0
Original line number Diff line number Diff line
@@ -87,6 +87,12 @@ properties:
    maximum: 119
    default: 100

  nxp,sim:
    description:
      The system integration module (SIM) provides system control and chip
      configuration registers.
    $ref: /schemas/types.yaml#/definitions/phandle

required:
  - compatible
  - reg
@@ -110,6 +116,17 @@ allOf:
      required:
        - fsl,anatop

  - if:
      properties:
        compatible:
          const: fsl,imx7ulp-usbphy
    then:
      required:
        - nxp,sim
    else:
      properties:
        nxp,sim: false

additionalProperties: false

examples:
+52 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/usb/fsl,ls1028a.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale layerscape SuperSpeed DWC3 USB SoC controller

maintainers:
  - Frank Li <Frank.Li@nxp.com>

select:
  properties:
    compatible:
      contains:
        enum:
          - fsl,ls1028a-dwc3
  required:
    - compatible

properties:
  compatible:
    items:
      - enum:
          - fsl,ls1028a-dwc3
      - const: snps,dwc3

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

unevaluatedProperties: false

required:
  - compatible
  - reg
  - interrupts

allOf:
  - $ref: snps,dwc3.yaml#

examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>

    usb@fe800000 {
        compatible = "fsl,ls1028a-dwc3", "snps,dwc3";
        reg = <0xfe800000 0x100000>;
        interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
    };
Loading