Re: [PATCH] dt-bindings: media: venus: Add sc7280 dt schema

From: dikshita
Date: Wed Apr 28 2021 - 08:20:35 EST


Hi Rob,
Thanks for your comment.

Actually, this change depends on https://patchwork.kernel.org/project/linux-arm-msm/list/?series=473809
which adds the file dt-bindings/clock/qcom,videocc-sc7280.h (v2 5/6)
Missed adding the dependency in commit text.

Thanks,
Dikshita

On 2021-04-27 02:34, Rob Herring wrote:
On Mon, 26 Apr 2021 15:51:55 +0530, Dikshita Agarwal wrote:
Add a schema description for the venus video encoder/decoder on the sc7280.

Signed-off-by: Dikshita Agarwal <dikshita@xxxxxxxxxxxxxx>
---
.../bindings/media/qcom,sc7280-venus.yaml | 158 +++++++++++++++++++++
1 file changed, 158 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/qcom,sc7280-venus.yaml


My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
on your patch (DT_CHECKER_FLAGS is new in v5.13):

yamllint warnings/errors:

dtschema/dtc warnings/errors:
Documentation/devicetree/bindings/media/qcom,sc7280-venus.example.dts:19:18:
fatal error: dt-bindings/clock/qcom,videocc-sc7280.h: No such file or
directory
19 | #include <dt-bindings/clock/qcom,videocc-sc7280.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [scripts/Makefile.lib:377:
Documentation/devicetree/bindings/media/qcom,sc7280-venus.example.dt.yaml]
Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1414: dt_binding_check] Error 2

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

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.