Re: [PATCH v4 2/3] spi: dt-bindings: fsl-dspi: Convert to yaml format
From: Rob Herring (Arm)
Date: Mon Jun 24 2024 - 17:02:11 EST
On Mon, 24 Jun 2024 14:55:28 -0400, Frank Li wrote:
> Convert dt-binding spi-fsl-dspi.txt to yaml format.
> Use part Vladimir Oltean's work at of
> https://lore.kernel.org/linux-spi/20221111224651.577729-1-vladimir.oltean@xxxxxxx/
>
> Additional changes during convert:
> - compatible string "fsl,ls1028a-dspi" can be followed by
> fsl,ls1021a-v1.0-dspi.
> - Change "dspi0@4002c000" to "spi@4002c000" in example.
> - Reorder properties in example.
> - Use GIC include in example.
> - Deprecated fsl,spi-cs-sck-delay and fsl,spi-sck-cs-delay by use common SPI
> property.
> - Use compatible string 'jedec,spi-nor' in example.
> - Split peripheral part to fsl,dspi-peripheral-props.yaml.
> - Remove 'interrupts' and 'pinctrl' from required list.
> - Update 'bus-num' description.
> - Update 'spi-num-chipselects' description by add "cs-gpios don't count
> against this number".
> - Remove 'big-endian' description.
>
> Co-developed-by: Kuldeep Singh <kuldeep.singh@xxxxxxx>
> Signed-off-by: Kuldeep Singh <kuldeep.singh@xxxxxxx>
> Co-developed-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>
> Signed-off-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>
> Signed-off-by: Frank Li <Frank.Li@xxxxxxx>
>
> ---
> Change from v3 to v4
> - Add Co-developed-by and Signed-off-by from Kuldeep and Vladimir
> - Remove 'interrupts' and 'pinctrl' from required list
> - Update 'bus-num' descripton.
> - Update 'spi-num-chipselects' description by add "cs-gpios don't count
> against this number".
> - Remove 'big-endian' description.
> ---
> .../bindings/spi/fsl,dspi-peripheral-props.yaml | 30 ++++++
> .../devicetree/bindings/spi/fsl,dspi.yaml | 103 +++++++++++++++++++++
> .../devicetree/bindings/spi/spi-fsl-dspi.txt | 65 -------------
> .../bindings/spi/spi-peripheral-props.yaml | 1 +
> MAINTAINERS | 2 +-
> 5 files changed, 135 insertions(+), 66 deletions(-)
>
Reviewed-by: Rob Herring (Arm) <robh@xxxxxxxxxx>