]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dt-bindings: usb: ehci: Fix example warnings
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 3 Jul 2019 09:55:13 +0000 (11:55 +0200)
committerRob Herring <robh@kernel.org>
Wed, 3 Jul 2019 19:18:58 +0000 (13:18 -0600)
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>
Documentation/devicetree/bindings/usb/generic-ehci.yaml

index d3b4f64159202a7f2424e9c4945c8a65b90ceefb..059f6ef1ad4a5a587055615355cbae5c3140f26c 100644 (file)
@@ -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";
     };
 
 ...