143bcad2bSLars-Peter Clausen /* 243bcad2bSLars-Peter Clausen * This file is dual-licensed: you can use it either under the terms 343bcad2bSLars-Peter Clausen * of the GPL or the X11 license, at your option. Note that this dual 443bcad2bSLars-Peter Clausen * licensing only applies to this file, and not this project as a 543bcad2bSLars-Peter Clausen * whole. 643bcad2bSLars-Peter Clausen * 743bcad2bSLars-Peter Clausen * a) This file is free software; you can redistribute it and/or 843bcad2bSLars-Peter Clausen * modify it under the terms of the GNU General Public License as 943bcad2bSLars-Peter Clausen * published by the Free Software Foundation; either version 2 of the 1043bcad2bSLars-Peter Clausen * License, or (at your option) any later version. 1143bcad2bSLars-Peter Clausen * 1243bcad2bSLars-Peter Clausen * This file is distributed in the hope that it will be useful, 1343bcad2bSLars-Peter Clausen * but WITHOUT ANY WARRANTY; without even the implied warranty of 1443bcad2bSLars-Peter Clausen * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1543bcad2bSLars-Peter Clausen * GNU General Public License for more details. 1643bcad2bSLars-Peter Clausen * 1743bcad2bSLars-Peter Clausen * Or, alternatively, 1843bcad2bSLars-Peter Clausen * 1943bcad2bSLars-Peter Clausen * b) Permission is hereby granted, free of charge, to any person 2043bcad2bSLars-Peter Clausen * obtaining a copy of this software and associated documentation 2143bcad2bSLars-Peter Clausen * files (the "Software"), to deal in the Software without 2243bcad2bSLars-Peter Clausen * restriction, including without limitation the rights to use, 2343bcad2bSLars-Peter Clausen * copy, modify, merge, publish, distribute, sublicense, and/or 2443bcad2bSLars-Peter Clausen * sell copies of the Software, and to permit persons to whom the 2543bcad2bSLars-Peter Clausen * Software is furnished to do so, subject to the following 2643bcad2bSLars-Peter Clausen * conditions: 2743bcad2bSLars-Peter Clausen * 2843bcad2bSLars-Peter Clausen * The above copyright notice and this permission notice shall be 2943bcad2bSLars-Peter Clausen * included in all copies or substantial portions of the Software. 3043bcad2bSLars-Peter Clausen * 3143bcad2bSLars-Peter Clausen * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 3243bcad2bSLars-Peter Clausen * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 3343bcad2bSLars-Peter Clausen * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 3443bcad2bSLars-Peter Clausen * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 3543bcad2bSLars-Peter Clausen * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 3643bcad2bSLars-Peter Clausen * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 3743bcad2bSLars-Peter Clausen * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 3843bcad2bSLars-Peter Clausen * OTHER DEALINGS IN THE SOFTWARE. 3943bcad2bSLars-Peter Clausen */ 4043bcad2bSLars-Peter Clausen 4143bcad2bSLars-Peter Clausen #ifndef __DT_BINDINGS_DMA_AXI_DMAC_H__ 4243bcad2bSLars-Peter Clausen #define __DT_BINDINGS_DMA_AXI_DMAC_H__ 4343bcad2bSLars-Peter Clausen 4443bcad2bSLars-Peter Clausen #define AXI_DMAC_BUS_TYPE_AXI_MM 0 4543bcad2bSLars-Peter Clausen #define AXI_DMAC_BUS_TYPE_AXI_STREAM 1 4643bcad2bSLars-Peter Clausen #define AXI_DMAC_BUS_TYPE_FIFO 2 4743bcad2bSLars-Peter Clausen 4843bcad2bSLars-Peter Clausen #endif 49