Dnia Fri, Sep 24, 2021 at 07:45:00AM -0500, Rob Herring napisał(a):
On Fri, 24 Sep 2021 11:38:50 +0200, Krzysztof Adamski wrote:
Add basic description of the tmp421 driver DT bindings.
Signed-off-by: Krzysztof Adamski <krzysztof.adamski@xxxxxxxxx>
---
.../devicetree/bindings/hwmon/ti,tmp421.yaml | 43 +++++++++++++++++++
1 file changed, 43 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/ti,tmp421.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/hwmon/ti,tmp421.yaml: $id: relative path/filename doesn't match actual path or filename
expected: http://devicetree.org/schemas/hwmon/ti,tmp421.yaml#
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/patch/1532139
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.
Hi,
Makes sense, after seeing the series of patches converting the old .txt
style binding documentation on hwmon-next, I realised the file should
not be called tmp421.yaml but ti,tmp421.yaml and I renamed it but
forgout about the $id.
I'll resubmit the fixed version soon, but I will first make sure my
system can also catch those errors too.
Krzysztof