[PATCH 02/10] dt-bindings: usb: ci-hdrc-usb2: allow the HSIC PHY as the ULPI child
Dmitry Baryshkov <[email protected]>
| Newsgroups | org.infradead.lists.linux-phy,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-gpio,org.kernel.vger.linux-kernel,org.kernel.vger.linux-usb |
|---|---|
| Message-ID | <[email protected]> |
The Qualcomm HSIC USB PHY (qcom,usb-hsic-phy.yaml) is a ULPI device: its driver is a ulpi_driver, so the PHY node must be a child of the chipidea controller's ulpi node. The ci-hdrc-usb2 schema however hard-codes the ULPI phy child to the qcom,usb-hs-phy.yaml schema, so any HSIC controller instance fails validation with bogus clock/reset/compatible errors. Allow the ULPI phy child node to match either the HS PHY or the HSIC PHY schema. Assisted-by: Claude:claude-fable-5 Signed-off-by: Dmitry Baryshkov <[email protected]> --- Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml index 620b564914d4..97ebf9e031dd 100644 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml @@ -83,7 +83,9 @@ properties: "^phy(-[0-9])?$": description: The phy child node for Qcom chips. type: object - $ref: /schemas/phy/qcom,usb-hs-phy.yaml + oneOf: + - $ref: /schemas/phy/qcom,usb-hs-phy.yaml + - $ref: /schemas/phy/qcom,usb-hsic-phy.yaml required: - compatible -- 2.47.3 -- linux-phy mailing list [email protected] https://lists.infradead.org/mailman/listinfo/linux-phy