[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <469068f9-b219-4d80-bab4-cbffaa04a67d@gmail.com>
Date: Thu, 21 Mar 2024 21:54:25 +0100
From: Javier Carrasco <javier.carrasco.cruz@...il.com>
To: Rob Herring <robh@...nel.org>
Cc: Guenter Roeck <linux@...ck-us.net>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
linux-hwmon@...r.kernel.org, "Aneesh Kumar K.V" <aneesh.kumar@...nel.org>,
Nicholas Piggin <npiggin@...il.com>, Jean Delvare <jdelvare@...e.com>,
Conor Dooley <conor+dt@...nel.org>, linuxppc-dev@...ts.ozlabs.org,
devicetree@...r.kernel.org, "Naveen N. Rao" <naveen.n.rao@...ux.ibm.com>,
Michael Ellerman <mpe@...erman.id.au>, linux-kernel@...r.kernel.org,
Christophe Leroy <christophe.leroy@...roup.eu>
Subject: Re: [PATCH 2/5] dt-bindings: hwmon: ibmpowernv: convert to dtschema
On 3/21/24 21:45, Rob Herring wrote:
>
> On Thu, 21 Mar 2024 19:43:43 +0100, Javier Carrasco wrote:
>> Convert existing binding to support validation.
>>
>> This is a straightforward conversion with now new properties.
>>
>> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@...il.com>
>> ---
>> .../devicetree/bindings/hwmon/ibm,powernv.yaml | 37 ++++++++++++++++++++++
>> .../devicetree/bindings/hwmon/ibmpowernv.txt | 23 --------------
>> 2 files changed, 37 insertions(+), 23 deletions(-)
>>
>
> 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/ibm,powernv.example.dtb: /example-0/sensor: failed to match any schema with compatible: ['st,stts751']
>
Obvious mistake, this compatible belongs to another patch of the series.
Will be fixed for v2.
> doc reference errors (make refcheckdocs):
>
> See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20240321-hwmon_dtschema-v1-2-96c3810c3930@gmail.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.
>
Best regards,
Javier Carrasco
Powered by blists - more mailing lists