xref: /netbsd-src/sys/external/gpl2/dts/dist/include/dt-bindings/dma/sun4i-a10.h (revision 6029d4abf2297d9a62ec7eb4150bf1ba5138736d)
1 /*	$NetBSD: sun4i-a10.h,v 1.1.1.1 2017/06/15 20:14:23 jmcneill Exp $	*/
2 
3 /*
4  * Copyright 2014 Maxime Ripard
5  *
6  * Maxime Ripard <maxime.ripard@free-electrons.com>
7  *
8  * This file is dual-licensed: you can use it either under the terms
9  * of the GPL or the X11 license, at your option. Note that this dual
10  * licensing only applies to this file, and not this project as a
11  * whole.
12  *
13  *  a) This file is free software; you can redistribute it and/or
14  *     modify it under the terms of the GNU General Public License as
15  *     published by the Free Software Foundation; either version 2 of the
16  *     License, or (at your option) any later version.
17  *
18  *     This file is distributed in the hope that it will be useful,
19  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
20  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  *     GNU General Public License for more details.
22  *
23  *     You should have received a copy of the GNU General Public
24  *     License along with this file; if not, write to the Free
25  *     Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
26  *     MA 02110-1301 USA
27  *
28  * Or, alternatively,
29  *
30  *  b) Permission is hereby granted, free of charge, to any person
31  *     obtaining a copy of this software and associated documentation
32  *     files (the "Software"), to deal in the Software without
33  *     restriction, including without limitation the rights to use,
34  *     copy, modify, merge, publish, distribute, sublicense, and/or
35  *     sell copies of the Software, and to permit persons to whom the
36  *     Software is furnished to do so, subject to the following
37  *     conditions:
38  *
39  *     The above copyright notice and this permission notice shall be
40  *     included in all copies or substantial portions of the Software.
41  *
42  *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
43  *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
44  *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
45  *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
46  *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
47  *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
48  *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
49  *     OTHER DEALINGS IN THE SOFTWARE.
50  */
51 
52 #ifndef __DT_BINDINGS_DMA_SUN4I_A10_H_
53 #define __DT_BINDINGS_DMA_SUN4I_A10_H_
54 
55 #define SUN4I_DMA_NORMAL	0
56 #define SUN4I_DMA_DEDICATED	1
57 
58 #endif /* __DT_BINDINGS_DMA_SUN4I_A10_H_ */
59