lkml.org 
[lkml]   [2021]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH v1 1/5] dt-bindings: usb: convert rockchip,dwc3.txt to yaml
    Date
    On Mon, 01 Feb 2021 20:41:01 +0100, Johan Jonker wrote:
    > In the past Rockchip dwc3 usb nodes were manually checked.
    > With the conversion of snps,dwc3.yaml as common document
    > we now can convert rockchip,dwc3.txt to yaml as well.
    >
    > Added properties for rk3399 are:
    > resets
    > reset-names
    >
    > Generic properties that are now also filtered:
    > "#address-cells"
    > "#size-cells"
    > ranges
    >
    > Signed-off-by: Johan Jonker <jbx6244@gmail.com>
    > ---
    > .../devicetree/bindings/usb/rockchip,dwc3.txt | 56 -----------
    > .../devicetree/bindings/usb/rockchip,dwc3.yaml | 107 +++++++++++++++++++++
    > 2 files changed, 107 insertions(+), 56 deletions(-)
    > delete mode 100644 Documentation/devicetree/bindings/usb/rockchip,dwc3.txt
    > create mode 100644 Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml
    >

    My bot found errors running 'make dt_binding_check' on your patch:

    yamllint warnings/errors:

    dtschema/dtc warnings/errors:
    Unknown file referenced: [Errno 2] No such file or directory: '/usr/local/lib/python3.8/dist-packages/dtschema/schemas/usb/snps,dwc3.yaml'
    xargs: dt-doc-validate: exited with status 255; aborting
    Documentation/devicetree/bindings/usb/rockchip,dwc3.example.dts:31.11-18: Warning (ranges_format): /example-0/usb@fe800000:ranges: empty "ranges" property but its #address-cells (2) differs from /example-0 (1)
    Documentation/devicetree/bindings/usb/rockchip,dwc3.example.dts:31.11-18: Warning (ranges_format): /example-0/usb@fe800000:ranges: empty "ranges" property but its #size-cells (2) differs from /example-0 (1)
    Documentation/devicetree/bindings/usb/rockchip,dwc3.example.dts:21.33-38.11: Warning (unit_address_vs_reg): /example-0/usb@fe800000: node has a unit name, but no reg or ranges property
    make[1]: *** Deleting file 'Documentation/devicetree/bindings/usb/rockchip,dwc3.example.dt.yaml'
    Unknown file referenced: [Errno 2] No such file or directory: '/usr/local/lib/python3.8/dist-packages/dtschema/schemas/usb/snps,dwc3.yaml'
    make[1]: *** [scripts/Makefile.lib:344: Documentation/devicetree/bindings/usb/rockchip,dwc3.example.dt.yaml] Error 255
    make[1]: *** Waiting for unfinished jobs....
    make: *** [Makefile:1370: dt_binding_check] Error 2

    See https://patchwork.ozlabs.org/patch/1434297

    This check can fail if there are any dependencies. The base for a patch
    series is generally the most recent rc1.

    If you already ran 'make dt_binding_check' and didn't see the above
    error(s), then make sure 'yamllint' is installed and dt-schema is up to
    date:

    pip3 install dtschema --upgrade

    Please check and re-submit.

    \
     
     \ /
      Last update: 2021-02-02 18:49    [W:4.657 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site