xref: /linux/include/dt-bindings/dma/axi-dmac.h (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
1*43bcad2bSLars-Peter Clausen /*
2*43bcad2bSLars-Peter Clausen  * This file is dual-licensed: you can use it either under the terms
3*43bcad2bSLars-Peter Clausen  * of the GPL or the X11 license, at your option. Note that this dual
4*43bcad2bSLars-Peter Clausen  * licensing only applies to this file, and not this project as a
5*43bcad2bSLars-Peter Clausen  * whole.
6*43bcad2bSLars-Peter Clausen  *
7*43bcad2bSLars-Peter Clausen  *  a) This file is free software; you can redistribute it and/or
8*43bcad2bSLars-Peter Clausen  *     modify it under the terms of the GNU General Public License as
9*43bcad2bSLars-Peter Clausen  *     published by the Free Software Foundation; either version 2 of the
10*43bcad2bSLars-Peter Clausen  *     License, or (at your option) any later version.
11*43bcad2bSLars-Peter Clausen  *
12*43bcad2bSLars-Peter Clausen  *     This file is distributed in the hope that it will be useful,
13*43bcad2bSLars-Peter Clausen  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
14*43bcad2bSLars-Peter Clausen  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15*43bcad2bSLars-Peter Clausen  *     GNU General Public License for more details.
16*43bcad2bSLars-Peter Clausen  *
17*43bcad2bSLars-Peter Clausen  * Or, alternatively,
18*43bcad2bSLars-Peter Clausen  *
19*43bcad2bSLars-Peter Clausen  *  b) Permission is hereby granted, free of charge, to any person
20*43bcad2bSLars-Peter Clausen  *     obtaining a copy of this software and associated documentation
21*43bcad2bSLars-Peter Clausen  *     files (the "Software"), to deal in the Software without
22*43bcad2bSLars-Peter Clausen  *     restriction, including without limitation the rights to use,
23*43bcad2bSLars-Peter Clausen  *     copy, modify, merge, publish, distribute, sublicense, and/or
24*43bcad2bSLars-Peter Clausen  *     sell copies of the Software, and to permit persons to whom the
25*43bcad2bSLars-Peter Clausen  *     Software is furnished to do so, subject to the following
26*43bcad2bSLars-Peter Clausen  *     conditions:
27*43bcad2bSLars-Peter Clausen  *
28*43bcad2bSLars-Peter Clausen  *     The above copyright notice and this permission notice shall be
29*43bcad2bSLars-Peter Clausen  *     included in all copies or substantial portions of the Software.
30*43bcad2bSLars-Peter Clausen  *
31*43bcad2bSLars-Peter Clausen  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
32*43bcad2bSLars-Peter Clausen  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
33*43bcad2bSLars-Peter Clausen  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
34*43bcad2bSLars-Peter Clausen  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
35*43bcad2bSLars-Peter Clausen  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
36*43bcad2bSLars-Peter Clausen  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
37*43bcad2bSLars-Peter Clausen  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
38*43bcad2bSLars-Peter Clausen  *     OTHER DEALINGS IN THE SOFTWARE.
39*43bcad2bSLars-Peter Clausen  */
40*43bcad2bSLars-Peter Clausen 
41*43bcad2bSLars-Peter Clausen #ifndef __DT_BINDINGS_DMA_AXI_DMAC_H__
42*43bcad2bSLars-Peter Clausen #define __DT_BINDINGS_DMA_AXI_DMAC_H__
43*43bcad2bSLars-Peter Clausen 
44*43bcad2bSLars-Peter Clausen #define AXI_DMAC_BUS_TYPE_AXI_MM		0
45*43bcad2bSLars-Peter Clausen #define AXI_DMAC_BUS_TYPE_AXI_STREAM	1
46*43bcad2bSLars-Peter Clausen #define AXI_DMAC_BUS_TYPE_FIFO			2
47*43bcad2bSLars-Peter Clausen 
48*43bcad2bSLars-Peter Clausen #endif
49