Skip to contentSkip to conversation

dt-bindings: usb: ti,omap4-musb: Drop duplicate 'usb-phy' property constraints

PATCH New Rob Herring (Arm) 1 participant 1 message May 8

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: usb: ti,omap4-musb: Drop duplicate 'usb-phy' property constraints

The deprecated 'usb-phy' property is documented already in usb.yaml and doesn't need a type definition here. It just needs constraints on how many entries there are.

As this is a host controller, reference usb-hcd.yaml which then references usb.yaml.

Fixes 70fcdc82cf4a ("dt-bindings: usb: ti,omap4-musb: convert to DT schema")
---
 Documentation/devicetree/bindings/usb/ti,omap4-musb.yaml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/usb/ti,omap4-musb.yaml +4 -3
index a3d15f217658..e1887e490e02 100644
@@ -81,9 +81,7 @@ properties:
     const: usb2-phy
 
   usb-phy:
-    $ref: /schemas/types.yaml#/definitions/phandle-array
-    description: Phandle for the PHY device.
-    deprecated: true
+    maxItems: 1
 
   ctrl-module:
     $ref: /schemas/types.yaml#/definitions/phandle
@@ -96,6 +94,9 @@ required:
   - interrupts
   - interrupt-names
 
+allOf:
+  - $ref: usb-hcd.yaml#
+
 unevaluatedProperties: false
 
 examples:
Signature · 1 line
2.53.0