forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'usb-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/gregkh/usb Pull USB / Thunderbolt updates from Greg KH: "Here is the big set of USB and Thunderbolt changes for 6.9-rc1. Lots of tiny changes and forward progress to support new hardware and better support for existing devices. Included in here are: - Thunderbolt (i.e. USB4) updates for newer hardware and uses as more people start to use the hardware - default USB authentication mode Kconfig and documentation update to make it more obvious what is going on - USB typec updates and enhancements - usual dwc3 driver updates - usual xhci driver updates - function USB (i.e. gadget) driver updates and additions - new device ids for lots of drivers - loads of other small updates, full details in the shortlog All of these, including a "last minute regression fix" have been in linux-next with no reported issues" * tag 'usb-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (185 commits) usb: usb-acpi: Fix oops due to freeing uninitialized pld pointer usb: gadget: net2272: Use irqflags in the call to net2272_probe_fin usb: gadget: tegra-xudc: Fix USB3 PHY retrieval logic phy: tegra: xusb: Add API to retrieve the port number of phy USB: gadget: pxa27x_udc: Remove unused of_gpio.h usb: gadget/snps_udc_plat: Remove unused of_gpio.h usb: ohci-pxa27x: Remove unused of_gpio.h usb: sl811-hcd: only defined function checkdone if QUIRK2 is defined usb: Clarify expected behavior of dev_bin_attrs_are_visible() xhci: Allow RPM on the USB controller (1022:43f7) by default usb: isp1760: remove SLAB_MEM_SPREAD flag usage usb: misc: onboard_hub: use pointer consistently in the probe function usb: gadget: fsl: Increase size of name buffer for endpoints usb: gadget: fsl: Add of device table to enable module autoloading usb: typec: tcpm: add support to set tcpc connector orientatition usb: typec: tcpci: add generic tcpci fallback compatible dt-bindings: usb: typec-tcpci: add tcpci fallback binding usb: gadget: fsl-udc: Replace custom log wrappers by dev_{err,warn,dbg,vdbg} usb: core: Set connect_type of ports based on DT node dt-bindings: usb: Add downstream facing ports to realtek binding ...
- Loading branch information
Showing
178 changed files
with
9,128 additions
and
2,484 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/sound/qcom,q6usb.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm ASoC DPCM USB backend DAI | ||
|
||
maintainers: | ||
- Wesley Cheng <quic_wcheng@quicinc.com> | ||
|
||
description: | ||
The USB port is a supported AFE path on the Q6 DSP. This ASoC DPCM | ||
backend DAI will communicate the required settings to initialize the | ||
XHCI host controller properly for enabling the offloaded audio stream. | ||
Parameters defined under this node will carry settings, which will be | ||
passed along during the QMI stream enable request and configuration of | ||
the XHCI host controller. | ||
|
||
allOf: | ||
- $ref: dai-common.yaml# | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- qcom,q6usb | ||
|
||
iommus: | ||
maxItems: 1 | ||
|
||
"#sound-dai-cells": | ||
const: 1 | ||
|
||
qcom,usb-audio-intr-idx: | ||
description: | ||
Desired XHCI interrupter number to use. Depending on the audio DSP | ||
on the platform, it will operate on a specific XHCI interrupter. | ||
$ref: /schemas/types.yaml#/definitions/uint16 | ||
maximum: 8 | ||
|
||
required: | ||
- compatible | ||
- "#sound-dai-cells" | ||
- qcom,usb-audio-intr-idx | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
dais { | ||
compatible = "qcom,q6usb"; | ||
#sound-dai-cells = <1>; | ||
iommus = <&apps_smmu 0x180f 0x0>; | ||
qcom,usb-audio-intr-idx = /bits/ 16 <2>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
99 changes: 99 additions & 0 deletions
99
Documentation/devicetree/bindings/usb/hisilicon,hi3798mv200-dwc3.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/usb/hisilicon,hi3798mv200-dwc3.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: HiSilicon Hi3798MV200 DWC3 USB SoC controller | ||
|
||
maintainers: | ||
- Yang Xiwen <forbidden405@foxmail.com> | ||
|
||
properties: | ||
compatible: | ||
const: hisilicon,hi3798mv200-dwc3 | ||
|
||
'#address-cells': | ||
const: 1 | ||
|
||
'#size-cells': | ||
const: 1 | ||
|
||
ranges: true | ||
|
||
clocks: | ||
items: | ||
- description: Controller bus clock | ||
- description: Controller suspend clock | ||
- description: Controller reference clock | ||
- description: Controller gm clock | ||
- description: Controller gs clock | ||
- description: Controller utmi clock | ||
- description: Controller pipe clock | ||
|
||
clock-names: | ||
items: | ||
- const: bus | ||
- const: suspend | ||
- const: ref | ||
- const: gm | ||
- const: gs | ||
- const: utmi | ||
- const: pipe | ||
|
||
resets: | ||
maxItems: 1 | ||
|
||
reset-names: | ||
const: soft | ||
|
||
patternProperties: | ||
'^usb@[0-9a-f]+$': | ||
$ref: snps,dwc3.yaml# | ||
|
||
required: | ||
- compatible | ||
- ranges | ||
- '#address-cells' | ||
- '#size-cells' | ||
- clocks | ||
- clock-names | ||
- resets | ||
- reset-names | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
usb { | ||
compatible = "hisilicon,hi3798mv200-dwc3"; | ||
ranges; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
clocks = <&clk_bus>, | ||
<&clk_suspend>, | ||
<&clk_ref>, | ||
<&clk_gm>, | ||
<&clk_gs>, | ||
<&clk_utmi>, | ||
<&clk_pipe>; | ||
clock-names = "bus", "suspend", "ref", "gm", "gs", "utmi", "pipe"; | ||
resets = <&crg 0xb0 12>; | ||
reset-names = "soft"; | ||
usb@98a0000 { | ||
compatible = "snps,dwc3"; | ||
reg = <0x98a0000 0x10000>; | ||
interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; | ||
clocks = <&clk_bus>, | ||
<&clk_suspend>, | ||
<&clk_ref>; | ||
clock-names = "bus_early", "suspend", "ref"; | ||
phys = <&usb2_phy1_port2>, <&combphy0 0>; | ||
phy-names = "usb2-phy", "usb3-phy"; | ||
maximum-speed = "super-speed"; | ||
dr_mode = "host"; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/usb/ite,it5205.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: ITE IT5202 Type-C USB Alternate Mode Passive MUX | ||
|
||
maintainers: | ||
- AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> | ||
- Tianping Fang <tianping.fang@mediatek.com> | ||
|
||
properties: | ||
compatible: | ||
const: ite,it5205 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
vcc-supply: | ||
description: Power supply for VCC pin (3.3V) | ||
|
||
mode-switch: | ||
description: Flag the port as possible handle of altmode switching | ||
type: boolean | ||
|
||
orientation-switch: | ||
description: Flag the port as possible handler of orientation switching | ||
type: boolean | ||
|
||
ite,ovp-enable: | ||
description: Enable Over Voltage Protection functionality | ||
type: boolean | ||
|
||
port: | ||
$ref: /schemas/graph.yaml#/properties/port | ||
description: | ||
A port node to link the IT5205 to a TypeC controller for the purpose of | ||
handling altmode muxing and orientation switching. | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- orientation-switch | ||
- port | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/irq.h> | ||
i2c2 { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
typec-mux@48 { | ||
compatible = "ite,it5205"; | ||
reg = <0x48>; | ||
mode-switch; | ||
orientation-switch; | ||
vcc-supply = <&mt6359_vibr_ldo_reg>; | ||
port { | ||
it5205_usbss_sbu: endpoint { | ||
remote-endpoint = <&typec_controller>; | ||
}; | ||
}; | ||
}; | ||
}; | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.