summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/dma/fsl-edma-v3.txt
diff options
context:
space:
mode:
authorRobin Gong <yibin.gong@nxp.com>2017-08-30 18:51:16 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commit388665bae4b84a8abf9795f3d7e76a472379bee6 (patch)
treea8e6ccd3484dc3128b2cbb494f52062eb44da03f /Documentation/devicetree/bindings/dma/fsl-edma-v3.txt
parentf8fe40d1aa62a9a993af25765a71fb92e96c459f (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>
Diffstat (limited to 'Documentation/devicetree/bindings/dma/fsl-edma-v3.txt')
-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";
};