* [PATCH] dt-bindings: usb: ci-hdrc-usb2: allow multiple PHYs
@ 2023-04-20 6:50 Krzysztof Kozlowski
2023-04-20 16:57 ` Rob Herring
2023-04-21 1:13 ` Peng Fan
0 siblings, 2 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-04-20 6:50 UTC (permalink / raw)
To: Greg Kroah-Hartman, Rob Herring, Krzysztof Kozlowski, Xu Yang,
Peng Fan, linux-usb, devicetree, linux-kernel
Cc: Krzysztof Kozlowski
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>
---
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: usb: ci-hdrc-usb2: allow multiple PHYs
2023-04-20 6:50 [PATCH] dt-bindings: usb: ci-hdrc-usb2: allow multiple PHYs Krzysztof Kozlowski
@ 2023-04-20 16:57 ` Rob Herring
2023-04-21 1:13 ` Peng Fan
1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2023-04-20 16:57 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Peng Fan, devicetree, Greg Kroah-Hartman, Xu Yang, linux-usb,
Rob Herring, linux-kernel, Krzysztof Kozlowski
On Thu, 20 Apr 2023 08:50:51 +0200, Krzysztof Kozlowski wrote:
> 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>
>
> ---
>
> DTS will be fixed separately.
> ---
> Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: usb: ci-hdrc-usb2: allow multiple PHYs
2023-04-20 6:50 [PATCH] dt-bindings: usb: ci-hdrc-usb2: allow multiple PHYs Krzysztof Kozlowski
2023-04-20 16:57 ` Rob Herring
@ 2023-04-21 1:13 ` Peng Fan
1 sibling, 0 replies; 3+ messages in thread
From: Peng Fan @ 2023-04-21 1:13 UTC (permalink / raw)
To: Krzysztof Kozlowski, Greg Kroah-Hartman, Rob Herring,
Krzysztof Kozlowski, Xu Yang, Peng Fan, linux-usb, devicetree,
linux-kernel
On 4/20/2023 2:50 PM, Krzysztof Kozlowski wrote:
> 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>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-04-21 1:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-20 6:50 [PATCH] dt-bindings: usb: ci-hdrc-usb2: allow multiple PHYs Krzysztof Kozlowski
2023-04-20 16:57 ` Rob Herring
2023-04-21 1:13 ` Peng Fan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®