summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@bootlin.com>2019-07-03 11:55:13 +0200
committerRob Herring <robh@kernel.org>2019-07-03 13:18:58 -0600
commit5ff88144f5880f7fafcb6a8e913eadca4cb233c8 (patch)
tree0b46cacf6cf8a76119284833491406be0df76f80
parent67d0da99163f99eb39a931e79b128cbf0647dfdb (diff)
downloadlinux-5ff88144f5880f7fafcb6a8e913eadca4cb233c8.tar.gz
linux-5ff88144f5880f7fafcb6a8e913eadca4cb233c8.tar.bz2
linux-5ff88144f5880f7fafcb6a8e913eadca4cb233c8.zip
dt-bindings: usb: ehci: Fix example warnings
The example of the EHCI binding generates a bunch of warnings now that the examples are validated too. Most notably, phy-names isn't used at all, and the node name should be USB. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/usb/generic-ehci.yaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml
index d3b4f6415920..059f6ef1ad4a 100644
--- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml
+++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml
@@ -74,7 +74,7 @@ additionalProperties: false
examples:
- |
- ehci@e0000300 {
+ usb@e0000300 {
compatible = "ibm,usb-ehci-440epx", "generic-ehci";
interrupt-parent = <&UIC0>;
interrupts = <0x1a 4>;
@@ -89,7 +89,6 @@ examples:
interrupts = <39>;
clocks = <&ahb_gates 1>;
phys = <&usbphy 1>;
- phy-names = "usb";
};
...