-
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 'phy-for-4.5' of git://git.kernel.org/pub/scm/linux/kernel/…
…git/kishon/linux-phy into usb-next Kishon writes: phy: for 4.5 *) new PHY driver for hi6220 usb and rcar gen3 usb2 *) deprecate phy-omap-control driver. phy-omap-control driver was added when there was no proper infrastructure for doing control module initialization. The phy-omap-control driver is not an 'actual' PHY driver and it was just a hack to do PHY related control module initialization. Now with SYSCON framework in the kernel, control module setttings can be done using APIs provided by syscon. *) usbphy-internal pll creates the needed 480MHz and is also a supply-clock back to the core clock-controller in Rockchip SoCs. This is now modeled as a real clock. *) calibrate mt65xx usb3 PHY for better eye diagram and receiver sensitivity. *) Miscellaneous cleanups. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
- Loading branch information
Showing
19 changed files
with
1,439 additions
and
238 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,16 @@ | ||
Hisilicon hi6220 usb PHY | ||
----------------------- | ||
|
||
Required properties: | ||
- compatible: should be "hisilicon,hi6220-usb-phy" | ||
- #phy-cells: must be 0 | ||
- hisilicon,peripheral-syscon: phandle of syscon used to control phy. | ||
Refer to phy/phy-bindings.txt for the generic PHY binding properties | ||
|
||
Example: | ||
usb_phy: usbphy { | ||
compatible = "hisilicon,hi6220-usb-phy"; | ||
#phy-cells = <0>; | ||
phy-supply = <&fixed_5v_hub>; | ||
hisilicon,peripheral-syscon = <&sys_ctrl>; | ||
}; |
39 changes: 39 additions & 0 deletions
39
Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.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,39 @@ | ||
* Renesas R-Car generation 3 USB 2.0 PHY | ||
|
||
This file provides information on what the device node for the R-Car generation | ||
3 USB 2.0 PHY contains. | ||
|
||
Required properties: | ||
- compatible: "renesas,usb2-phy-r8a7795" if the device is a part of an R8A7795 | ||
SoC. | ||
- reg: offset and length of the partial USB 2.0 Host register block. | ||
- reg-names: must be "usb2_host". | ||
- clocks: clock phandle and specifier pair(s). | ||
- #phy-cells: see phy-bindings.txt in the same directory, must be <0>. | ||
|
||
Optional properties: | ||
To use a USB channel where USB 2.0 Host and HSUSB (USB 2.0 Peripheral) are | ||
combined, the device tree node should set HSUSB properties to reg and reg-names | ||
properties. This is because HSUSB has registers to select USB 2.0 host or | ||
peripheral at that channel: | ||
- reg: offset and length of the partial HSUSB register block. | ||
- reg-names: must be "hsusb". | ||
- interrupts: interrupt specifier for the PHY. | ||
|
||
Example (R-Car H3): | ||
|
||
usb-phy@ee080200 { | ||
compatible = "renesas,usb2-phy-r8a7795"; | ||
reg = <0 0xee080200 0 0x700>, <0 0xe6590100 0 0x100>; | ||
reg-names = "usb2_host", "hsusb"; | ||
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; | ||
clocks = <&mstp7_clks R8A7795_CLK_EHCI0>, | ||
<&mstp7_clks R8A7795_CLK_HSUSB>; | ||
}; | ||
|
||
usb-phy@ee0a0200 { | ||
compatible = "renesas,usb2-phy-r8a7795"; | ||
reg = <0 0xee0a0200 0 0x700>; | ||
reg-names = "usb2_host"; | ||
clocks = <&mstp7_clks R8A7795_CLK_EHCI0>; | ||
}; |
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
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.