Skip to content

Commit 0b5bde9

Browse files
robherringgregkh
authored andcommitted
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: 70fcdc8 ("dt-bindings: usb: ti,omap4-musb: convert to DT schema") Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Link: https://patch.msgid.link/20260508182556.1759173-1-robh@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent b53ebb8 commit 0b5bde9

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Documentation/devicetree/bindings/usb/ti,omap4-musb.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,7 @@ properties:
8181
const: usb2-phy
8282

8383
usb-phy:
84-
$ref: /schemas/types.yaml#/definitions/phandle-array
85-
description: Phandle for the PHY device.
86-
deprecated: true
84+
maxItems: 1
8785

8886
ctrl-module:
8987
$ref: /schemas/types.yaml#/definitions/phandle
@@ -96,6 +94,9 @@ required:
9694
- interrupts
9795
- interrupt-names
9896

97+
allOf:
98+
- $ref: usb-hcd.yaml#
99+
99100
unevaluatedProperties: false
100101

101102
examples:

0 commit comments

Comments
 (0)