forked from Minki/linux
11bd3dd1b7
This patch adds ASoC support for JZ4740 SoCs I2S module. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
23 lines
481 B
C
23 lines
481 B
C
/*
|
|
*
|
|
* 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
|
|
|
|
#include <linux/dma-mapping.h>
|
|
#include <asm/mach-jz4740/dma.h>
|
|
|
|
/* platform data */
|
|
extern struct snd_soc_platform jz4740_soc_platform;
|
|
|
|
struct jz4740_pcm_config {
|
|
struct jz4740_dma_config dma_config;
|
|
phys_addr_t fifo_addr;
|
|
};
|
|
|
|
#endif
|