2022-03-15 18:27:26

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH] dt-bindings: usb: hcd: correct usb-device path

The usb-device.yaml reference is absolute so it should use /schemas part
in path.

Reported-by: Rob Herring <[email protected]>
Fixes: 23bf6fc7046c ("dt-bindings: usb: convert usb-device.txt to YAML schema")
Cc: <[email protected]>
Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
Documentation/devicetree/bindings/usb/usb-hcd.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml
index 56853c17af66..1dc3d5d7b44f 100644
--- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml
+++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml
@@ -33,7 +33,7 @@ patternProperties:
"^.*@[0-9a-f]{1,2}$":
description: The hard wired USB devices
type: object
- $ref: /usb/usb-device.yaml
+ $ref: /schemas/usb/usb-device.yaml

additionalProperties: true

--
2.32.0


2022-03-17 01:28:18

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: usb: hcd: correct usb-device path

On Mon, Mar 14, 2022 at 12:18 PM Krzysztof Kozlowski
<[email protected]> wrote:
>
> The usb-device.yaml reference is absolute so it should use /schemas part
> in path.
>
> Reported-by: Rob Herring <[email protected]>
> Fixes: 23bf6fc7046c ("dt-bindings: usb: convert usb-device.txt to YAML schema")
> Cc: <[email protected]>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---
> Documentation/devicetree/bindings/usb/usb-hcd.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Rob Herring <[email protected]>

I've done a meta-schema and found a few more I'll send a patch for.

Rob