Commit 3aa3c66a authored by Maxime Ripard's avatar Maxime Ripard Committed by Greg Kroah-Hartman

dt-bindings: usb: Bring back phy-names

While the original bindings that were superseeded by the YAML schemas
didn't mention that phy-names was needed, it turns out that phy-names is
required if phys is set according to phy/phy-bindings.txt.

Let's add back those properties.

Fixes: 14ec072a ("dt-bindings: usb: Convert USB HCD generic binding to YAML")
Fixes: c93bcace ("dt-bindings: usb: Convert the generic OHCI binding to YAML")
Fixes: c3e2485d ("dt-bindings: usb: Convert the generic EHCI binding to YAML")
Reported-by: default avatarEmmanuel Vadot <manu@bidouilliste.com>
Signed-off-by: default avatarMaxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20191002112651.100504-2-mripard@kernel.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e6064cf4
...@@ -63,7 +63,11 @@ properties: ...@@ -63,7 +63,11 @@ properties:
description: description:
Set this flag to force EHCI reset after resume. Set this flag to force EHCI reset after resume.
phys: true phys:
description: PHY specifier for the USB PHY
phy-names:
const: usb
required: required:
- compatible - compatible
...@@ -89,6 +93,7 @@ examples: ...@@ -89,6 +93,7 @@ examples:
interrupts = <39>; interrupts = <39>;
clocks = <&ahb_gates 1>; clocks = <&ahb_gates 1>;
phys = <&usbphy 1>; phys = <&usbphy 1>;
phy-names = "usb";
}; };
... ...
...@@ -67,7 +67,11 @@ properties: ...@@ -67,7 +67,11 @@ properties:
description: description:
Overrides the detected port count Overrides the detected port count
phys: true phys:
description: PHY specifier for the USB PHY
phy-names:
const: usb
required: required:
- compatible - compatible
...@@ -84,6 +88,7 @@ examples: ...@@ -84,6 +88,7 @@ examples:
interrupts = <64>; interrupts = <64>;
clocks = <&usb_clk 6>, <&ahb_gates 2>; clocks = <&usb_clk 6>, <&ahb_gates 2>;
phys = <&usbphy 1>; phys = <&usbphy 1>;
phy-names = "usb";
}; };
... ...
...@@ -18,8 +18,13 @@ properties: ...@@ -18,8 +18,13 @@ properties:
description: description:
List of all the USB PHYs on this HCD List of all the USB PHYs on this HCD
phy-names:
description:
Name specifier for the USB PHY
examples: examples:
- | - |
usb { usb {
phys = <&usb2_phy1>, <&usb3_phy1>; phys = <&usb2_phy1>, <&usb3_phy1>;
phy-names = "usb";
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment