Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: phy: add DT bindings for UniPhier USB2 PHY driver

Add DT bindings for PHY interface built into USB2 controller
implemented on Socionext UniPhier SoCs.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

authored by

Kunihiko Hayashi and committed by
Kishon Vijay Abraham I
39f68636 5ab43d0f

+45
+45
Documentation/devicetree/bindings/phy/uniphier-usb2-phy.txt
··· 1 + Socionext UniPhier USB2 PHY 2 + 3 + This describes the devicetree bindings for PHY interface built into 4 + USB2 controller implemented on Socionext UniPhier SoCs. 5 + 6 + Pro4 SoC has both USB2 and USB3 host controllers, however, this USB3 7 + controller doesn't include its own High-Speed PHY. This needs to specify 8 + USB2 PHY instead of USB3 HS-PHY. 9 + 10 + Required properties: 11 + - compatible: Should contain one of the following: 12 + "socionext,uniphier-pro4-usb2-phy" - for Pro4 SoC 13 + "socionext,uniphier-ld11-usb2-phy" - for LD11 SoC 14 + 15 + Sub-nodes: 16 + Each PHY should be represented as a sub-node. 17 + 18 + Sub-nodes required properties: 19 + - #phy-cells: Should be 0. 20 + - reg: The number of the PHY. 21 + 22 + Sub-nodes optional properties: 23 + - vbus-supply: A phandle to the regulator for USB VBUS. 24 + 25 + Refer to phy/phy-bindings.txt for the generic PHY binding properties. 26 + 27 + Example: 28 + soc-glue@5f800000 { 29 + ... 30 + usb-phy { 31 + compatible = "socionext,uniphier-ld11-usb2-phy"; 32 + usb_phy0: phy@0 { 33 + reg = <0>; 34 + #phy-cells = <0>; 35 + }; 36 + ... 37 + }; 38 + }; 39 + 40 + usb@5a800100 { 41 + compatible = "socionext,uniphier-ehci", "generic-ehci"; 42 + ... 43 + phy-names = "usb"; 44 + phys = <&usb_phy0>; 45 + };