Hello, I wrote:
Add support for Texas Instuments Communication Port Programming Interface 4.1 (CPPI 4.1) used on OMAP-L137/DA830.
At this moment, only the DMA controller and queue manager are supported. Support for the buffer manager is lacking but this chip doesn't have it anyway.
--- As DA830/OMAP-L137 code is going to reside in arch/arm/mach-davinci/, I had to place the code into this directory by the popular demand, despite CPPI 4.1 not really being arch-specific...
The patch is against the recent DaVinci tree, plus my patch adding the cp_intc support...
[...]
Index: linux-davinci/arch/arm/mach-davinci/cppi41.c =================================================================== --- /dev/null +++ linux-davinci/arch/arm/mach-davinci/cppi41.c @@ -0,0 +1,788 @@ +/* + * CPPI 4.1 support + * + * Copyright (C) 2008-2009 MontaVista Software, Inc. <[email protected]> + * + * Based on the PAL CPPI 4.1 implementation + * Copyright (C) 1998-2006 Texas Instruments Incorporated + * + * This file contains the main implementation for CPPI 4.1 common peripherals, + * including the DMA Controllers and the Queue Managers. + * + * This program is free software; you can distribute it and/or modify it + * under the terms of the GNU General Public License (Version 2) as + * published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. + * + */ + +#include <linux/io.h> +#include <linux/init.h> +#include <linux/module.h> +#include <linux/dma-mapping.h> + +#include <mach/cppi41.h> + +#define CPPI41_DEBUG
Oops, meant to be #undef... WBR, Sergei _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
