summaryrefslogtreecommitdiff
path: root/doc/usage/cmd/dmareset.rst
blob: 56180595363ed307874dfc90665b889f356d54d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.. SPDX-License-Identifier: GPL-2.0-or-later

.. index::
   single: dmareset (command)

dmareset command
================

Synopsis
--------

::

    Usage: dmareset <channel 0-7> [<channel 0-7> ...]
    dmareset - Release PL330 DMA channel reset(s) for SoCFPGA

    Usage:
    dmareset <channel 0-7> [<channel 0-7> ...]  - release reset for one or more DMA channels

Description
-----------

Release the DMA channel reset *channel*.

Parameters
----------

channel
    DMA channel number

Example
-------

Release DMA channel(s)::

    => dmareset 0
    PL330 DMA channel 0 reset released
    => dmareset 1
    PL330 DMA channel 1 reset released
    => dmareset 0 1
    PL330 DMA channel 0 reset released
    PL330 DMA channel 1 reset released


Configuration
-------------

The dmareset command is only available if CONFIG_CMD_C5_PL330_DMA=y in
"Shell scripting commands".