diff options
author | Matt Porter <mporter@linaro.org> | 2013-12-19 09:23:03 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-12-23 15:26:27 -0500 |
commit | 65b4eb9e351362ff8d41b873989e13a8fd35d13a (patch) | |
tree | 133f653654104237f2a23e9a63002ab1f4077856 | |
parent | 8feed347d33bb630d426b9f2ed88cbdf9795f624 (diff) |
staging: dwc2: update DT binding to add generic clock/phy properties
dwc2/s3c-hsotg require a single clock to be specified and optionally
a generic phy. On the s3c-hsotg driver old style USB phy support is
present as a fallback so the generic phy properties are optional.
Signed-off-by: Matt Porter <mporter@linaro.org>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
-rw-r--r-- | Documentation/devicetree/bindings/staging/dwc2.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/staging/dwc2.txt b/Documentation/devicetree/bindings/staging/dwc2.txt index 1a1b7cfa4845..a1753ed0dd84 100644 --- a/Documentation/devicetree/bindings/staging/dwc2.txt +++ b/Documentation/devicetree/bindings/staging/dwc2.txt | |||
@@ -5,6 +5,14 @@ Required properties: | |||
5 | - compatible : "snps,dwc2" | 5 | - compatible : "snps,dwc2" |
6 | - reg : Should contain 1 register range (address and length) | 6 | - reg : Should contain 1 register range (address and length) |
7 | - interrupts : Should contain 1 interrupt | 7 | - interrupts : Should contain 1 interrupt |
8 | - clocks: clock provider specifier | ||
9 | - clock-names: shall be "otg" | ||
10 | Refer to clk/clock-bindings.txt for generic clock consumer properties | ||
11 | |||
12 | Optional properties: | ||
13 | - phys: phy provider specifier | ||
14 | - phy-names: shall be "device" | ||
15 | Refer to phy/phy-bindings.txt for generic phy consumer properties | ||
8 | 16 | ||
9 | Example: | 17 | Example: |
10 | 18 | ||
@@ -12,4 +20,8 @@ Example: | |||
12 | compatible = "ralink,rt3050-usb, snps,dwc2"; | 20 | compatible = "ralink,rt3050-usb, snps,dwc2"; |
13 | reg = <0x101c0000 40000>; | 21 | reg = <0x101c0000 40000>; |
14 | interrupts = <18>; | 22 | interrupts = <18>; |
23 | clocks = <&usb_otg_ahb_clk>; | ||
24 | clock-names = "otg"; | ||
25 | phys = <&usbphy>; | ||
26 | phy-names = "usb2-phy"; | ||
15 | }; | 27 | }; |