axi-dmac.h revision 295011
1274578Sngie/*
2274578Sngie * This file is dual-licensed: you can use it either under the terms
3274578Sngie * of the GPL or the X11 license, at your option. Note that this dual
4274578Sngie * licensing only applies to this file, and not this project as a
5274578Sngie * whole.
6274578Sngie *
7274578Sngie *  a) This file is free software; you can redistribute it and/or
8274578Sngie *     modify it under the terms of the GNU General Public License as
9274578Sngie *     published by the Free Software Foundation; either version 2 of the
10274578Sngie *     License, or (at your option) any later version.
11274578Sngie *
12274578Sngie *     This file is distributed in the hope that it will be useful,
13274578Sngie *     but WITHOUT ANY WARRANTY; without even the implied warranty of
14274578Sngie *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15274578Sngie *     GNU General Public License for more details.
16274578Sngie *
17274578Sngie * Or, alternatively,
18274578Sngie *
19274578Sngie *  b) Permission is hereby granted, free of charge, to any person
20274578Sngie *     obtaining a copy of this software and associated documentation
21291738Sbdrewery *     files (the "Software"), to deal in the Software without
22274578Sngie *     restriction, including without limitation the rights to use,
23274578Sngie *     copy, modify, merge, publish, distribute, sublicense, and/or
24274578Sngie *     sell copies of the Software, and to permit persons to whom the
25274578Sngie *     Software is furnished to do so, subject to the following
26274578Sngie *     conditions:
27274578Sngie *
28 *     The above copyright notice and this permission notice shall be
29 *     included in all copies or substantial portions of the Software.
30 *
31 *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
32 *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
33 *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
34 *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
35 *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
36 *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
37 *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
38 *     OTHER DEALINGS IN THE SOFTWARE.
39 */
40
41#ifndef __DT_BINDINGS_DMA_AXI_DMAC_H__
42#define __DT_BINDINGS_DMA_AXI_DMAC_H__
43
44#define AXI_DMAC_BUS_TYPE_AXI_MM		0
45#define AXI_DMAC_BUS_TYPE_AXI_STREAM	1
46#define AXI_DMAC_BUS_TYPE_FIFO			2
47
48#endif
49