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

From: Nicolas Ferre
Date: Fri Jul 01 2022 - 03:41:57 EST


Hi Conor,

On 30/06/2022 at 00:45, Conor Dooley - M52691 wrote:
On 29/06/2022 23: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']

My conversion of this should be in -next right?

Aren't you talking about
Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml or Documentation/devicetree/bindings/fpga/microchip,mpf-spi-fpga-mgr.yaml
rather than atmel,spi.yaml ?

Is this just an incorrect base for the bot, or am I missing
something?

[..]

Regards,
Nicolas


--
Nicolas Ferre