Re: [PATCH 3/3] dt-bindings: <hwmon>: add sht3x devicetree binding

From: Rob Herring
Date: Sat Jun 24 2023 - 13:33:17 EST



On Sun, 25 Jun 2023 00:01:48 +0800, JuenKit_Yip@xxxxxxxxxxx wrote:
> From: JuenKit Yip <JuenKit_Yip@xxxxxxxxxxx>
>
> add sht3x devicetree binding files
>
> Signed-off-by: JuenKit Yip <JuenKit_Yip@xxxxxxxxxxx>
> ---
> .../devicetree/bindings/hwmon/sht3x.yaml | 31 +++++++++++++++++++
> .../devicetree/bindings/trivial-devices.yaml | 4 +++
> 2 files changed, 35 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/hwmon/sht3x.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:
./Documentation/devicetree/bindings/hwmon/sht3x.yaml:2:2: [error] syntax error: expected alphabetic or numeric character, but found ' ' (syntax)

dtschema/dtc warnings/errors:
make[1]: *** Deleting file 'Documentation/devicetree/bindings/hwmon/sht3x.example.dts'
Documentation/devicetree/bindings/hwmon/sht3x.yaml:2:2: could not find expected directive name
make[1]: *** [Documentation/devicetree/bindings/Makefile:26: Documentation/devicetree/bindings/hwmon/sht3x.example.dts] Error 1
make[1]: *** Waiting for unfinished jobs....
./Documentation/devicetree/bindings/hwmon/sht3x.yaml:2:2: could not find expected directive name
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/hwmon/sht3x.yaml: ignoring, error parsing file
make: *** [Makefile:1512: dt_binding_check] Error 2

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/DB4PR10MB626179DE1C511B10ECA74D209220A@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

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.