forked from swarren/WSL2-Linux-Kernel
-
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 'xceiv-for-v3.9' of git://git.kernel.org/pub/scm/linux/kern…
…el/git/balbi/usb into usb-next Felipe writes: usb: xceiv: patches for v3.9 merge window Two new PHY drivers coming here: one for Samsung, one for OMAP. Both architectures are adding USB3 support to mainline kernel. The PHY layer now allows us to have mulitple PHYs of the same type, which is necessary for platforms which provide more than one USB peripheral port. There's also a few cleanups here: removal of __dev* annotations, conversion of a cast to to_delayed_work(), and mxs-phy learns about ->set_suspend.
- Loading branch information
Showing
26 changed files
with
2,449 additions
and
158 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
synopsys DWC3 CORE | ||
|
||
DWC3- USB3 CONTROLLER | ||
|
||
Required properties: | ||
- compatible: must be "synopsys,dwc3" | ||
- reg : Address and length of the register set for the device | ||
- interrupts: Interrupts used by the dwc3 controller. | ||
- usb-phy : array of phandle for the PHY device | ||
|
||
Optional properties: | ||
- tx-fifo-resize: determines if the FIFO *has* to be reallocated. | ||
|
||
This is usually a subnode to DWC3 glue to which it is connected. | ||
|
||
dwc3@4a030000 { | ||
compatible = "synopsys,dwc3"; | ||
reg = <0x4a030000 0xcfff>; | ||
interrupts = <0 92 4> | ||
usb-phy = <&usb2_phy>, <&usb3,phy>; | ||
tx-fifo-resize; | ||
}; |
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 @@ | ||
* Samsung's usb phy transceiver | ||
|
||
The Samsung's phy transceiver is used for controlling usb phy for | ||
s3c-hsotg as well as ehci-s5p and ohci-exynos usb controllers | ||
across Samsung SOCs. | ||
TODO: Adding the PHY binding with controller(s) according to the under | ||
developement generic PHY driver. | ||
|
||
Required properties: | ||
|
||
Exynos4210: | ||
- compatible : should be "samsung,exynos4210-usbphy" | ||
- reg : base physical address of the phy registers and length of memory mapped | ||
region. | ||
|
||
Exynos5250: | ||
- compatible : should be "samsung,exynos5250-usbphy" | ||
- reg : base physical address of the phy registers and length of memory mapped | ||
region. | ||
|
||
Optional properties: | ||
- #address-cells: should be '1' when usbphy node has a child node with 'reg' | ||
property. | ||
- #size-cells: should be '1' when usbphy node has a child node with 'reg' | ||
property. | ||
- ranges: allows valid translation between child's address space and parent's | ||
address space. | ||
|
||
- The child node 'usbphy-sys' to the node 'usbphy' is for the system controller | ||
interface for usb-phy. It should provide the following information required by | ||
usb-phy controller to control phy. | ||
- reg : base physical address of PHY_CONTROL registers. | ||
The size of this register is the total sum of size of all PHY_CONTROL | ||
registers that the SoC has. For example, the size will be | ||
'0x4' in case we have only one PHY_CONTROL register (e.g. | ||
OTHERS register in S3C64XX or USB_PHY_CONTROL register in S5PV210) | ||
and, '0x8' in case we have two PHY_CONTROL registers (e.g. | ||
USBDEVICE_PHY_CONTROL and USBHOST_PHY_CONTROL registers in exynos4x). | ||
and so on. | ||
|
||
Example: | ||
- Exynos4210 | ||
|
||
usbphy@125B0000 { | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
compatible = "samsung,exynos4210-usbphy"; | ||
reg = <0x125B0000 0x100>; | ||
ranges; | ||
|
||
usbphy-sys { | ||
/* USB device and host PHY_CONTROL registers */ | ||
reg = <0x10020704 0x8>; | ||
}; | ||
}; |
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.