forked from torvalds/linux
-
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.
Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave…
…-dma Pull slave-dmaengine updates from Vinod Koul: "This pull brings: - Andy's DW driver updates - Guennadi's sh driver updates - Pl08x driver fixes from Tomasz & Alban - Improvements to mmp_pdma by Daniel - TI EDMA fixes by Joel - New drivers: - Hisilicon k3dma driver - Renesas rcar dma driver - New API for publishing slave driver capablities - Various fixes across the subsystem by Andy, Jingoo, Sachin etc..." * 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma: (94 commits) dma: edma: Remove limits on number of slots dma: edma: Leave linked to Null slot instead of DUMMY slot dma: edma: Find missed events and issue them ARM: edma: Add function to manually trigger an EDMA channel dma: edma: Write out and handle MAX_NR_SG at a given time dma: edma: Setup parameters to DMA MAX_NR_SG at a time dmaengine: pl330: use dma_set_max_seg_size to set the sg limit dmaengine: dma_slave_caps: remove sg entries dma: replace devm_request_and_ioremap by devm_ioremap_resource dma: ste_dma40: Fix potential null pointer dereference dma: ste_dma40: Remove duplicate const dma: imx-dma: Remove redundant NULL check dma: dmagengine: fix function names in comments dma: add driver for R-Car HPB-DMAC dma: k3dma: use devm_ioremap_resource() instead of devm_request_and_ioremap() dma: imx-sdma: Staticize sdma_driver_data structures pch_dma: Add MODULE_DEVICE_TABLE dmaengine: PL08x: Add cyclic transfer support dmaengine: PL08x: Fix reading the byte count in cctl dmaengine: PL08x: Add support for different maximum transfer size ...
- Loading branch information
Showing
54 changed files
with
3,241 additions
and
738 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
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,46 @@ | ||
* Hisilicon K3 DMA controller | ||
|
||
See dma.txt first | ||
|
||
Required properties: | ||
- compatible: Should be "hisilicon,k3-dma-1.0" | ||
- reg: Should contain DMA registers location and length. | ||
- interrupts: Should contain one interrupt shared by all channel | ||
- #dma-cells: see dma.txt, should be 1, para number | ||
- dma-channels: physical channels supported | ||
- dma-requests: virtual channels supported, each virtual channel | ||
have specific request line | ||
- clocks: clock required | ||
|
||
Example: | ||
|
||
Controller: | ||
dma0: dma@fcd02000 { | ||
compatible = "hisilicon,k3-dma-1.0"; | ||
reg = <0xfcd02000 0x1000>; | ||
#dma-cells = <1>; | ||
dma-channels = <16>; | ||
dma-requests = <27>; | ||
interrupts = <0 12 4>; | ||
clocks = <&pclk>; | ||
status = "disable"; | ||
}; | ||
|
||
Client: | ||
Use specific request line passing from dmax | ||
For example, i2c0 read channel request line is 18, while write channel use 19 | ||
|
||
i2c0: i2c@fcb08000 { | ||
compatible = "snps,designware-i2c"; | ||
dmas = <&dma0 18 /* read channel */ | ||
&dma0 19>; /* write channel */ | ||
dma-names = "rx", "tx"; | ||
}; | ||
|
||
i2c1: i2c@fcb09000 { | ||
compatible = "snps,designware-i2c"; | ||
dmas = <&dma0 20 /* read channel */ | ||
&dma0 21>; /* write channel */ | ||
dma-names = "rx", "tx"; | ||
}; | ||
|
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
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 |
---|---|---|
|
@@ -299,3 +299,6 @@ PWM | |
PHY | ||
devm_usb_get_phy() | ||
devm_usb_put_phy() | ||
|
||
SLAVE DMA ENGINE | ||
devm_acpi_dma_controller_register() |
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 |
---|---|---|
|
@@ -7204,6 +7204,7 @@ F: drivers/tty/serial | |
|
||
SYNOPSYS DESIGNWARE DMAC DRIVER | ||
M: Viresh Kumar <[email protected]> | ||
M: Andy Shevchenko <[email protected]> | ||
S: Maintained | ||
F: include/linux/dw_dmac.h | ||
F: drivers/dma/dw/ | ||
|
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
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
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
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
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
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
Oops, something went wrong.