devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: usb: ci-hdrc-usb2: Allow "fsl,imx27-usb" to be passed alone
@ 2023-09-24 16:03 Fabio Estevam
  2023-09-24 17:55 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2023-09-24 16:03 UTC (permalink / raw)
  To: gregkh
  Cc: robh+dt, krzysztof.kozlowski+dt, conor+dt, linux-usb, devicetree,
	Fabio Estevam

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(+)

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
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: usb: ci-hdrc-usb2: Allow "fsl,imx27-usb" to be passed alone
  2023-09-24 16:03 [PATCH] dt-bindings: usb: ci-hdrc-usb2: Allow "fsl,imx27-usb" to be passed alone Fabio Estevam
@ 2023-09-24 17:55 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2023-09-24 17:55 UTC (permalink / raw)
  To: Fabio Estevam, gregkh
  Cc: robh+dt, krzysztof.kozlowski+dt, conor+dt, linux-usb, devicetree,
	Fabio Estevam

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-24 17:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-24 16:03 [PATCH] dt-bindings: usb: ci-hdrc-usb2: Allow "fsl,imx27-usb" to be passed alone Fabio Estevam
2023-09-24 17:55 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).