On 8/6/24 21:49, Rob Herring (Arm) wrote:
External email : Please do not click links or open attachments until you
have verified the sender or the content.
On Tue, 06 Aug 2024 20:25:07 +0800, Macpaul Lin wrote:
Convert the MediaTek MT6397 regulator bindings to DT schema.
Signed-off-by: Sen Chu <sen.chu@xxxxxxxxxxxx>
Signed-off-by: Macpaul Lin <macpaul.lin@xxxxxxxxxxxx>
---
.../regulator/mediatek,mt6397-regulator.yaml | 275 ++++++++++++++++++
.../bindings/regulator/mt6397-regulator.txt | 220 --------------
2 files changed, 275 insertions(+), 220 deletions(-)
create mode 100644 Documentation/devicetree/bindings/regulator/mediatek,mt6397-regulator.yaml
delete mode 100644 Documentation/devicetree/bindings/regulator/mt6397-regulator.txt
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
Documentation/devicetree/bindings/regulator/mediatek,mt6397-regulator.example.dtb: /example-0/pwrap/pmic: failed to match any schema with compatible: ['mediatek,mt6397']
Thanks for the reminding.
I'm already using the latest dtschema (2024.05).
I've found the difference that I find this error because I'm always
using the command to run dt_binding_check.
"make dt_binding_check DT_SCHEMA_FILES=mediatek,mt6397-regulator.yaml"
After I've replace the command to full dt_binding_check, I can find this
error now with "make dt_binding_check".
Just report the difference of running checking tools.
I'll fix this error in the next patch. Thanks!
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20240806122507.2766-1-macpaul.lin@xxxxxxxxxxxx
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.
Best regards,
Macpaul Lin