dt-bindings: usb: ci-hdrc-usb2: allow multiple PHYs

Qualcomm MSM8974 comes with USB HS phy in two variants, although final
DTS chooses only one.  Allow such combination in the ChipIdea USB2
bindings and also disallow any other properties in the ulpi node.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230420065051.22994-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Krzysztof Kozlowski 2023-04-20 08:50:51 +02:00 committed by Greg Kroah-Hartman
parent 41792870dc
commit a804a47658
1 changed files with 3 additions and 2 deletions

View File

@ -322,8 +322,9 @@ properties:
ulpi:
type: object
properties:
phy:
additionalProperties: false
patternProperties:
"^phy(-[0-9])?$":
description: The phy child node for Qcom chips.
type: object
$ref: /schemas/phy/qcom,usb-hs-phy.yaml