summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2017-11-09 16:00:55 -0600
committerRob Herring <robh@kernel.org>2017-11-13 16:50:01 -0600
commitaa25e446ce76c37bfd75ac06598c316af94e9a26 (patch)
treee66ecdded1609ac5eaefdfbac75f5fb45144a889
parent27e8524d80b7f7fa28a3c1adae5176715231caf2 (diff)
downloadlinux-aa25e446ce76c37bfd75ac06598c316af94e9a26.tar.gz
linux-aa25e446ce76c37bfd75ac06598c316af94e9a26.tar.bz2
linux-aa25e446ce76c37bfd75ac06598c316af94e9a26.zip
dt-bindings: usb: add #phy-cells to usb-nop-xceiv
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>
-rw-r--r--Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt b/Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt
index 5be01c859b7a..4dc6a8ee3071 100644
--- a/Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt
+++ b/Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt
@@ -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