summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/usb
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2023-04-20 09:50:51 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-20 12:17:17 +0300
commita804a47658ced9e9cc6b6000846ddf208362f1b3 (patch)
treeed9a7210aea6aaad3a30b1bd0577134f81146cc4 /Documentation/devicetree/bindings/usb
parent41792870dc1cb8305ca04d563cabd63833e94762 (diff)
downloadlinux-a804a47658ced9e9cc6b6000846ddf208362f1b3.tar.xz
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>
Diffstat (limited to 'Documentation/devicetree/bindings/usb')
-rw-r--r--Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml
index e5e4dbc5a7a0..b26d26c2b023 100644
--- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml
+++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml
@@ -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