-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dmaengine: dw_dma: add Device Tree probing capability
SPEAr platforms now support DT and so must convert all drivers to support DT. This patch adds DT probing support for Synopsys DMA controller and updates its documentation too. Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
- Loading branch information
Viresh Kumar
authored and
Vinod Koul
committed
May 11, 2012
1 parent
3075528
commit d3f797d
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
* Synopsys Designware DMA Controller | ||
|
||
Required properties: | ||
- compatible: "snps,dma-spear1340" | ||
- reg: Address range of the DMAC registers | ||
- interrupt-parent: Should be the phandle for the interrupt controller | ||
that services interrupts for this device | ||
- interrupt: Should contain the DMAC interrupt number | ||
|
||
Example: | ||
|
||
dma@fc000000 { | ||
compatible = "snps,dma-spear1340"; | ||
reg = <0xfc000000 0x1000>; | ||
interrupt-parent = <&vic1>; | ||
interrupts = <12>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters