Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1736787
| From | Pierre-Yves MORDRET <pierre-yves.mordret@st.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v5 3/4] dt-bindings: stm32-dma: add a property to handle STM32 DMAMUX |
| Date | 2017-09-21 17:40 +0200 |
| Message-ID | <usbK2-2QA-21@gated-at.bofh.it> (permalink) |
| References | <usbK2-2QA-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
STM32 DMA controller has to exposed its number of request line to be
addressed via STM32 DMAMUX.
Signed-off-by: M'boumba Cedric Madianga <cedric.madianga@gmail.com>
Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
---
Version history:
v5:
v4:
* get rid of st,dmamux property
* number of DMA requests is exposed for DMAMUX
v3:
* None
v2:
* Typo fix
---
---
Documentation/devicetree/bindings/dma/stm32-dma.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/dma/stm32-dma.txt b/Documentation/devicetree/bindings/dma/stm32-dma.txt
index 4408af6..77542e1 100644
--- a/Documentation/devicetree/bindings/dma/stm32-dma.txt
+++ b/Documentation/devicetree/bindings/dma/stm32-dma.txt
@@ -13,6 +13,7 @@ Required properties:
- #dma-cells : Must be <4>. See DMA client paragraph for more details.
Optional properties:
+- dma-requests : Number of DMA requests supported.
- resets: Reference to a reset controller asserting the DMA controller
- st,mem2mem: boolean; if defined, it indicates that the controller supports
memory-to-memory transfer
@@ -34,12 +35,13 @@ Example:
#dma-cells = <4>;
st,mem2mem;
resets = <&rcc 150>;
+ dma-requests = <8>;
};
* DMA client
DMA clients connected to the STM32 DMA controller must use the format
-described in the dma.txt file, using a five-cell specifier for each
+described in the dma.txt file, using a four-cell specifier for each
channel: a phandle to the DMA controller plus the following four integer cells:
1. The channel id
--
2.7.4
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH v5 3/4] dt-bindings: stm32-dma: add a property to handle STM32 DMAMUX Pierre-Yves MORDRET <pierre-yves.mordret@st.com> - 2017-09-21 17:40 +0200
csiph-web