Linux 3.12.5
[linux/fpc-iii.git] / include / sound / simple_card.h
blob6c74527d4926b3e476428fb6327652d9ca22dfbb
1 /*
2 * ASoC simple sound card support
4 * Copyright (C) 2012 Renesas Solutions Corp.
5 * Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
12 #ifndef __SIMPLE_CARD_H
13 #define __SIMPLE_CARD_H
15 #include <sound/soc.h>
17 struct asoc_simple_dai {
18 const char *name;
19 unsigned int fmt;
20 unsigned int sysclk;
23 struct asoc_simple_card_info {
24 const char *name;
25 const char *card;
26 const char *codec;
27 const char *platform;
29 unsigned int daifmt;
30 struct asoc_simple_dai cpu_dai;
31 struct asoc_simple_dai codec_dai;
33 /* used in simple-card.c */
34 struct snd_soc_dai_link snd_link;
35 struct snd_soc_card snd_card;
38 #endif /* __SIMPLE_CARD_H */