summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/dma
diff options
context:
space:
mode:
authorRobin Gong <yibin.gong@nxp.com>2017-08-30 18:51:16 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 16:03:13 +0800
commit9d36acb8605f81c3c4d3b479c0c1403fa07e8f7a (patch)
tree99485a49109b7236bb8b4b55a56ccc614eae8b28 /Documentation/devicetree/bindings/dma
parentec32139328591aae9c656a9ea6c470d139bca99c (diff)
MLK-16327-1: dma: fsl-edma-v3: make exclusive channel name for all edma channels
Since there are multi edmav3 instances on i.mx8, every edma channel name is better unique.But so far, all edma channel name is 'edma-channel(id)- tx',thus some edma channels which share the same channel id but different edma instance will show the same channel name in kernel and this is not friendly to debug in kernel. Now the edma channel name(interrupt-names property) is define in dts as below: "edmaX-chanX-Xx" | | |---> receive/transmit, r or t | |---> channel id, the max number is 32 |---> edma controller instance, 0, 1, 2,..etc and get below correct name with 'cat /proc/interrupts': 43: 0 0 0 0 GICv3 466 Level edma0-chan8-rx 44: 0 0 0 0 GICv3 467 Level edma0-chan9-tx 45: 79 0 0 0 GICv3 468 Level edma0-chan10-rx 46: 311 0 0 0 GICv3 469 Level edma0-chan11-tx 47: 0 0 0 0 GICv3 470 Level edma0-chan12-rx 48: 0 0 0 0 GICv3 471 Level edma0-chan13-tx 49: 0 0 0 0 GICv3 472 Level edma0-chan14-rx 50: 0 0 0 0 GICv3 473 Level edma0-chan15-tx 51: 0 0 0 0 GICv3 406 Level edma2-chan0-tx 52: 0 0 0 0 GICv3 407 Level edma2-chan1-tx 53: 0 0 0 0 GICv3 408 Level edma2-chan2-tx 54: 0 0 0 0 GICv3 409 Level edma2-chan3-tx 55: 0 0 0 0 GICv3 410 Level edma2-chan4-tx 56: 0 0 0 0 GICv3 411 Level edma2-chan5-tx 57: 0 0 0 0 GICv3 442 Level edma2-chan6-rx, edma2-chan7-tx Signed-off-by: Robin Gong <yibin.gong@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com> (cherry picked from commit af8e197a92c9c024ec4fbfcf543d744e81748773)
Diffstat (limited to 'Documentation/devicetree/bindings/dma')
-rw-r--r--Documentation/devicetree/bindings/dma/fsl-edma-v3.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/dma/fsl-edma-v3.txt b/Documentation/devicetree/bindings/dma/fsl-edma-v3.txt
index 222ccf8605b0..a8d05427f954 100644
--- a/Documentation/devicetree/bindings/dma/fsl-edma-v3.txt
+++ b/Documentation/devicetree/bindings/dma/fsl-edma-v3.txt
@@ -12,8 +12,12 @@ Required properties:
- reg : Specifies base physical address(s) and size of the eDMA channel registers.
Each eDMA channel has separated register's address and size.
- interrupts : A list of interrupt-specifiers, each channel has one interrupt.
-- interrupt-names : Should contain:
- "edma-chan12-tx" - the channel12 transmission interrupt
+- interrupt-names : Should contain below template:
+ "edmaX-chanX-Xx"
+ | | |---> receive/transmit, r or t
+ | |---> channel id, the max number is 32
+ |---> edma controller instance, 0, 1, 2,..etc
+
- #dma-cells : Must be <3>.
The 1st cell specifies the channel ID.
The 2nd cell specifies the channel priority.
@@ -40,8 +44,8 @@ edma0: dma-controller@40018000 {
<GIC_SPI 435 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 436 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 437 IRQ_TYPE_LEVEL_HIGH>;
- interrupt-names = "edma-chan12-tx", "edma-chan13-tx",
- "edma-chan14-tx", "edma-chan15-tx";
+ interrupt-names = "edma0-chan12-rx", "edma0-chan13-tx",
+ "edma0-chan14-rx", "edma0-chan15-tx";
status = "okay";
};