forked from torvalds/linux
-
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-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel…
…/git/gregkh/usb Pull USB/PHY updates from Greg KH: "Here is the big set of USB and PHY driver updates for 4.15-rc1. There is the usual amount of gadget and xhci driver updates, along with phy and chipidea enhancements. There's also a lot of SPDX tags and license boilerplate cleanups as well, which provide some churn in the diffstat. Other major thing is the typec code that moved out of staging and into the "real" part of the drivers/usb/ tree, which was nice to see happen. All of these have been in linux-next with no reported issues for a while" * tag 'usb-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (263 commits) usb: gadget: f_fs: Fix use-after-free in ffs_free_inst USB: usbfs: compute urb->actual_length for isochronous usb: core: message: remember to reset 'ret' to 0 when necessary USB: typec: Remove remaining redundant license text USB: typec: add SPDX identifiers to some files USB: renesas_usbhs: rcar?.h: add SPDX tags USB: chipidea: ci_hdrc_tegra.c: add SPDX line USB: host: xhci-debugfs: add SPDX lines USB: add SPDX identifiers to all remaining Makefiles usb: host: isp1362-hcd: remove a couple of redundant assignments USB: adutux: remove redundant variable minor usb: core: add a new usb_get_ptm_status() helper usb: core: add a 'type' parameter to usb_get_status() usb: core: introduce a new usb_get_std_status() helper usb: core: rename usb_get_status() 'type' argument to 'recip' usb: core: add Status Type definitions USB: gadget: Remove redundant license text USB: gadget: function: Remove redundant license text USB: gadget: udc: Remove redundant license text USB: gadget: legacy: Remove redundant license text ...
- Loading branch information
Showing
764 changed files
with
6,609 additions
and
9,083 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
Documentation/devicetree/bindings/phy/brcm,brcmstb-usb-phy.txt
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,43 @@ | ||
Broadcom STB USB PHY | ||
|
||
Required properties: | ||
- compatible: brcm,brcmstb-usb-phy | ||
- reg: two offset and length pairs. | ||
The first pair specifies a manditory set of memory mapped | ||
registers used for general control of the PHY. | ||
The second pair specifies optional registers used by some of | ||
the SoCs that support USB 3.x | ||
- #phy-cells: Shall be 1 as it expects one argument for setting | ||
the type of the PHY. Possible values are: | ||
- PHY_TYPE_USB2 for USB1.1/2.0 PHY | ||
- PHY_TYPE_USB3 for USB3.x PHY | ||
|
||
Optional Properties: | ||
- clocks : clock phandles. | ||
- clock-names: String, clock name. | ||
- brcm,ipp: Boolean, Invert Port Power. | ||
Possible values are: 0 (Don't invert), 1 (Invert) | ||
- brcm,ioc: Boolean, Invert Over Current detection. | ||
Possible values are: 0 (Don't invert), 1 (Invert) | ||
NOTE: one or both of the following two properties must be set | ||
- brcm,has-xhci: Boolean indicating the phy has an XHCI phy. | ||
- brcm,has-eohci: Boolean indicating the phy has an EHCI/OHCI phy. | ||
- dr_mode: String, PHY Device mode. | ||
Possible values are: "host", "peripheral ", "drd" or "typec-pd" | ||
If this property is not defined, the phy will default to "host" mode. | ||
|
||
Example: | ||
|
||
usbphy_0: usb-phy@f0470200 { | ||
reg = <0xf0470200 0xb8>, | ||
<0xf0471940 0x6c0>; | ||
compatible = "brcm,brcmstb-usb-phy"; | ||
#phy-cells = <1>; | ||
dr_mode = "host" | ||
brcm,ioc = <1>; | ||
brcm,ipp = <1>; | ||
brcm,has-xhci; | ||
brcm,has-eohci; | ||
clocks = <&usb20>, <&usb30>; | ||
clock-names = "sw_usb", "sw_usb3"; | ||
}; |
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,26 @@ | ||
Maxim Integrated SPI-based USB 2.0 host controller MAX3421E | ||
|
||
Required properties: | ||
- compatible: Should be "maxim,max3421" | ||
- spi-max-frequency: maximum frequency for this device must not exceed 26 MHz. | ||
- reg: chip select number to which this device is connected. | ||
- maxim,vbus-en-pin: <GPOUTx ACTIVE_LEVEL> | ||
GPOUTx is the number (1-8) of the GPOUT pin of MAX3421E to drive Vbus. | ||
ACTIVE_LEVEL is 0 or 1. | ||
- interrupts: the interrupt line description for the interrupt controller. | ||
The driver configures MAX3421E for active low level triggered interrupts, | ||
configure your interrupt line accordingly. | ||
|
||
Optional property: | ||
- interrupt-parent: the phandle to the associated interrupt controller. | ||
|
||
Example: | ||
|
||
usb@0 { | ||
compatible = "maxim,max3421"; | ||
reg = <0>; | ||
maxim,vbus-en-pin = <3 1>; | ||
spi-max-frequency = <26000000>; | ||
interrupt-parent = <&PIC>; | ||
interrupts = <42>; | ||
}; |
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
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 |
---|---|---|
|
@@ -2896,6 +2896,13 @@ S: Supported | |
F: drivers/gpio/gpio-brcmstb.c | ||
F: Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.txt | ||
|
||
BROADCOM BRCMSTB USB2 and USB3 PHY DRIVER | ||
M: Al Cooper <[email protected]> | ||
L: [email protected] | ||
L: [email protected] | ||
S: Maintained | ||
F: drivers/phy/broadcom/phy-brcm-usb* | ||
|
||
BROADCOM GENET ETHERNET DRIVER | ||
M: Florian Fainelli <[email protected]> | ||
L: [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.