MIPS: Add missing VZ accessor microMIPS encodings
[linux-2.6-block.git] / include / sound / simple_card.h
CommitLineData
f2390880
KM
1/*
2 * ASoC simple sound card support
3 *
4 * Copyright (C) 2012 Renesas Solutions Corp.
5 * Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
6 *
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.
10 */
11
12#ifndef __SIMPLE_CARD_H
13#define __SIMPLE_CARD_H
14
15#include <sound/soc.h>
16
a4a2992c
KM
17struct asoc_simple_dai {
18 const char *name;
f2390880 19 unsigned int sysclk;
6ff62eed
XL
20 int slots;
21 int slot_width;
6131084a
JS
22 unsigned int tx_slot_mask;
23 unsigned int rx_slot_mask;
f9911803 24 struct clk *clk;
f2390880
KM
25};
26
27struct asoc_simple_card_info {
28 const char *name;
29 const char *card;
f2390880
KM
30 const char *codec;
31 const char *platform;
a4a2992c
KM
32
33 unsigned int daifmt;
34 struct asoc_simple_dai cpu_dai;
35 struct asoc_simple_dai codec_dai;
f2390880
KM
36};
37
38#endif /* __SIMPLE_CARD_H */