diff mbox series

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

Message ID 20230924160351.692867-1-festevam@gmail.com (mailing list archive)
State Accepted
Commit 0e650c94a422be51b1dbe3cb4598ab247adabb29
Headers show
Series dt-bindings: usb: ci-hdrc-usb2: Allow "fsl,imx27-usb" to be passed alone | expand

Commit Message

Fabio Estevam Sept. 24, 2023, 4:03 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

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

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml | 1 +
 1 file changed, 1 insertion(+)

Comments

Krzysztof Kozlowski Sept. 24, 2023, 5:55 p.m. UTC | #1
On 24/09/2023 18:03, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> 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:

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml
index 1394557517b1..cd58ab3cc143 100644
--- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml
+++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml
@@ -15,6 +15,7 @@  properties:
     oneOf:
       - enum:
           - chipidea,usb2
+          - fsl,imx27-usb
           - lsi,zevio-usb
           - nvidia,tegra20-ehci
           - nvidia,tegra20-udc