Skip to contentSkip to conversation

dt-bindings: usb: ci-hdrc-usb2: Allow "fsl,imx27-usb" to be passed alone

PATCH In review Fabio Estevam 2 participants 2 messages Sep 24, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: usb: ci-hdrc-usb2: Allow "fsl,imx27-usb" to be passed alone

From: Fabio Estevam <[email protected]>

imx27.dtsi describes its usb nodes as:

compatible = "fsl,imx27-usb";

Adjust the bindings to allow it and avoid the following schema warning:

usb@10024000: compatible: 'oneOf' conditional failed, one must be fixed:

	['fsl,imx27-usb'] is too short
---
 Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml +1 -0
index 1394557517b1..cd58ab3cc143 100644
@@ -15,6 +15,7 @@ properties:
     oneOf:
       - enum:
           - chipidea,usb2
+          - fsl,imx27-usb
           - lsi,zevio-usb
           - nvidia,tegra20-ehci
           - nvidia,tegra20-udc
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

imx27.dtsi describes its usb nodes as:

compatible = "fsl,imx27-usb";

Adjust the bindings to allow it and avoid the following schema warning:

usb@10024000: compatible: 'oneOf' conditional failed, one must be fixed:

	['fsl,imx27-usb'] is too short

This probably could go with a fixes tag. In any case:

Best regards,
Krzysztof