Message ID | 20220314181830.245853-1-krzysztof.kozlowski@canonical.com |
---|---|
State | Accepted |
Commit | 801109b1a37ad99784e6370cc7e462596f505ea3 |
Headers | show |
Series | dt-bindings: usb: hcd: correct usb-device path | expand |
On Mon, Mar 14, 2022 at 12:18 PM Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> wrote: > > The usb-device.yaml reference is absolute so it should use /schemas part > in path. > > Reported-by: Rob Herring <robh@kernel.org> > Fixes: 23bf6fc7046c ("dt-bindings: usb: convert usb-device.txt to YAML schema") > Cc: <stable@vger.kernel.org> > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> > --- > Documentation/devicetree/bindings/usb/usb-hcd.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Rob Herring <robh@kernel.org> I've done a meta-schema and found a few more I'll send a patch for. Rob
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
The usb-device.yaml reference is absolute so it should use /schemas part in path. Reported-by: Rob Herring <robh@kernel.org> Fixes: 23bf6fc7046c ("dt-bindings: usb: convert usb-device.txt to YAML schema") Cc: <stable@vger.kernel.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> --- Documentation/devicetree/bindings/usb/usb-hcd.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)