Re: [PATCH v2 37/52] dt-bindings: usb: dwc3: Fix usb-phy check

From
Rob Herring <robh@kernel.org>
Date
2021-09-03 19:50:04
Also in
linux-arm-kernel, linux-usb
Reply to
Maxime Ripard, 2021-09-01
On Wed, 01 Sep 2021 11:18:37 +0200, Maxime Ripard wrote:
The original binding was allowing any combination of usb2-phy and
usb3-phy in the phys and phy-names properties.

However, the current binding enforces that those properties must be a
list of usb2-phy and usb3-phy, with exactly one element, effectively
making usb2-phy the only value being valid.

Let's rework the properties description to allow either one or two
element picked with values either usb2-phy or usb3-phy. The rest of the
tooling makes sure that we don't get any duplicate value, so this should
be what we want.

Cc: Felipe Balbi <balbi@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: <redacted>
Signed-off-by: Maxime Ripard <redacted>
---
 Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
Reviewed-by: Rob Herring <robh@kernel.org>
Thread (125 messages) 125 messages, 13 authors, last reply 2021-10-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help