Skip to content

Commit 2de9ae2

Browse files
nxpfranklibroonie
authored andcommitted
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 <krzysztof.kozlowski@linaro.org> Signed-off-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Link: https://patch.msgid.link/20240703165931.2325807-1-Frank.Li@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 3bca1a3 commit 2de9ae2

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Documentation/devicetree/bindings/spi/fsl,dspi.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,16 @@ properties:
4848
items:
4949
- const: dspi
5050

51+
dmas:
52+
items:
53+
- description: DMA controller phandle and request line for TX
54+
- description: DMA controller phandle and request line for RX
55+
56+
dma-names:
57+
items:
58+
- const: tx
59+
- const: rx
60+
5161
spi-num-chipselects:
5262
$ref: /schemas/types.yaml#/definitions/uint32
5363
description:

0 commit comments

Comments
 (0)