On Sun, Jan 15, 2023 at 05:11:42PM +0530, Krishna Kurapati wrote: > diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml [..] > phy-names: > minItems: 1 > - maxItems: 2 > - items: > - enum: > - - usb2-phy > - - usb3-phy > + maxItems: 8 > + oneOf: > + - items: > + enum: > + - usb2-phy > + - usb3-phy > + - items: > + enum: > + - usb2-phy_port0 > + - usb2-phy_port1 > + - usb2-phy_port2 > + - usb2-phy_port3 > + - usb3-phy_port0 > + - usb3-phy_port1 > + - usb3-phy_port2 > + - usb3-phy_port3 How about expressing this as: oneOf: - items: enum: [ usb2-phy, usb3-phy ] - items: pattern: "^usb[23]-phy_port[0-3]$" Regards, Bjorn