Skip to content

Commit

Permalink
dt-bindings: usb: add #phy-cells to usb-nop-xceiv
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
robherring committed Nov 13, 2017
1 parent 27e8524 commit aa25e44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit aa25e44

Please sign in to comment.