diff options
| author | Li Yu <[email protected]> | 2019-01-24 20:24:20 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2019-02-04 09:00:57 +0000 |
| commit | c4994a98faf2797d8977c0d075222962d71c4112 (patch) | |
| tree | 56dd85d250b901851e95ce411bf7eed54e191f29 /drivers/fpga/fpga-mgr.c | |
| parent | dmaengine: k3dma: Delete axi_config (diff) | |
| download | kernel-c4994a98faf2797d8977c0d075222962d71c4112.tar.gz kernel-c4994a98faf2797d8977c0d075222962d71c4112.zip | |
dmaengine: k3dma: Add support for dma-channel-mask
Add dma-channel-mask as a property for k3dma, it defines
available dma channels which a non-secure mode driver can use.
One sample usage of this is in Hi3660 SoC. DMA channel 0 is
reserved to lpm3, which is a coprocessor for power management. So
as a result, any request in kernel (which runs on main processor
and in non-secure mode) should start from at least channel 1.
Cc: Dan Williams <[email protected]>
Cc: Vinod Koul <[email protected]>
Cc: Tanglei Han <[email protected]>
Cc: Zhuangluan Su <[email protected]>
Cc: Ryan Grachek <[email protected]>
Cc: Manivannan Sadhasivam <[email protected]>
Cc: Guodong Xu <[email protected]>
Cc: [email protected]
Signed-off-by: Li Yu <[email protected]>
[jstultz: Reworked to use a channel mask]
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
