summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/usb/dwc3-st.txt
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2015-05-07 20:16:53 +0200
committerFelipe Balbi <balbi@ti.com>2015-05-07 20:37:22 +0200
commit5665aec631245ff1b6e03fa5efe7383f4ef379cb (patch)
treec7049043b3eb0ae567c2f6861d35a33f637dd3ac /Documentation/devicetree/bindings/usb/dwc3-st.txt
parentusb: phy-ab8500-usb: Constify platform_device_id (diff)
downloadlinux-5665aec631245ff1b6e03fa5efe7383f4ef379cb.tar.xz
linux-5665aec631245ff1b6e03fa5efe7383f4ef379cb.zip
usb: dwc3: dwc3-st: Update the incorrect DT dwc3 example.
There is a subtle typo phys-names should be phy-names. Using the current example means you don't have working usb (as you fail to obtain the phys). Also update the example to use the generic phy type constants which are now used for miphy28. Additionally also remove the unnecessary new line in the example. Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Maxime Coquelin <maxime.coquelin@st.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/dwc3-st.txt')
-rw-r--r--Documentation/devicetree/bindings/usb/dwc3-st.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/usb/dwc3-st.txt b/Documentation/devicetree/bindings/usb/dwc3-st.txt
index f9d70252bbb2..01c71b1258f4 100644
--- a/Documentation/devicetree/bindings/usb/dwc3-st.txt
+++ b/Documentation/devicetree/bindings/usb/dwc3-st.txt
@@ -49,8 +49,7 @@ st_dwc3: dwc3@8f94000 {
st,syscfg = <&syscfg_core>;
resets = <&powerdown STIH407_USB3_POWERDOWN>,
<&softreset STIH407_MIPHY2_SOFTRESET>;
- reset-names = "powerdown",
- "softreset";
+ reset-names = "powerdown", "softreset";
#address-cells = <1>;
#size-cells = <1>;
pinctrl-names = "default";
@@ -62,7 +61,7 @@ st_dwc3: dwc3@8f94000 {
reg = <0x09900000 0x100000>;
interrupts = <GIC_SPI 155 IRQ_TYPE_NONE>;
dr_mode = "host";
- phys-names = "usb2-phy", "usb3-phy";
- phys = <&usb2_picophy2>, <&phy_port2 MIPHY_TYPE_USB>;
+ phy-names = "usb2-phy", "usb3-phy";
+ phys = <&usb2_picophy2>, <&phy_port2 PHY_TYPE_USB3>;
};
};