diff options
author | Olof Johansson <olof@lixom.net> | 2014-05-26 17:59:05 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-05-26 17:59:05 -0400 |
commit | 3a5e23cf9e553cd32e68bf29fb5429e3e9a95467 (patch) | |
tree | d6b028bb8ac6c9866be6d0ae14f7bed5ab6edad1 /Documentation/devicetree/bindings/dma | |
parent | 7741fa197ccb4862403554e7829be727a8fa3ba0 (diff) | |
parent | 903ed4913c7fe78d2746445564634264291c7493 (diff) |
Merge tag 'davinci-for-v3.16/edma' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci into next/drivers
Merge "DaVinci EDMA clean-up for v3.16" from Sekhar Nori:
This series makes edma use configuration information available within
the IP instead of reading it from platform data or DT. Some other useful
clean-ups are included too.
* tag 'davinci-for-v3.16/edma' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci: (34 commits)
ARM: edma: Remove redundant/unused parameters from edma_soc_info
ARM: davinci: Remove redundant/unused parameters for edma
ARM: dts: am4372: Remove obsolete properties from edma node
ARM: dts: am33xx: Remove obsolete properties from edma node
dt/bindings: ti,edma: Remove redundant properties from documentation
ARM: edma: Get IP configuration from HW (number of channels, tc, etc)
ARM: edma: Save number of regions from pdata to struct edma
ARM: edma: Remove num_cc member from struct edma
ARM: edma: Remove queue_tc_mapping data from edma_soc_info
ARM: davinci: Remove eDMA3 queue_tc_mapping data from edma_soc_info
ARM: edma: Do not change TC -> Queue mapping, leave it to default.
ARM: edma: Take the number of tc from edma_soc_info (pdata)
ARM: edma: No need to clean the pdata in edma_of_parse_dt()
ARM: edma: Clean up and simplify the code around irq request
dmaengine: edma: update DMA memcpy to use new param element
dmaengine: edma: Document variables used for residue accounting
dmaengine: edma: Provide granular accounting
dmaengine: edma: Make reading the position of active channels work
dmaengine: edma: Store transfer data in edma_desc and edma_pset
dmaengine: edma: Create private pset struct
...
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'Documentation/devicetree/bindings/dma')
-rw-r--r-- | Documentation/devicetree/bindings/dma/ti-edma.txt | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/dma/ti-edma.txt b/Documentation/devicetree/bindings/dma/ti-edma.txt index 68ff2137bae7..5ba525a10035 100644 --- a/Documentation/devicetree/bindings/dma/ti-edma.txt +++ b/Documentation/devicetree/bindings/dma/ti-edma.txt | |||
@@ -2,11 +2,8 @@ TI EDMA | |||
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible : "ti,edma3" | 4 | - compatible : "ti,edma3" |
5 | - ti,edma-regions: Number of regions | ||
6 | - ti,edma-slots: Number of slots | ||
7 | - #dma-cells: Should be set to <1> | 5 | - #dma-cells: Should be set to <1> |
8 | Clients should use a single channel number per DMA request. | 6 | Clients should use a single channel number per DMA request. |
9 | - dma-channels: Specify total DMA channels per CC | ||
10 | - reg: Memory map for accessing module | 7 | - reg: Memory map for accessing module |
11 | - interrupt-parent: Interrupt controller the interrupt is routed through | 8 | - interrupt-parent: Interrupt controller the interrupt is routed through |
12 | - interrupts: Exactly 3 interrupts need to be specified in the order: | 9 | - interrupts: Exactly 3 interrupts need to be specified in the order: |
@@ -17,6 +14,13 @@ Optional properties: | |||
17 | - ti,hwmods: Name of the hwmods associated to the EDMA | 14 | - ti,hwmods: Name of the hwmods associated to the EDMA |
18 | - ti,edma-xbar-event-map: Crossbar event to channel map | 15 | - ti,edma-xbar-event-map: Crossbar event to channel map |
19 | 16 | ||
17 | Deprecated properties: | ||
18 | Listed here in case one wants to boot an old kernel with new DTB. These | ||
19 | properties might need to be added to the new DTS files. | ||
20 | - ti,edma-regions: Number of regions | ||
21 | - ti,edma-slots: Number of slots | ||
22 | - dma-channels: Specify total DMA channels per CC | ||
23 | |||
20 | Example: | 24 | Example: |
21 | 25 | ||
22 | edma: edma@49000000 { | 26 | edma: edma@49000000 { |
@@ -26,9 +30,6 @@ edma: edma@49000000 { | |||
26 | compatible = "ti,edma3"; | 30 | compatible = "ti,edma3"; |
27 | ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2"; | 31 | ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2"; |
28 | #dma-cells = <1>; | 32 | #dma-cells = <1>; |
29 | dma-channels = <64>; | ||
30 | ti,edma-regions = <4>; | ||
31 | ti,edma-slots = <256>; | ||
32 | ti,edma-xbar-event-map = /bits/ 16 <1 12 | 33 | ti,edma-xbar-event-map = /bits/ 16 <1 12 |
33 | 2 13>; | 34 | 2 13>; |
34 | }; | 35 | }; |