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

Nicolas Ferre nicolas.ferre at microchip.com
Fri Jul 1 00:56:14 PDT 2022


On 01/07/2022 at 09:50, Conor Dooley - M52691 wrote:
> On 01/07/2022 08:41, Nicolas Ferre wrote:
>> 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 at microchip.com>
>>>>> ---
>>>>>    .../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 at fffcc000/mmc at 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 ?
> 
> Nope, I converted mmc-spi-slot :)
> And I checked, it is in -next 226e09de0acd ("dt-bindings: mmc:
> convert mmc-spi-slot to yaml"))
> Was just pointing out that this error from the bot is not really
> a problem.

Ah, all right Conor. Thanks for the info.

Best regards,
   Nicolas

-- 
Nicolas Ferre



More information about the linux-arm-kernel mailing list