Re: [PATCH v2] dt-bindings: spi: Convert stm32 spi bindings to json-schema

From: Rob Herring
Date: Tue Dec 17 2019 - 18:57:41 EST


On Tue, 17 Dec 2019 10:07:15 +0100, Benjamin Gaignard wrote:
> Convert the STM32 spi binding to DT schema format using json-schema
>
> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@xxxxxx>
> CC: Erwan Leray <erwan.leray@xxxxxx>
> CC: Fabrice Gasnier <fabrice.gasnier@xxxxxx>
> CC: Amelie Delaunay <amelie.delaunay@xxxxxx>
> ---
> changes in version 2:
> - fix typo in if block (compatible + contains)
> The boths typos weren't detected by checkpatch.
> - remove type for st,spi-midi-ns property but not add upper limit
> because the driver compute a delay (expressed in SPI clock cycles periods)
> from this value (expressed in nanoseconds) and all that depends of the SPI
> bus clock.
> .../devicetree/bindings/spi/spi-stm32.txt | 62 ------------
> .../devicetree/bindings/spi/st,stm32-spi.yaml | 105 +++++++++++++++++++++
> 2 files changed, 105 insertions(+), 62 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/spi/spi-stm32.txt
> create mode 100644 Documentation/devicetree/bindings/spi/st,stm32-spi.yaml
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>