summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/dma/stm32-dma.txt
diff options
context:
space:
mode:
authorPierre-Yves MORDRET2018-03-13 17:42:00 +0100
committerVinod Koul2018-04-04 08:10:42 +0200
commit7c7055c7c5c7a7e66395777b72e6693a81831a54 (patch)
tree142f12093da5ac1d0393909ed638e7f79729040b /Documentation/devicetree/bindings/dma/stm32-dma.txt
parentLinux 4.16-rc1 (diff)
downloadkernel-qcow2-linux-7c7055c7c5c7a7e66395777b72e6693a81831a54.tar.gz
kernel-qcow2-linux-7c7055c7c5c7a7e66395777b72e6693a81831a54.tar.xz
kernel-qcow2-linux-7c7055c7c5c7a7e66395777b72e6693a81831a54.zip
dt-bindings: stm32-dma: introduce DMA features bitfield
This bitfield intends to address features to be activated within the driver. Initially the mask was only meant for FIFO Threshold management. Backward compatibility is preserved but the meaning of this field has been extended to features instead of only threshold. Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'Documentation/devicetree/bindings/dma/stm32-dma.txt')
-rw-r--r--Documentation/devicetree/bindings/dma/stm32-dma.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/dma/stm32-dma.txt b/Documentation/devicetree/bindings/dma/stm32-dma.txt
index 0b55718bf889..c5f519097204 100644
--- a/Documentation/devicetree/bindings/dma/stm32-dma.txt
+++ b/Documentation/devicetree/bindings/dma/stm32-dma.txt
@@ -62,14 +62,14 @@ channel: a phandle to the DMA controller plus the following four integer cells:
0x1: medium
0x2: high
0x3: very high
-4. A 32bit mask specifying the DMA FIFO threshold configuration which are device
- dependent:
- -bit 0-1: Fifo threshold
+4. A 32bit bitfield value specifying DMA features which are device dependent:
+ -bit 0-1: DMA FIFO threshold selection
0x0: 1/4 full FIFO
0x1: 1/2 full FIFO
0x2: 3/4 full FIFO
0x3: full FIFO
+
Example:
usart1: serial@40011000 {