Commit 58bcac11 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull USB and Thunderbolt driver updates from Greg KH:
 "Here is the large set of USB and Thunderbolt driver changes for
  6.2-rc1. Overall, thanks to the removal of a driver, more lines were
  removed than added, a nice change. Highlights include:

   - removal of the sisusbvga driver that was not used by anyone anymore

   - minor thunderbolt driver changes and tweaks

   - chipidea driver updates

   - usual set of typec driver features and hardware support added

   - musb minor driver fixes

   - fotg210 driver fixes, bringing that hardware back from the "dead"

   - minor dwc3 driver updates

   - addition, and then removal, of a list.h helper function for many
     USB and other subsystem drivers, that ended up breaking the build.
     That will come back for 6.3-rc1, it missed this merge window.

   - usual xhci updates and enhancements

   - usb-serial driver updates and support for new devices

   - other minor USB driver updates

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

* tag 'usb-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (153 commits)
  usb: gadget: uvc: Rename bmInterfaceFlags -> bmInterlaceFlags
  usb: dwc2: power on/off phy for peripheral mode in dual-role mode
  usb: dwc2: disable lpm feature on Rockchip SoCs
  dt-bindings: usb: mtk-xhci: add support for mt7986
  usb: dwc3: core: defer probe on ulpi_read_id timeout
  usb: ulpi: defer ulpi_register on ulpi_read_id timeout
  usb: misc: onboard_usb_hub: add Genesys Logic GL850G hub support
  dt-bindings: usb: Add binding for Genesys Logic GL850G hub controller
  dt-bindings: vendor-prefixes: add Genesys Logic
  usb: fotg210-udc: fix potential memory leak in fotg210_udc_probe()
  usb: typec: tipd: Set mode of operation for USB Type-C connector
  usb: gadget: udc: drop obsolete dependencies on COMPILE_TEST
  usb: musb: remove extra check in musb_gadget_vbus_draw
  usb: gadget: uvc: Prevent buffer overflow in setup handler
  usb: dwc3: qcom: Fix memory leak in dwc3_qcom_interconnect_init
  usb: typec: wusb3801: fix fwnode refcount leak in wusb3801_probe()
  usb: storage: Add check for kcalloc
  USB: sisusbvga: use module_usb_driver()
  USB: sisusbvga: rename sisusb.c to sisusbvga.c
  USB: sisusbvga: remove console support
  ...
parents 84e57d29 81c25247
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -197,7 +197,7 @@ Description: Specific MJPEG format descriptors
					read-only
		bmaControls		this format's data for bmaControls in
					the streaming header
		bmInterfaceFlags	specifies interlace information,
		bmInterlaceFlags	specifies interlace information,
					read-only
		bAspectRatioY		the X dimension of the picture aspect
					ratio, read-only
@@ -253,7 +253,7 @@ Description: Specific uncompressed format descriptors
					read-only
		bmaControls		this format's data for bmaControls in
					the streaming header
		bmInterfaceFlags	specifies interlace information,
		bmInterlaceFlags	specifies interlace information,
					read-only
		bAspectRatioY		the X dimension of the picture aspect
					ratio, read-only
+11 −0
Original line number Diff line number Diff line
@@ -264,6 +264,17 @@ Description:
		attached to the port will not be detected, initialized,
		or enumerated.

What:		/sys/bus/usb/devices/.../<hub_interface>/port<X>/early_stop
Date:		Sep 2022
Contact:	Ray Chi <raychi@google.com>
Description:
		Some USB hosts have some watchdog mechanisms so that the device
		may enter ramdump if it takes a long time during port initialization.
		This attribute allows each port just has two attempts so that the
		port initialization will be failed quickly. In addition, if a port
		which is marked with early_stop has failed to initialize, it will ignore
		all future connections until this attribute is clear.

What:		/sys/bus/usb/devices/.../power/usb2_lpm_l1_timeout
Date:		May 2013
Contact:	Mathias Nyman <mathias.nyman@linux.intel.com>
+3 −0
Original line number Diff line number Diff line
@@ -28,6 +28,9 @@ properties:
    items:
      - const: phy

  power-domains:
    maxItems: 1

  vbus-supply:
    description:
      A phandle to the regulator for USB VBUS.
+3 −0
Original line number Diff line number Diff line
@@ -43,7 +43,10 @@ properties:
          - const: rockchip,rk3066-usb
          - const: snps,dwc2
      - const: lantiq,arx100-usb
      - const: lantiq,ase-usb
      - const: lantiq,danube-usb
      - const: lantiq,xrx200-usb
      - const: lantiq,xrx300-usb
      - items:
          - enum:
              - amlogic,meson8-usb
+48 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/usb/genesys,gl850g.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Genesys Logic GL850G USB 2.0 hub controller

maintainers:
  - Icenowy Zheng <uwu@icenowy.me>

allOf:
  - $ref: usb-device.yaml#

properties:
  compatible:
    enum:
      - usb5e3,608

  reg: true

  reset-gpios:
    description: GPIO controlling the RESET# pin.

  vdd-supply:
    description:
      the regulator that provides 3.3V core power to the hub.

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>
    usb {
        dr_mode = "host";
        #address-cells = <1>;
        #size-cells = <0>;

        hub: hub@1 {
            compatible = "usb5e3,608";
            reg = <1>;
            reset-gpios = <&pio 7 2 GPIO_ACTIVE_LOW>;
        };
    };
Loading