mirror of
https://github.com/armbian/linux-cix.git
synced 2026-01-06 12:30:45 -08:00
Merge tag 'usb-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
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
...
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -28,6 +28,9 @@ properties:
|
||||
items:
|
||||
- const: phy
|
||||
|
||||
power-domains:
|
||||
maxItems: 1
|
||||
|
||||
vbus-supply:
|
||||
description:
|
||||
A phandle to the regulator for USB VBUS.
|
||||
|
||||
@@ -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
Documentation/devicetree/bindings/usb/genesys,gl850g.yaml
Normal file
48
Documentation/devicetree/bindings/usb/genesys,gl850g.yaml
Normal file
@@ -0,0 +1,48 @@
|
||||
# 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>;
|
||||
};
|
||||
};
|
||||
@@ -28,6 +28,7 @@ properties:
|
||||
- mediatek,mt7622-xhci
|
||||
- mediatek,mt7623-xhci
|
||||
- mediatek,mt7629-xhci
|
||||
- mediatek,mt7986-xhci
|
||||
- mediatek,mt8173-xhci
|
||||
- mediatek,mt8183-xhci
|
||||
- mediatek,mt8186-xhci
|
||||
|
||||
@@ -24,6 +24,7 @@ properties:
|
||||
- mediatek,mt2712-mtu3
|
||||
- mediatek,mt8173-mtu3
|
||||
- mediatek,mt8183-mtu3
|
||||
- mediatek,mt8186-mtu3
|
||||
- mediatek,mt8188-mtu3
|
||||
- mediatek,mt8192-mtu3
|
||||
- mediatek,mt8195-mtu3
|
||||
|
||||
@@ -39,6 +39,7 @@ properties:
|
||||
- qcom,sm8250-dwc3
|
||||
- qcom,sm8350-dwc3
|
||||
- qcom,sm8450-dwc3
|
||||
- qcom,sm8550-dwc3
|
||||
- const: qcom,dwc3
|
||||
|
||||
reg:
|
||||
@@ -301,6 +302,7 @@ allOf:
|
||||
- qcom,sm8150-dwc3
|
||||
- qcom,sm8250-dwc3
|
||||
- qcom,sm8450-dwc3
|
||||
- qcom,sm8550-dwc3
|
||||
then:
|
||||
properties:
|
||||
clocks:
|
||||
@@ -358,6 +360,7 @@ allOf:
|
||||
- qcom,sm8250-dwc3
|
||||
- qcom,sm8350-dwc3
|
||||
- qcom,sm8450-dwc3
|
||||
- qcom,sm8550-dwc3
|
||||
then:
|
||||
properties:
|
||||
interrupts:
|
||||
|
||||
@@ -27,6 +27,7 @@ properties:
|
||||
should default to OTG.
|
||||
$ref: /schemas/types.yaml#/definitions/string
|
||||
enum: [host, peripheral, otg]
|
||||
default: otg
|
||||
|
||||
hnp-disable:
|
||||
description:
|
||||
|
||||
@@ -39,6 +39,11 @@ properties:
|
||||
the VBus line.
|
||||
$ref: /schemas/types.yaml#/definitions/phandle
|
||||
|
||||
wakeup-source:
|
||||
description:
|
||||
Specify if the USB phy can detect the remote wakeup signal
|
||||
while the system sleep.
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- '#phy-cells'
|
||||
|
||||
@@ -1,89 +0,0 @@
|
||||
Microchip USB 2.0 Hi-Speed Hub Controller
|
||||
|
||||
The device node for the configuration of a Microchip USB251x/xBi USB 2.0
|
||||
Hi-Speed Controller.
|
||||
|
||||
Required properties :
|
||||
- compatible : Should be "microchip,usb251xb" or one of the specific types:
|
||||
"microchip,usb2512b", "microchip,usb2512bi", "microchip,usb2513b",
|
||||
"microchip,usb2513bi", "microchip,usb2514b", "microchip,usb2514bi",
|
||||
"microchip,usb2517", "microchip,usb2517i", "microchip,usb2422"
|
||||
- reg : I2C address on the selected bus (default is <0x2C>)
|
||||
|
||||
Optional properties :
|
||||
- reset-gpios : Should specify the gpio for hub reset
|
||||
- vdd-supply : Should specify the phandle to the regulator supplying vdd
|
||||
- skip-config : Skip Hub configuration, but only send the USB-Attach command
|
||||
- vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424)
|
||||
- product-id : Set USB Product ID of the hub (16 bit, default depends on type)
|
||||
- device-id : Set USB Device ID of the hub (16 bit, default is 0x0bb3)
|
||||
- language-id : Set USB Language ID (16 bit, default is 0x0000)
|
||||
- manufacturer : Set USB Manufacturer string (max 31 characters long)
|
||||
- product : Set USB Product string (max 31 characters long)
|
||||
- serial : Set USB Serial string (max 31 characters long)
|
||||
- {bus,self}-powered : selects between self- and bus-powered operation
|
||||
(boolean, default is self-powered)
|
||||
- disable-hi-speed : disable USB Hi-Speed support (boolean)
|
||||
- {multi,single}-tt : selects between multi- and single-transaction-translator
|
||||
(boolean, default is multi-tt)
|
||||
- disable-eop : disable End of Packet generation in full-speed mode (boolean)
|
||||
- {ganged,individual}-sensing : select over-current sense type in self-powered
|
||||
mode (boolean, default is individual)
|
||||
- {ganged,individual}-port-switching : select port power switching mode
|
||||
(boolean, default is individual)
|
||||
- dynamic-power-switching : enable auto-switching from self- to bus-powered
|
||||
operation if the local power source is removed or unavailable (boolean)
|
||||
- oc-delay-us : Delay time (in microseconds) for filtering the over-current
|
||||
sense inputs. Valid values are 100, 4000, 8000 (default) and 16000. If
|
||||
an invalid value is given, the default is used instead.
|
||||
- compound-device : indicate the hub is part of a compound device (boolean)
|
||||
- port-mapping-mode : enable port mapping mode (boolean)
|
||||
- led-{usb,speed}-mode : led usb/speed indication mode selection
|
||||
(boolean, default is speed mode)
|
||||
- string-support : enable string descriptor support (required for manufacturer,
|
||||
product and serial string configuration)
|
||||
- non-removable-ports : Should specify the ports which have a non-removable
|
||||
device connected.
|
||||
- sp-disabled-ports : Specifies the ports which will be self-power disabled
|
||||
- bp-disabled-ports : Specifies the ports which will be bus-power disabled
|
||||
- sp-max-total-current-microamp: Specifies max current consumed by the hub
|
||||
from VBUS when operating in self-powered hub. It includes the hub
|
||||
silicon along with all associated circuitry including a permanently
|
||||
attached peripheral (range: 0 - 100000 uA, default 1000 uA)
|
||||
- bp-max-total-current-microamp: Specifies max current consumed by the hub
|
||||
from VBUS when operating in self-powered hub. It includes the hub
|
||||
silicon along with all associated circuitry including a permanently
|
||||
attached peripheral (range: 0 - 510000 uA, default 100000 uA)
|
||||
- sp-max-removable-current-microamp: Specifies max current consumed by the hub
|
||||
from VBUS when operating in self-powered hub. It includes the hub
|
||||
silicon along with all associated circuitry excluding a permanently
|
||||
attached peripheral (range: 0 - 100000 uA, default 1000 uA)
|
||||
- bp-max-removable-current-microamp: Specifies max current consumed by the hub
|
||||
from VBUS when operating in self-powered hub. It includes the hub
|
||||
silicon along with all associated circuitry excluding a permanently
|
||||
attached peripheral (range: 0 - 510000 uA, default 100000 uA)
|
||||
- power-on-time-ms : Specifies the time it takes from the time the host
|
||||
initiates the power-on sequence to a port until the port has adequate
|
||||
power. The value is given in ms in a 0 - 510 range (default is 100ms).
|
||||
- swap-dx-lanes : Specifies the ports which will swap the differential-pair
|
||||
(D+/D-), default is not-swapped.
|
||||
|
||||
Examples:
|
||||
usb2512b@2c {
|
||||
compatible = "microchip,usb2512b";
|
||||
reg = <0x2c>;
|
||||
reset-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
usb2514b@2c {
|
||||
compatible = "microchip,usb2514b";
|
||||
reg = <0x2c>;
|
||||
vendor-id = /bits/ 16 <0x0000>;
|
||||
product-id = /bits/ 16 <0x0000>;
|
||||
string-support;
|
||||
manufacturer = "Foo";
|
||||
product = "Foo-Bar";
|
||||
serial = "1234567890A";
|
||||
/* correct misplaced usb connectors on port 1,2 */
|
||||
swap-dx-lanes = <1 2>;
|
||||
};
|
||||
271
Documentation/devicetree/bindings/usb/usb251xb.yaml
Normal file
271
Documentation/devicetree/bindings/usb/usb251xb.yaml
Normal file
@@ -0,0 +1,271 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/usb/usb251xb.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: Microchip USB 2.0 Hi-Speed Hub Controller
|
||||
|
||||
maintainers:
|
||||
- Richard Leitner <richard.leitner@skidata.com>
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
enum:
|
||||
- microchip,usb2422
|
||||
- microchip,usb2512b
|
||||
- microchip,usb2512bi
|
||||
- microchip,usb2513b
|
||||
- microchip,usb2513bi
|
||||
- microchip,usb2514b
|
||||
- microchip,usb2514bi
|
||||
- microchip,usb2517
|
||||
- microchip,usb2517i
|
||||
- microchip,usb251xb
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
reset-gpios:
|
||||
description: |
|
||||
Should specify the gpio for hub reset
|
||||
|
||||
vdd-supply:
|
||||
description: |
|
||||
Should specify the phandle to the regulator supplying vdd
|
||||
|
||||
skip-config:
|
||||
$ref: /schemas/types.yaml#/definitions/flag
|
||||
description: |
|
||||
Skip Hub configuration, but only send the USB-Attach command
|
||||
|
||||
vendor-id:
|
||||
$ref: /schemas/types.yaml#/definitions/uint16
|
||||
default: 0x0424
|
||||
description: |
|
||||
Set USB Vendor ID of the hub
|
||||
|
||||
product-id:
|
||||
$ref: /schemas/types.yaml#/definitions/uint16
|
||||
description: |
|
||||
Set USB Product ID of the hub
|
||||
|
||||
device-id:
|
||||
$ref: /schemas/types.yaml#/definitions/uint16
|
||||
default: 0x0bb3
|
||||
description: |
|
||||
Set USB Device ID of the hub
|
||||
|
||||
language-id:
|
||||
$ref: /schemas/types.yaml#/definitions/uint16
|
||||
default: 0x0000
|
||||
description: |
|
||||
Set USB Language ID
|
||||
|
||||
manufacturer:
|
||||
$ref: /schemas/types.yaml#/definitions/string
|
||||
description: |
|
||||
Set USB Manufacturer string (max 31 characters long)
|
||||
|
||||
product:
|
||||
$ref: /schemas/types.yaml#/definitions/string
|
||||
description: |
|
||||
Set USB Product string (max 31 characters long)
|
||||
|
||||
serial:
|
||||
$ref: /schemas/types.yaml#/definitions/string
|
||||
description: |
|
||||
Set USB Serial string (max 31 characters long)
|
||||
|
||||
bus-powered:
|
||||
$ref: /schemas/types.yaml#/definitions/flag
|
||||
description: |
|
||||
selects between self- and bus-powered operation
|
||||
(boolean, default is self-powered)
|
||||
|
||||
self-powered:
|
||||
$ref: /schemas/types.yaml#/definitions/flag
|
||||
description: |
|
||||
selects between self- and bus-powered operation
|
||||
(boolean, default is self-powered)
|
||||
|
||||
disable-hi-speed:
|
||||
$ref: /schemas/types.yaml#/definitions/flag
|
||||
description: |
|
||||
disable USB Hi-Speed support (boolean)
|
||||
|
||||
multi-tt:
|
||||
$ref: /schemas/types.yaml#/definitions/flag
|
||||
description: |
|
||||
selects between multi- and single-transaction-translator
|
||||
(boolean, default is multi-tt)
|
||||
|
||||
single-tt:
|
||||
$ref: /schemas/types.yaml#/definitions/flag
|
||||
description: |
|
||||
selects between multi- and single-transaction-translator
|
||||
(boolean, default is multi-tt)
|
||||
|
||||
disable-eop:
|
||||
$ref: /schemas/types.yaml#/definitions/flag
|
||||
description: |
|
||||
disable End of Packet generation in full-speed mode (boolean)
|
||||
|
||||
ganged-sensing:
|
||||
$ref: /schemas/types.yaml#/definitions/flag
|
||||
description: |
|
||||
select over-current sense type in self-powered mode
|
||||
(boolean, default is individual)
|
||||
|
||||
individual-sensing:
|
||||
$ref: /schemas/types.yaml#/definitions/flag
|
||||
description: |
|
||||
select over-current sense type in self-powered mode
|
||||
(boolean, default is individual)
|
||||
|
||||
ganged-port-switching:
|
||||
$ref: /schemas/types.yaml#/definitions/flag
|
||||
description: |
|
||||
select port power switching mode (boolean, default is individual)
|
||||
|
||||
individual-port-switching:
|
||||
$ref: /schemas/types.yaml#/definitions/flag
|
||||
description: |
|
||||
select port power switching mode (boolean, default is individual)
|
||||
|
||||
dynamic-power-switching:
|
||||
$ref: /schemas/types.yaml#/definitions/flag
|
||||
description: |
|
||||
enable auto-switching from self- to bus-powered operation if the
|
||||
local power source is removed or unavailable (boolean)
|
||||
|
||||
oc-delay-us:
|
||||
enum: [100, 4000, 8000, 16000]
|
||||
default: 8000
|
||||
description: |
|
||||
Delay time (in microseconds) for filtering the over-current sense
|
||||
inputs. If an invalid value is given, the default is used instead.
|
||||
|
||||
compound-device:
|
||||
$ref: /schemas/types.yaml#/definitions/flag
|
||||
description: |
|
||||
indicate the hub is part of a compound device (boolean)
|
||||
|
||||
port-mapping-mode:
|
||||
$ref: /schemas/types.yaml#/definitions/flag
|
||||
description: |
|
||||
enable port mapping mode (boolean)
|
||||
|
||||
led-usb-mode:
|
||||
$ref: /schemas/types.yaml#/definitions/flag
|
||||
description: |
|
||||
led usb/speed indication mode selection (boolean, default is speed mode)
|
||||
|
||||
led-speed-mode:
|
||||
$ref: /schemas/types.yaml#/definitions/flag
|
||||
description: |
|
||||
led usb/speed indication mode selection (boolean, default is speed mode)
|
||||
|
||||
string-support:
|
||||
$ref: /schemas/types.yaml#/definitions/flag
|
||||
description: |
|
||||
enable string descriptor support (required for manufacturer, product
|
||||
and serial string configuration)
|
||||
|
||||
non-removable-ports:
|
||||
$ref: /schemas/types.yaml#/definitions/uint8-array
|
||||
description: |
|
||||
Should specify the ports which have a non-removable device connected.
|
||||
|
||||
sp-disabled-ports:
|
||||
$ref: /schemas/types.yaml#/definitions/uint8-array
|
||||
description: |
|
||||
Specifies the ports which will be self-power disabled
|
||||
|
||||
bp-disabled-ports:
|
||||
$ref: /schemas/types.yaml#/definitions/uint8-array
|
||||
description: |
|
||||
Specifies the ports which will be bus-power disabled
|
||||
|
||||
sp-max-total-current-microamp:
|
||||
maximum: 100000
|
||||
default: 1000
|
||||
description: |
|
||||
Specifies max current consumed by the hub from VBUS when
|
||||
operating in self-powered hub. It includes the hub silicon
|
||||
along with all associated circuitry including a permanently
|
||||
attached peripheral.
|
||||
|
||||
bp-max-total-current-microamp:
|
||||
maximum: 510000
|
||||
default: 100000
|
||||
description: |
|
||||
Specifies max current consumed by the hub from VBUS when
|
||||
operating in self-powered hub. It includes the hub silicon
|
||||
along with all associated circuitry including a permanently
|
||||
attached peripheral.
|
||||
|
||||
sp-max-removable-current-microamp:
|
||||
maximum: 100000
|
||||
default: 1000
|
||||
description: |
|
||||
Specifies max current consumed by the hub from VBUS when
|
||||
operating in self-powered hub. It includes the hub silicon
|
||||
along with all associated circuitry excluding a permanently
|
||||
attached peripheral.
|
||||
|
||||
bp-max-removable-current-microamp:
|
||||
maximum: 510000
|
||||
default: 100000
|
||||
description: |
|
||||
Specifies max current consumed by the hub from VBUS when
|
||||
operating in self-powered hub. It includes the hub silicon
|
||||
along with all associated circuitry excluding a permanently
|
||||
attached peripheral.
|
||||
|
||||
power-on-time-ms:
|
||||
maximum: 510
|
||||
default: 100
|
||||
description: |
|
||||
Specifies the time it takes from the time the host initiates the
|
||||
power-on sequence to a port until the port has adequate power.
|
||||
|
||||
swap-dx-lanes:
|
||||
$ref: /schemas/types.yaml#/definitions/uint8-array
|
||||
description: |
|
||||
Specifies the ports which will swap the differential-pair (D+/D-),
|
||||
default is not-swapped.
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
|
||||
examples:
|
||||
- |
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
|
||||
i2c {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
usb-hub@2c {
|
||||
compatible = "microchip,usb2512b";
|
||||
reg = <0x2c>;
|
||||
reset-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
usb-hub@2d {
|
||||
compatible = "microchip,usb2514b";
|
||||
reg = <0x2d>;
|
||||
vendor-id = /bits/ 16 <0x0000>;
|
||||
product-id = /bits/ 16 <0x0000>;
|
||||
string-support;
|
||||
manufacturer = "Foo";
|
||||
product = "Foo-Bar";
|
||||
serial = "1234567890A";
|
||||
/* correct misplaced usb connectors on port 1,2 */
|
||||
swap-dx-lanes = <1 2>;
|
||||
};
|
||||
};
|
||||
@@ -494,6 +494,8 @@ patternProperties:
|
||||
description: GE Fanuc Intelligent Platforms Embedded Systems, Inc.
|
||||
"^gemei,.*":
|
||||
description: Gemei Digital Technology Co., Ltd.
|
||||
"^genesys,.*":
|
||||
description: Genesys Logic, Inc.
|
||||
"^geniatech,.*":
|
||||
description: Geniatech, Inc.
|
||||
"^giantec,.*":
|
||||
|
||||
@@ -395,6 +395,8 @@ PCI
|
||||
|
||||
PHY
|
||||
devm_usb_get_phy()
|
||||
devm_usb_get_phy_by_node()
|
||||
devm_usb_get_phy_by_phandle()
|
||||
devm_usb_put_phy()
|
||||
|
||||
PINCTRL
|
||||
|
||||
@@ -7935,6 +7935,12 @@ F: fs/notify/fanotify/
|
||||
F: include/linux/fanotify.h
|
||||
F: include/uapi/linux/fanotify.h
|
||||
|
||||
FARADAY FOTG210 USB2 DUAL-ROLE CONTROLLER
|
||||
M: Linus Walleij <linus.walleij@linaro.org>
|
||||
L: linux-usb@vger.kernel.org
|
||||
S: Maintained
|
||||
F: drivers/usb/fotg210/
|
||||
|
||||
FARSYNC SYNCHRONOUS DRIVER
|
||||
M: Kevin Curtis <kevin.curtis@farsite.co.uk>
|
||||
S: Supported
|
||||
@@ -13795,7 +13801,7 @@ MICROCHIP USB251XB DRIVER
|
||||
M: Richard Leitner <richard.leitner@skidata.com>
|
||||
L: linux-usb@vger.kernel.org
|
||||
S: Maintained
|
||||
F: Documentation/devicetree/bindings/usb/usb251xb.txt
|
||||
F: Documentation/devicetree/bindings/usb/usb251xb.yaml
|
||||
F: drivers/usb/misc/usb251xb.c
|
||||
|
||||
MICROCHIP USBA UDC DRIVER
|
||||
|
||||
@@ -911,7 +911,6 @@ CONFIG_USB_IDMOUSE=m
|
||||
CONFIG_USB_FTDI_ELAN=m
|
||||
CONFIG_USB_APPLEDISPLAY=m
|
||||
CONFIG_USB_SISUSBVGA=m
|
||||
CONFIG_USB_SISUSBVGA_CON=y
|
||||
CONFIG_USB_LD=m
|
||||
CONFIG_USB_TRANCEVIBRATOR=m
|
||||
CONFIG_USB_IOWARRIOR=m
|
||||
|
||||
@@ -92,7 +92,6 @@ CONFIG_USB_SERIAL_PL2303=m
|
||||
CONFIG_USB_EMI62=m
|
||||
CONFIG_USB_EMI26=m
|
||||
CONFIG_USB_SISUSBVGA=m
|
||||
CONFIG_USB_SISUSBVGA_CON=y
|
||||
CONFIG_EXT2_FS=y
|
||||
CONFIG_EXT3_FS=y
|
||||
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
|
||||
|
||||
@@ -313,9 +313,9 @@ static void tusb320_typec_irq_handler(struct tusb320_priv *priv, u8 reg9)
|
||||
typec_set_pwr_opmode(port, TYPEC_PWR_MODE_USB);
|
||||
}
|
||||
|
||||
static irqreturn_t tusb320_irq_handler(int irq, void *dev_id)
|
||||
static irqreturn_t tusb320_state_update_handler(struct tusb320_priv *priv,
|
||||
bool force_update)
|
||||
{
|
||||
struct tusb320_priv *priv = dev_id;
|
||||
unsigned int reg;
|
||||
|
||||
if (regmap_read(priv->regmap, TUSB320_REG9, ®)) {
|
||||
@@ -323,7 +323,7 @@ static irqreturn_t tusb320_irq_handler(int irq, void *dev_id)
|
||||
return IRQ_NONE;
|
||||
}
|
||||
|
||||
if (!(reg & TUSB320_REG9_INTERRUPT_STATUS))
|
||||
if (!force_update && !(reg & TUSB320_REG9_INTERRUPT_STATUS))
|
||||
return IRQ_NONE;
|
||||
|
||||
tusb320_extcon_irq_handler(priv, reg);
|
||||
@@ -340,6 +340,13 @@ static irqreturn_t tusb320_irq_handler(int irq, void *dev_id)
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
static irqreturn_t tusb320_irq_handler(int irq, void *dev_id)
|
||||
{
|
||||
struct tusb320_priv *priv = dev_id;
|
||||
|
||||
return tusb320_state_update_handler(priv, false);
|
||||
}
|
||||
|
||||
static const struct regmap_config tusb320_regmap_config = {
|
||||
.reg_bits = 8,
|
||||
.val_bits = 8,
|
||||
@@ -466,7 +473,7 @@ static int tusb320_probe(struct i2c_client *client,
|
||||
return ret;
|
||||
|
||||
/* update initial state */
|
||||
tusb320_irq_handler(client->irq, priv);
|
||||
tusb320_state_update_handler(priv, true);
|
||||
|
||||
/* Reset chip to its default state */
|
||||
ret = tusb320_reset(priv);
|
||||
@@ -477,7 +484,7 @@ static int tusb320_probe(struct i2c_client *client,
|
||||
* State and polarity might change after a reset, so update
|
||||
* them again and make sure the interrupt status bit is cleared.
|
||||
*/
|
||||
tusb320_irq_handler(client->irq, priv);
|
||||
tusb320_state_update_handler(priv, true);
|
||||
|
||||
ret = devm_request_threaded_irq(priv->dev, client->irq, NULL,
|
||||
tusb320_irq_handler,
|
||||
|
||||
@@ -971,7 +971,7 @@ static void cros_typec_register_partner_pdos(struct cros_typec_data *typec,
|
||||
if (!resp->source_cap_count && !resp->sink_cap_count)
|
||||
return;
|
||||
|
||||
port->partner_pd = usb_power_delivery_register(NULL, &desc);
|
||||
port->partner_pd = typec_partner_usb_power_delivery_register(port->partner, &desc);
|
||||
if (IS_ERR(port->partner_pd)) {
|
||||
dev_warn(typec->dev, "Failed to register partner PD device, port: %d\n", port_num);
|
||||
return;
|
||||
|
||||
@@ -15,24 +15,20 @@ static acpi_status tb_acpi_add_link(acpi_handle handle, u32 level, void *data,
|
||||
void **return_value)
|
||||
{
|
||||
struct acpi_device *adev = acpi_fetch_acpi_dev(handle);
|
||||
struct fwnode_reference_args args;
|
||||
struct fwnode_handle *fwnode;
|
||||
struct tb_nhi *nhi = data;
|
||||
struct pci_dev *pdev;
|
||||
struct device *dev;
|
||||
int ret;
|
||||
|
||||
if (!adev)
|
||||
return AE_OK;
|
||||
|
||||
fwnode = acpi_fwnode_handle(adev);
|
||||
ret = fwnode_property_get_reference_args(fwnode, "usb4-host-interface",
|
||||
NULL, 0, 0, &args);
|
||||
if (ret)
|
||||
fwnode = fwnode_find_reference(acpi_fwnode_handle(adev), "usb4-host-interface", 0);
|
||||
if (IS_ERR(fwnode))
|
||||
return AE_OK;
|
||||
|
||||
/* It needs to reference this NHI */
|
||||
if (dev_fwnode(&nhi->pdev->dev) != args.fwnode)
|
||||
if (dev_fwnode(&nhi->pdev->dev) != fwnode)
|
||||
goto out_put;
|
||||
|
||||
/*
|
||||
@@ -100,7 +96,7 @@ static acpi_status tb_acpi_add_link(acpi_handle handle, u32 level, void *data,
|
||||
}
|
||||
|
||||
out_put:
|
||||
fwnode_handle_put(args.fwnode);
|
||||
fwnode_handle_put(fwnode);
|
||||
return AE_OK;
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user