[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230420065051.22994-1-krzysztof.kozlowski@linaro.org>
Date: Thu, 20 Apr 2023 08:50:51 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Xu Yang <xu.yang_2@....com>, Peng Fan <peng.fan@....com>,
linux-usb@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Subject: [PATCH] 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@...aro.org>
---
DTS will be fixed separately.
---
Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml | 5 +++--
1 file 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
--
2.34.1
Powered by blists - more mailing lists