OSDN Git Service

dt-bindings: usb: add #phy-cells to usb-nop-xceiv
authorRob Herring <robh@kernel.org>
Thu, 9 Nov 2017 22:00:55 +0000 (16:00 -0600)
committerRob Herring <robh@kernel.org>
Mon, 13 Nov 2017 22:50:01 +0000 (16:50 -0600)
Consumers of usb-nop-xceiv use the phy binding, but #phy-cells is missing
from the binding. This is probably because this binding predates the
common phy binding. So add #phy-cells as a required property. This should
not break any users as missing should be treated as 0 cells.

Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt

index 5be01c8..4dc6a8e 100644 (file)
@@ -2,6 +2,7 @@ USB NOP PHY
 
 Required properties:
 - compatible: should be usb-nop-xceiv
+- #phy-cells: Must be 0
 
 Optional properties:
 - clocks: phandle to the PHY clock. Use as per Documentation/devicetree
@@ -33,6 +34,7 @@ Example:
                reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
                vbus-detect-gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;
                vbus-regulator = <&vbus_regulator>;
+               #phy-cells = <0>;
        };
 
 hsusb1_phy is a NOP USB PHY device that gets its clock from an oscillator