summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2019-04-30 17:59:38 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-30 18:55:08 +0300
commit70833b84dac2d017ea119660e331b7dc7635c3a7 (patch)
treed51d50e784565a0a8393a4957f43554ab8339aad /Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt
parenta84014e1db35d8e7af09878d0b4bf30804fb17d5 (diff)
downloadlinux-70833b84dac2d017ea119660e331b7dc7635c3a7.tar.xz
dt-bindings: usb: Add usb-phy property to the jz4740-musb node
Add a required 'usb-phy' property, to obtain a phandle to the USB PHY from devicetree. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Bin Liu <b-liu@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt')
-rw-r--r--Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt b/Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt
index 620355cee63f..16808721f3ff 100644
--- a/Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt
+++ b/Documentation/devicetree/bindings/usb/ingenic,jz4740-musb.txt
@@ -8,9 +8,15 @@ Required properties:
- interrupt-names: must be "mc"
- clocks: phandle to the "udc" clock
- clock-names: must be "udc"
+- phys: phandle to the USB PHY
Example:
+usb_phy: usb-phy@0 {
+ compatible = "usb-nop-xceiv";
+ #phy-cells = <0>;
+};
+
udc: usb@13040000 {
compatible = "ingenic,jz4740-musb";
reg = <0x13040000 0x10000>;
@@ -21,4 +27,6 @@ udc: usb@13040000 {
clocks = <&cgu JZ4740_CLK_UDC>;
clock-names = "udc";
+
+ phys = <&usb_phy>;
};