]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dt-bindings: phy: imx8mq-usb: correct reference to usb-switch.yaml
authorXu Yang <xu.yang_2@nxp.com>
Tue, 19 Nov 2024 10:50:17 +0000 (18:50 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 4 Dec 2024 14:21:01 +0000 (19:51 +0530)
commit2318ca5994599bb4d287e9e00ae87e0855cba712
tree4d0b85e9eaca49ad07c6cee0a73815e572ba1fe6
parent691cdb40d521809bec03788c29dcf8f7a4f9cf76
dt-bindings: phy: imx8mq-usb: correct reference to usb-switch.yaml

The i.MX95 usb-phy can work with or without orientation-switch. With
current setting, if usb-phy works without orientation-switch, the
dt-schema check will show below error:

phy@4c1f0040: 'oneOf' conditional failed, one must be fixed:
        'port' is a required property
        'ports' is a required property
        from schema $id: http://devicetree.org/schemas/phy/fsl,imx8mq-usb-phy.yaml#

This will correct the behavior of referring to usb-switch.yaml.

Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20241119105017.917833-1-xu.yang_2@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/phy/fsl,imx8mq-usb-phy.yaml