Răsfoiți Sursa

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>
Rob Herring 7 ani în urmă
părinte
comite
aa25e446ce
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt

+ 2 - 0
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