-
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-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/…
…kishon/linux-phy into usb-next Kishon writes: New Features ============ *) Add driver for USB PHYs on sun9i *) Add driver for USB PHY on dm816x *) Modified exynos5-usbdrd driver to add support for Exynos5433 SoC Fixes ===== *) Fix power_on/power_off failure paths in some drivers *) Make miphy365x use generic PHY type constants *) Fix build errors due to missing export symbols in qcom-ufs driver *) Make all the functions return proper error values Cleanups ======== *) use PTR_ERR_OR_ZERO to simplify code *) use devm_kcalloc instead of devm_kzalloc with multiply *) remove un-necessary ifdef CONFIG_OF
- Loading branch information
Showing
26 changed files
with
655 additions
and
110 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,24 @@ | ||
Device tree binding documentation for am816x USB PHY | ||
========================= | ||
|
||
Required properties: | ||
- compatible : should be "ti,dm816x-usb-phy" | ||
- reg : offset and length of the PHY register set. | ||
- reg-names : name for the phy registers | ||
- clocks : phandle to the clock | ||
- clock-names : name of the clock | ||
- syscon: phandle for the syscon node to access misc registers | ||
- #phy-cells : from the generic PHY bindings, must be 1 | ||
- syscon: phandle for the syscon node to access misc registers | ||
|
||
Example: | ||
|
||
usb_phy0: usb-phy@20 { | ||
compatible = "ti,dm8168-usb-phy"; | ||
reg = <0x20 0x8>; | ||
reg-names = "phy"; | ||
clocks = <&main_fapll 6>; | ||
clock-names = "refclk"; | ||
#phy-cells = <0>; | ||
syscon = <&scm_conf>; | ||
}; |
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,38 @@ | ||
Allwinner sun9i USB PHY | ||
----------------------- | ||
|
||
Required properties: | ||
- compatible : should be one of | ||
* allwinner,sun9i-a80-usb-phy | ||
- reg : a list of offset + length pairs | ||
- #phy-cells : from the generic phy bindings, must be 0 | ||
- phy_type : "hsic" for HSIC usage; | ||
other values or absence of this property indicates normal USB | ||
- clocks : phandle + clock specifier for the phy clocks | ||
- clock-names : depending on the "phy_type" property, | ||
* "phy" for normal USB | ||
* "hsic_480M", "hsic_12M" for HSIC | ||
- resets : a list of phandle + reset specifier pairs | ||
- reset-names : depending on the "phy_type" property, | ||
* "phy" for normal USB | ||
* "hsic" for HSIC | ||
|
||
Optional Properties: | ||
- phy-supply : from the generic phy bindings, a phandle to a regulator that | ||
provides power to VBUS. | ||
|
||
It is recommended to list all clocks and resets available. | ||
The driver will only use those matching the phy_type. | ||
|
||
Example: | ||
usbphy1: phy@00a01800 { | ||
compatible = "allwinner,sun9i-a80-usb-phy"; | ||
reg = <0x00a01800 0x4>; | ||
clocks = <&usb_phy_clk 2>, <&usb_phy_clk 10>, | ||
<&usb_phy_clk 3>; | ||
clock-names = "hsic_480M", "hsic_12M", "phy"; | ||
resets = <&usb_phy_clk 18>, <&usb_phy_clk 19>; | ||
reset-names = "hsic", "phy"; | ||
status = "disabled"; | ||
#phy-cells = <0>; | ||
}; |
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
Oops, something went wrong.