Lines Matching +full:rx +full:- +full:dma +full:- +full:channel
2 # SPDX-License-Identifier: Apache-2.0
5 STM32 DMA controller (V2bis) for the stm32F0, stm32F1 and stm32L1 soc families
7 This DMA controller includes several channels with different requests.
8 All the requests ar ORed before entering the DMA, so that only one request
10 DMA clients connected to the STM32 DMA controller must use the format
11 described in the dma.txt file, using a 2-cell specifier for each
12 channel: a phandle to the DMA controller plus the following four integer cells:
13 1. channel: the dma stream from 1 to <dma-requests>
14 2. channel-config: A 32bit mask specifying the DMA channel configuration
15 A name custom DMA flags for channel configuration is used
17 -bit 5 : DMA cyclic mode config
20 -bit 6-7 : Direction (see dma.h)
25 -bit 9 : Peripheral Increment Address
28 -bit 10 : Memory Increment Address
31 -bit 11-12 : Peripheral data size
33 0x1: STM32_DMA_PERIPH_16BITS: Half-word (16 bits)
36 -bit 13-14 : Memory data size
38 0x1: STM32_DMA_MEM_16BITS: Half-word (16 bits)
41 -bit 15: Reserved
42 -bit 16-17 : Priority level
48 Example of dma usual combination for peripheral transfer
52 Example of dma node for stm32f103
53 dma1: dma-controller@40020400 {
54 compatible = "st,stm32-dma-v2bis";
56 dma-requests = <7>;
61 Tx using channel 3
62 Rx using channel 2
64 compatible = "st,stm32-spi";
67 dma-names = "tx", "rx";
70 compatible: "st,stm32-dma-v2bis"
73 - name: st,stm32-dma.yaml
76 "#dma-cells":
79 # Parameter syntax of stm32 follows the dma client dts syntax
81 …nel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git/plain/Bindings/dma/st,stm32-dm…
83 dma-cells:
84 - channel
85 - channel-config