[PATCH 4/5] dt-bindings: gpio: convert Atmel GPIO to json-schema
Manikandan.M at microchip.com
Manikandan.M at microchip.com
Mon Jun 24 20:24:28 PDT 2024
Hi Rob,
Thank you.
I get these errors after upgrading the dt-schema.I will fix them and
re-submit the patches.
On 24/06/24 4:54 pm, Rob Herring (Arm) wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>
> On Mon, 24 Jun 2024 15:34:30 +0530, Manikandan Muralidharan wrote:
>> Convert the Atmel GPIO controller binding document to DT schema format
>> using json-schema.
>>
>> Signed-off-by: Manikandan Muralidharan <manikandan.m at microchip.com>
>> ---
>> .../bindings/gpio/atmel,at91rm9200-gpio.yaml | 78 +++++++++++++++++++
>> .../devicetree/bindings/gpio/gpio_atmel.txt | 31 --------
>> 2 files changed, 78 insertions(+), 31 deletions(-)
>> create mode 100644 Documentation/devicetree/bindings/gpio/atmel,at91rm9200-gpio.yaml
>> delete mode 100644 Documentation/devicetree/bindings/gpio/gpio_atmel.txt
>>
>
> My bot found errors running 'make dt_binding_check' on your patch:
>
> yamllint warnings/errors:
>
> dtschema/dtc warnings/errors:
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/gpio/atmel,at91rm9200-gpio.example.dtb: gpio at fffff400: 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-5-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.
>
--
Thanks and Regards,
Manikandan M.
More information about the linux-arm-kernel
mailing list