dt-bindings: usb: ci-hdrc-usb2: Allow "fsl,imx27-usb" to be passed alone
authorFabio Estevam <festevam@denx.de>
Sun, 24 Sep 2023 16:03:51 +0000 (13:03 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Oct 2023 14:32:12 +0000 (16:32 +0200)
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>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230924160351.692867-1-festevam@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml

index 1394557517b1822d8502b8502160f0d6bc857b1a..cd58ab3cc1438b755e0738ac43948d5e938d9d2a 100644 (file)
@@ -15,6 +15,7 @@ properties:
     oneOf:
       - enum:
           - chipidea,usb2
+          - fsl,imx27-usb
           - lsi,zevio-usb
           - nvidia,tegra20-ehci
           - nvidia,tegra20-udc