Lines Matching +full:dma +full:- +full:channel +full:- +full:mask
2 # SPDX-License-Identifier: Apache-2.0
7 The STM32 BDMA is a general-purpose direct memory access controller
9 Each channel can have up to 8 requests.
11 described in the dma.txt file, using a four-cell specifier for each
12 channel: a phandle to the BDMA controller plus the following four integer cells:
13 1. channel: the bdma stream from 0 to <bdma-requests>
15 3. channel-config: A 32bit mask specifying the BDMA channel configuration
17 -bit 6-7 : Direction (see dma.h)
22 -bit 9 : Peripheral Increment Address
25 -bit 10 : Memory Increment Address
28 -bit 11-12 : Peripheral data size
30 0x1: Half-word (16 bits)
33 -bit 13-14 : Memory data size
35 0x1: Half-word (16 bits)
38 -bit 15: Peripheral Increment Offset Size
40 0x1: offset size is fixed to 4 (32-bit alignment)
41 -bit 16-17 : Priority level
48 bdma1: dma-controller@58025400 {
49 compatible = "st,stm32-bdma";
52 dma-requests = <7>;
61 dma-names = "dmamux";
64 compatible: "st,stm32-bdma"
66 include: dma-controller.yaml
79 dma-offset:
83 for 1st dma instance, offset is 0,
84 for 2nd dma instance, offset is the nb of dma channels of the 1st dma,
85 for 3rd dma instance, offset is the nb of dma channels of the 2nd dma
86 plus the nb of dma channels of the 1st dma instance, etc.
88 "#dma-cells":
91 # Parameter syntax of stm32 follows the dma client dts syntax
93 …nel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git/plain/Bindings/dma/st,stm32-dm…
95 dma-cells:
96 - channel
97 - slot
98 - channel-config