Re: [PATCH] dt-bindings: spi: convert spi_atmel to json-schema

From: Sergiu.Moga
Date: Thu Jun 30 2022 - 02:05:36 EST


Hello Rob,

On 30.06.2022 01:36, Rob Herring wrote:
> On Wed, 29 Jun 2022 15:58:04 +0300, Sergiu Moga wrote:
>> Convert SPI binding for Atmel/Microchip SoCs to Device Tree Schema
>> format.
>>
>> Signed-off-by: Sergiu Moga <sergiu.moga@xxxxxxxxxxxxx>
>> ---
>> .../devicetree/bindings/spi/atmel,spi.yaml | 82 +++++++++++++++++++
>> .../devicetree/bindings/spi/spi_atmel.txt | 36 --------
>> 2 files changed, 82 insertions(+), 36 deletions(-)
>> create mode 100644 Documentation/devicetree/bindings/spi/atmel,spi.yaml
>> delete mode 100644 Documentation/devicetree/bindings/spi/spi_atmel.txt
>>
> 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/spi/atmel,spi.example.dtb:0:0: /example-0/spi@fffcc000/mmc@0: failed to match any schema with compatible: ['mmc-spi-slot']
>
> doc reference errors (make refcheckdocs):
>
> See https://patchwork.ozlabs.org/patch/
>
> This check can fail if there are any dependencies. The base for a patch
> series is generally the most recent rc1.
>
> 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.
>
I do not receive this error when running the specified checking command
on my end. I am on the next branch as well and I have just updated
dt-schema. There already seems to be such a schema at
Documentation/devicetree/bindings/mmc/mmc-spi-slot.yaml.


Regards,

    Sergiu