-
Notifications
You must be signed in to change notification settings - Fork 0
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-5.18-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 5.18-rc1. Nothing major in here, just lots of little improvements and cleanups and new device support. Highlights are: - list iterator fixups for when we walk past the end of the list (a common problem that was cut/pasted in almost all USB gadget drivers) - xen USB driver "hardening" for malicious hosts - xhci driver updates and fixes for more hardware types - xhci debug cable fixes to make it actually work again - usb gadget audio driver improvements - usb gadget storage fixes to work with OS-X - lots of other small usb gadget fixes and updates - USB DWC3 driver improvements for more hardware types - Lots of other small USB driver improvements - DTS updates for some USB platforms All of these have been in linux-next for a while with no reported issues" * tag 'usb-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (172 commits) usb: gadget: fsl_qe_udc: Add missing semicolon in qe_ep_dequeue() dt-bindings: usb: mtk-xhci: add compatible for mt8186 usb: dwc3: Issue core soft reset before enabling run/stop usb: gadget: Makefile: remove ccflags-y USB: usb-storage: Fix use of bitfields for hardware data in ene_ub6250.c usb: gadget: eliminate anonymous module_init & module_exit usb: usbip: eliminate anonymous module_init & module_exit xen/usb: harden xen_hcd against malicious backends usb: dwc3: gadget: Wait for ep0 xfers to complete during dequeue usb: dwc3: gadget: move cmd_endtransfer to extra function usb: dwc3: gadget: ep_queue simplify isoc start condition xen/usb: don't use arbitrary_virt_to_machine() usb: isp1760: remove redundant max_packet() macro usb: oxu210hp-hcd: remove redundant call to max_packet() macro usb: common: usb-conn-gpio: Make VBUS supply completely optional USB: storage: ums-realtek: fix error code in rts51x_read_mem() usb: early: xhci-dbc: Fix xdbc number parsing usb: early: xhci-dbc: Remove duplicate keep parsing x86/tsc: Be consistent about use_tsc_delay() usb: gadget: udc: s3c2410: remove usage of list iterator past the loop body ...
- Loading branch information
Showing
143 changed files
with
4,892 additions
and
1,254 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
What: /sys/bus/platform/drivers/eud/.../enable | ||
Date: February 2022 | ||
Contact: Souradeep Chowdhury <quic_schowdhu@quicinc.com> | ||
Description: | ||
The Enable/Disable sysfs interface for Embedded | ||
USB Debugger(EUD). This enables and disables the | ||
EUD based on a 1 or a 0 value. By enabling EUD, | ||
the user is able to activate the mini-usb hub of | ||
EUD for debug and trace capabilities. |
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,77 @@ | ||
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: "http://devicetree.org/schemas/soc/qcom/qcom,eud.yaml#" | ||
$schema: "http://devicetree.org/meta-schemas/core.yaml#" | ||
|
||
title: Qualcomm Embedded USB Debugger | ||
|
||
maintainers: | ||
- Souradeep Chowdhury <quic_schowdhu@quicinc.com> | ||
|
||
description: | ||
This binding is used to describe the Qualcomm Embedded USB Debugger, which is | ||
mini USB-hub implemented on chip to support USB-based debug capabilities. | ||
|
||
properties: | ||
compatible: | ||
items: | ||
- enum: | ||
- qcom,sc7280-eud | ||
- const: qcom,eud | ||
|
||
reg: | ||
items: | ||
- description: EUD Base Register Region | ||
- description: EUD Mode Manager Register | ||
|
||
interrupts: | ||
description: EUD interrupt | ||
maxItems: 1 | ||
|
||
ports: | ||
$ref: /schemas/graph.yaml#/properties/ports | ||
description: | ||
These ports is to be attached to the endpoint of the DWC3 controller node | ||
and type C connector node. The controller has the "usb-role-switch" | ||
property. | ||
|
||
properties: | ||
port@0: | ||
$ref: /schemas/graph.yaml#/properties/port | ||
description: This port is to be attached to the DWC3 controller. | ||
|
||
port@1: | ||
$ref: /schemas/graph.yaml#/properties/port | ||
description: This port is to be attached to the type C connector. | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- ports | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
eud@88e0000 { | ||
compatible = "qcom,sc7280-eud","qcom,eud"; | ||
reg = <0x88e0000 0x2000>, | ||
<0x88e2000 0x1000>; | ||
ports { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
port@0 { | ||
reg = <0>; | ||
eud_ep: endpoint { | ||
remote-endpoint = <&usb2_role_switch>; | ||
}; | ||
}; | ||
port@1 { | ||
reg = <1>; | ||
eud_con: endpoint { | ||
remote-endpoint = <&con_eud>; | ||
}; | ||
}; | ||
}; | ||
}; |
This file was deleted.
Oops, something went wrong.
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
59 changes: 59 additions & 0 deletions
59
Documentation/devicetree/bindings/usb/microchip,mpfs-musb.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,59 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/usb/microchip,mpfs-musb.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Microchip MPFS USB Controller Device Tree Bindings | ||
|
||
allOf: | ||
- $ref: usb-drd.yaml# | ||
|
||
maintainers: | ||
- Conor Dooley <conor.dooley@microchip.com> | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- microchip,mpfs-musb | ||
|
||
dr_mode: true | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
minItems: 2 | ||
maxItems: 2 | ||
|
||
interrupt-names: | ||
items: | ||
- const: dma | ||
- const: mc | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- interrupt-names | ||
- clocks | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include "dt-bindings/clock/microchip,mpfs-clock.h" | ||
usb@20201000 { | ||
compatible = "microchip,mpfs-musb"; | ||
reg = <0x20201000 0x1000>; | ||
clocks = <&clkcfg CLK_USB>; | ||
interrupt-parent = <&plic>; | ||
interrupts = <86>, <87>; | ||
interrupt-names = "dma", "mc"; | ||
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
Oops, something went wrong.