2009-08-20 11:38:17 +02:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _JZ4740_PCM_H
|
|
|
|
#define _JZ4740_PCM_H
|
|
|
|
|
2010-01-11 02:13:22 +01:00
|
|
|
#include <linux/dma-mapping.h>
|
|
|
|
#include <asm/mach-jz4740/dma.h>
|
|
|
|
|
2009-08-20 11:38:17 +02:00
|
|
|
/* platform data */
|
|
|
|
extern struct snd_soc_platform jz4740_soc_platform;
|
|
|
|
|
2010-01-11 02:13:22 +01:00
|
|
|
struct jz4740_pcm_config {
|
|
|
|
struct jz4740_dma_config *dma_config;
|
|
|
|
phys_addr_t fifo_addr;
|
|
|
|
};
|
|
|
|
|
2009-08-20 11:38:17 +02:00
|
|
|
#endif
|