Skip to content

Commit 8672e4b

Browse files
vzapolskiybroonie
authored andcommitted
spi: dt-bindings: nxp,lpc3220-spi: Add DMA specific properties
NXP LPC32xx SPI controllers supports DMA operations over rx-tx channel, which is muxed with SSP SPI controller DMA. For additional reference see Table 69 in NXP LPC32xx User Manual. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Link: https://patch.msgid.link/20260109075032.3287109-1-vz@mleia.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent b6376db commit 8672e4b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Documentation/devicetree/bindings/spi/nxp,lpc3220-spi.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ properties:
2020
clocks:
2121
maxItems: 1
2222

23+
dmas:
24+
maxItems: 1
25+
26+
dma-names:
27+
const: rx-tx
28+
2329
allOf:
2430
- $ref: spi-controller.yaml#
2531

@@ -38,6 +44,8 @@ examples:
3844
compatible = "nxp,lpc3220-spi";
3945
reg = <0x20088000 0x1000>;
4046
clocks = <&clk LPC32XX_CLK_SPI1>;
47+
dmas = <&dmamux 11 1 0>;
48+
dma-names = "rx-tx";
4149
#address-cells = <1>;
4250
#size-cells = <0>;
4351
};

0 commit comments

Comments
 (0)