-
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 'for-3.20' of git://git.kernel.org/pub/scm/linux/kernel/git…
…/kishon/linux-phy into usb-testing Kishon writes: Adds a new Rockchip PHY driver and contains miscellaneous fixes.
- Loading branch information
Showing
16 changed files
with
483 additions
and
172 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
37 changes: 37 additions & 0 deletions
37
Documentation/devicetree/bindings/phy/rockchip-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,37 @@ | ||
ROCKCHIP USB2 PHY | ||
|
||
Required properties: | ||
- compatible: rockchip,rk3288-usb-phy | ||
- rockchip,grf : phandle to the syscon managing the "general | ||
register files" | ||
- #address-cells: should be 1 | ||
- #size-cells: should be 0 | ||
|
||
Sub-nodes: | ||
Each PHY should be represented as a sub-node. | ||
|
||
Sub-nodes | ||
required properties: | ||
- #phy-cells: should be 0 | ||
- reg: PHY configure reg address offset in GRF | ||
"0x320" - for PHY attach to OTG controller | ||
"0x334" - for PHY attach to HOST0 controller | ||
"0x348" - for PHY attach to HOST1 controller | ||
|
||
Optional Properties: | ||
- clocks : phandle + clock specifier for the phy clocks | ||
- clock-names: string, clock name, must be "phyclk" | ||
|
||
Example: | ||
|
||
usbphy: phy { | ||
compatible = "rockchip,rk3288-usb-phy"; | ||
rockchip,grf = <&grf>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
usbphy0: usb-phy0 { | ||
#phy-cells = <0>; | ||
reg = <0x320>; | ||
}; | ||
}; |
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
Oops, something went wrong.