[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <171922826737.2823150.8347884175806280966.robh@kernel.org>
Date: Mon, 24 Jun 2024 05:24:30 -0600
From: "Rob Herring (Arm)" <robh@...nel.org>
To: Manikandan Muralidharan <manikandan.m@...rochip.com>
Cc: Balamanikandan.Gunasundar@...rochip.com, conor+dt@...nel.org,
alexandre.belloni@...tlin.com, Charan.Pedumuru@...rochip.com,
devicetree@...r.kernel.org, linus.walleij@...aro.org,
Dharma.B@...rochip.com, arnd@...db.de, Varshini.Rajendran@...rochip.com,
krzk+dt@...nel.org, Balakrishnan.S@...rochip.com,
durai.manickamkr@...rochip.com, nicolas.ferre@...rochip.com,
claudiu.beznea@...on.dev, brgl@...ev.pl, linux-gpio@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, Durai.ManickamKR@...rochip.com,
Nayabbasha.Sayed@...rochip.com, Hari.PrasathGE@...rochip.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 5/5] dt-bindings: pinctrl: Convert Atmel PIO3 pinctrl
to json-schema
On Mon, 24 Jun 2024 15:34:31 +0530, Manikandan Muralidharan wrote:
> Convert Atmel PIO3 pinctrl binding document to DT schema format
> json-schema.
>
> Signed-off-by: Manikandan Muralidharan <manikandan.m@...rochip.com>
> ---
> .../bindings/pinctrl/atmel,at91-pinctrl.txt | 178 ----------------
> .../pinctrl/atmel,at91rm9200-pinctrl.yaml | 194 ++++++++++++++++++
> 2 files changed, 194 insertions(+), 178 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt
> create mode 100644 Documentation/devicetree/bindings/pinctrl/atmel,at91rm9200-pinctrl.yaml
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
./Documentation/devicetree/bindings/pinctrl/atmel,at91rm9200-pinctrl.yaml:145:11: [error] string value is redundantly quoted with any quotes (quoted-strings)
dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/pinctrl/atmel,at91rm9200-pinctrl.example.dtb: pinctrl@...ff400: gpio@...ff400:compatible: 'oneOf' conditional failed, one must be fixed:
['atmel,at91rm9200-gpio'] is too short
'atmel,at91rm9200-gpio' is not one of ['atmel,at91sam9x5-gpio', 'microchip,sam9x60-gpio']
'atmel,at91rm9200-gpio' is not one of ['microchip,sam9x7-gpio']
from schema $id: http://devicetree.org/schemas/pinctrl/atmel,at91rm9200-pinctrl.yaml#
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/pinctrl/atmel,at91rm9200-pinctrl.example.dtb: pinctrl@...ff400: gpio@...ff400: Unevaluated properties are not allowed ('compatible' was unexpected)
from schema $id: http://devicetree.org/schemas/pinctrl/atmel,at91rm9200-pinctrl.yaml#
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/pinctrl/atmel,at91rm9200-pinctrl.example.dtb: gpio@...ff400: compatible: 'oneOf' conditional failed, one must be fixed:
['atmel,at91rm9200-gpio'] is too short
'atmel,at91rm9200-gpio' is not one of ['atmel,at91sam9x5-gpio', 'microchip,sam9x60-gpio']
'atmel,at91rm9200-gpio' is not one of ['microchip,sam9x7-gpio']
from schema $id: http://devicetree.org/schemas/gpio/atmel,at91rm9200-gpio.yaml#
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20240624100431.191172-6-manikandan.m@microchip.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.
Powered by blists - more mailing lists