From: Frank Li Date: Wed, 3 Jul 2024 16:59:30 +0000 (-0400) Subject: spi: dt-bindings: fsl-dspi: add dmas and dma-names properties X-Git-Tag: v6.11-rc1~205^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2de9ae2044c4f6490dbbfb8d93fe6b8cc60c91d1;p=thirdparty%2Flinux.git spi: dt-bindings: fsl-dspi: add dmas and dma-names properties Add dmas and dma-names properties because dspi support dma transfer. Fix below warnings: arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dtb: spi@2120000: Unevaluated properties are not allowed ('dma-names', 'dmas', 'little-endian' were unexpected) from schema $id: http://devicetree.org/schemas/spi/fsl,dspi.yaml# Reviewed-by: Krzysztof Kozlowski Signed-off-by: Frank Li Reviewed-by: Vladimir Oltean Link: https://patch.msgid.link/20240703165931.2325807-1-Frank.Li@nxp.com Signed-off-by: Mark Brown --- diff --git a/Documentation/devicetree/bindings/spi/fsl,dspi.yaml b/Documentation/devicetree/bindings/spi/fsl,dspi.yaml index bd28335a6ac86..f16ac22291456 100644 --- a/Documentation/devicetree/bindings/spi/fsl,dspi.yaml +++ b/Documentation/devicetree/bindings/spi/fsl,dspi.yaml @@ -48,6 +48,16 @@ properties: items: - const: dspi + dmas: + items: + - description: DMA controller phandle and request line for TX + - description: DMA controller phandle and request line for RX + + dma-names: + items: + - const: tx + - const: rx + spi-num-chipselects: $ref: /schemas/types.yaml#/definitions/uint32 description: