[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <173892032595.3714424.13095199531321692299.robh@kernel.org>
Date: Fri, 07 Feb 2025 03:25:25 -0600
From: "Rob Herring (Arm)" <robh@...nel.org>
To: Jammy Huang <jammy_huang@...eedtech.com>
Cc: linux-media@...r.kernel.org, conor+dt@...nel.org,
devicetree@...r.kernel.org, krzk+dt@...nel.org, eajames@...ux.ibm.com,
mchehab@...nel.org, andrew@...id.au, openbmc@...ts.ozlabs.org,
linux-aspeed@...ts.ozlabs.org, linux-kernel@...r.kernel.org, joel@....id.au,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v3] media: dt-bindings: aspeed,video-engine: Convert to
json schema
On Fri, 07 Feb 2025 16:23:51 +0800, Jammy Huang wrote:
> Convert aspeed-video.txt to yaml format.
> Update aspeed-video.txt to aspeed,video-engine.yaml in MAINTAINER file.
>
> Additional changes:
> - Two phandle properties, 'aspeed,scu' and 'aspeed,gfx', are added for
> video engine to capture video from sources other than VGA.
> - Update examples and include appropriate file directives to resolve
> errors identified by `dt_binding_check` and `dtbs_check`.
>
> Signed-off-by: Jammy Huang <jammy_huang@...eedtech.com>
> ---
> v3:
> - Add Additional changes into comments.
> - Remove | after phandle description
>
> v2:
> - Update patch subject
> - Add NOTE for false positive warning
> ---
> .../bindings/media/aspeed,video-engine.yaml | 84 +++++++++++++++++++
> .../bindings/media/aspeed-video.txt | 33 --------
> MAINTAINERS | 2 +-
> 3 files changed, 85 insertions(+), 34 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/media/aspeed,video-engine.yaml
> delete mode 100644 Documentation/devicetree/bindings/media/aspeed-video.txt
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
./Documentation/devicetree/bindings/media/aspeed,video-engine.yaml:44:55: [error] syntax error: mapping values are not allowed here (syntax)
dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/media/aspeed,video-engine.yaml: ignoring, error parsing file
./Documentation/devicetree/bindings/media/aspeed,video-engine.yaml:44:55: mapping values are not allowed in this context
make[2]: *** Deleting file 'Documentation/devicetree/bindings/media/aspeed,video-engine.example.dts'
Documentation/devicetree/bindings/media/aspeed,video-engine.yaml:44:55: mapping values are not allowed in this context
make[2]: *** [Documentation/devicetree/bindings/Makefile:26: Documentation/devicetree/bindings/media/aspeed,video-engine.example.dts] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/builds/robherring/dt-review-ci/linux/Makefile:1511: dt_binding_check] Error 2
make: *** [Makefile:251: __sub-make] Error 2
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20250207082351.1298990-1-jammy_huang@aspeedtech.com
The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.
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 after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.
Powered by blists - more mailing lists