[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <MA0P287MB033232CAFAC0C3D638C3AC57FE86A@MA0P287MB0332.INDP287.PROD.OUTLOOK.COM>
Date: Tue, 5 Dec 2023 07:39:49 +0800
From: Chen Wang <unicorn_wang@...look.com>
To: Rob Herring <robh@...nel.org>, Chen Wang <unicornxw@...il.com>
Cc: guoren@...nel.org, robh+dt@...nel.org, samuel.holland@...ive.com,
jszhang@...nel.org, linux-kernel@...r.kernel.org,
mturquette@...libre.com, richardcochran@...il.com,
paul.walmsley@...ive.com, conor@...nel.org, inochiama@...look.com,
linux-clk@...r.kernel.org, palmer@...belt.com, sboyd@...nel.org,
krzysztof.kozlowski+dt@...aro.org, xiaoguang.xing@...hgo.com,
devicetree@...r.kernel.org, chao.wei@...hgo.com,
aou@...s.berkeley.edu, linux-riscv@...ts.infradead.org,
haijiao.liu@...hgo.com
Subject: Re: [PATCH v3 1/4] dt-bindings: soc: sophgo: Add Sophgo system
control module
On 2023/12/4 22:25, Rob Herring wrote:
> On Mon, 04 Dec 2023 20:54:53 +0800, Chen Wang wrote:
>> From: Chen Wang <unicorn_wang@...look.com>
>>
>> Add documentation to describe Sophgo System Controller for SG2042.
>>
>> Signed-off-by: Chen Wang <unicorn_wang@...look.com>
>> ---
>> .../soc/sophgo/sophgo,sg2042-sysctrl.yaml | 35 +++++++++++++++++++
>> 1 file changed, 35 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/soc/sophgo/sophgo,sg2042-sysctrl.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/soc/sophgo/sophgo,sg2042-sysctrl.example.dtb: /example-0/system-controller@...10000: failed to match any schema with compatible: ['sophgo,sg2042-sysctl']
>
> doc reference errors (make refcheckdocs):
>
> See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/14616bce163d689a4e640ab7b372421ca8306a92.1701691923.git.unicorn_wang@outlook.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.
Thanks, Rob.
My fault and I wrote the compatible string in example incorrectly.
"DT_CHECKER_FLAGS=-m" is very good and do help efficiently catching this
misspell issue not easy to find. Learned and thanks again. I will
correct this.
Powered by blists - more mailing lists