Linux 4.1.18
[linux/fpc-iii.git] / include / sound / simple_card.h
blobb9b4f289fe6b32130848cf4062ac94e4864f5bfb
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 sysclk;
20 int slots;
21 int slot_width;
22 struct clk *clk;
25 struct asoc_simple_card_info {
26 const char *name;
27 const char *card;
28 const char *codec;
29 const char *platform;
31 unsigned int daifmt;
32 struct asoc_simple_dai cpu_dai;
33 struct asoc_simple_dai codec_dai;
36 #endif /* __SIMPLE_CARD_H */