1/* linux/arch/arm/plat-samsung/include/plat/s3c-pl330-pdata.h 2 * 3 * Copyright (C) 2010 Samsung Electronics Co. Ltd. 4 * Jaswinder Singh <jassi.brar@samsung.com> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 */ 11 12#ifndef __S3C_PL330_PDATA_H 13#define __S3C_PL330_PDATA_H 14 15#include <plat/s3c-dma-pl330.h> 16 17/* 18 * Every PL330 DMAC has max 32 peripheral interfaces, 19 * of which some may be not be really used in your 20 * DMAC's configuration. 21 * Populate this array of 32 peri i/fs with relevant 22 * channel IDs for used peri i/f and DMACH_MAX for 23 * those unused. 24 * 25 * The platforms just need to provide this info 26 * to the S3C DMA API driver for PL330. 27 */ 28struct s3c_pl330_platdata { 29 enum dma_ch peri[32]; 30}; 31 32#endif /* __S3C_PL330_PDATA_H */ 33