forked from analogdevicesinc/linux
-
Notifications
You must be signed in to change notification settings - Fork 3
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.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/gregkh/usb Pull USB updates from Greg KH: "Here is the big set of USB patches for 5.4-rc1. Two major chunks of code are moving out of the tree and into the staging directory, uwb and wusb (wireless USB support), because there are no devices that actually use this protocol anymore, and what we have today probably doesn't work at all given that the maintainers left many many years ago. So move it to staging where it will be removed in a few releases if no one screams. Other than that, lots of little things. The usual gadget and xhci and usb serial driver updates, along with a bunch of sysfs file cleanups due to the driver core changes to support that. Nothing really major, just constant forward progress. All of these have been in linux-next for a while with no reported issues" * tag 'usb-5.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (159 commits) USB: usbcore: Fix slab-out-of-bounds bug during device reset usb: cdns3: Remove redundant dev_err call in cdns3_probe() USB: rio500: Fix lockdep violation USB: rio500: simplify locking usb: mtu3: register a USB Role Switch for dual role mode usb: common: add USB GPIO based connection detection driver usb: common: create Kconfig file usb: roles: get usb-role-switch from parent usb: roles: Add fwnode_usb_role_switch_get() function device connection: Add fwnode_connection_find_match() usb: roles: Introduce stubs for the exiting functions in role.h dt-bindings: usb: mtu3: add properties about USB Role Switch dt-bindings: usb: add binding for USB GPIO based connection detection driver dt-bindings: connector: add optional properties for Type-B dt-binding: usb: add usb-role-switch property usbip: Implement SG support to vhci-hcd and stub driver usb: roles: intel: Enable static DRD mode for role switch xhci-ext-caps.c: Add property to disable Intel SW switch usb: dwc3: remove generic PHY calibrate() calls usb: core: phy: add support for PHY calibration ...
- Loading branch information
Showing
310 changed files
with
10,289 additions
and
2,442 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
Binding for the Cadence USBSS-DRD controller | ||
|
||
Required properties: | ||
- reg: Physical base address and size of the controller's register areas. | ||
Controller has 3 different regions: | ||
- HOST registers area | ||
- DEVICE registers area | ||
- OTG/DRD registers area | ||
- reg-names - register memory area names: | ||
"xhci" - for HOST registers space | ||
"dev" - for DEVICE registers space | ||
"otg" - for OTG/DRD registers space | ||
- compatible: Should contain: "cdns,usb3" | ||
- interrupts: Interrupts used by cdns3 controller: | ||
"host" - interrupt used by XHCI driver. | ||
"peripheral" - interrupt used by device driver | ||
"otg" - interrupt used by DRD/OTG part of driver | ||
|
||
Optional properties: | ||
- maximum-speed : valid arguments are "super-speed", "high-speed" and | ||
"full-speed"; refer to usb/generic.txt | ||
- dr_mode: Should be one of "host", "peripheral" or "otg". | ||
- phys: reference to the USB PHY | ||
- phy-names: from the *Generic PHY* bindings; | ||
Supported names are: | ||
- cdns3,usb2-phy | ||
- cdns3,usb3-phy | ||
|
||
- cdns,on-chip-buff-size : size of memory intended as internal memory for endpoints | ||
buffers expressed in KB | ||
|
||
Example: | ||
usb@f3000000 { | ||
compatible = "cdns,usb3"; | ||
interrupts = <GIC_USB_IRQ 7 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_USB_IRQ 7 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_USB_IRQ 8 IRQ_TYPE_LEVEL_HIGH>; | ||
interrupt-names = "host", "peripheral", "otg"; | ||
reg = <0xf3000000 0x10000>, /* memory area for HOST registers */ | ||
<0xf3010000 0x10000>, /* memory area for DEVICE registers */ | ||
<0xf3020000 0x10000>; /* memory area for OTG/DRD registers */ | ||
reg-names = "xhci", "dev", "otg"; | ||
phys = <&usb2_phy>, <&usb3_phy>; | ||
phy-names = "cdns3,usb2-phy", "cnds3,usb3-phy"; | ||
}; |
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
File renamed without changes.
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,30 @@ | ||
USB GPIO Based Connection Detection | ||
|
||
This is typically used to switch dual role mode from the USB ID pin connected | ||
to an input GPIO, and also used to enable/disable device mode from the USB | ||
Vbus pin connected to an input GPIO. | ||
|
||
Required properties: | ||
- compatible : should include "gpio-usb-b-connector" and "usb-b-connector". | ||
- id-gpios, vbus-gpios : input gpios, either one of them must be present, | ||
and both can be present as well. | ||
see connector/usb-connector.txt | ||
|
||
Optional properties: | ||
- vbus-supply : can be present if needed when supports dual role mode. | ||
see connector/usb-connector.txt | ||
|
||
- Sub-nodes: | ||
- port : can be present. | ||
see graph.txt | ||
|
||
Example: | ||
|
||
&mtu3 { | ||
connector { | ||
compatible = "gpio-usb-b-connector", "usb-b-connector"; | ||
type = "micro"; | ||
id-gpios = <&pio 12 GPIO_ACTIVE_HIGH>; | ||
vbus-supply = <&usb_p0_vbus>; | ||
}; | ||
}; |
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 |
---|---|---|
|
@@ -3797,14 +3797,9 @@ F: scripts/sign-file.c | |
F: scripts/extract-cert.c | ||
|
||
CERTIFIED WIRELESS USB (WUSB) SUBSYSTEM: | ||
L: [email protected] | ||
S: Orphan | ||
F: Documentation/usb/wusb-design-overview.rst | ||
F: Documentation/usb/wusb-cbaf | ||
F: drivers/usb/host/hwa-hc.c | ||
F: drivers/usb/host/whci/ | ||
F: drivers/usb/wusbcore/ | ||
F: include/linux/usb/wusb* | ||
L: [email protected] | ||
S: Obsolete | ||
F: drivers/staging/wusbcore/ | ||
|
||
CFAG12864B LCD DRIVER | ||
M: Miguel Ojeda Sandonis <[email protected]> | ||
|
@@ -16500,11 +16495,9 @@ F: drivers/usb/common/ulpi.c | |
F: include/linux/ulpi/ | ||
|
||
ULTRA-WIDEBAND (UWB) SUBSYSTEM: | ||
L: [email protected] | ||
S: Orphan | ||
F: drivers/uwb/ | ||
F: include/linux/uwb.h | ||
F: include/linux/uwb/ | ||
L: [email protected] | ||
S: Obsolete | ||
F: drivers/staging/uwb/ | ||
|
||
UNICODE SUBSYSTEM: | ||
M: Gabriel Krisman Bertazi <[email protected]> | ||
|
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
Oops, something went wrong.