]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/sound/simple_card.h
ALSA: Use const struct ac97_quirk
[mirror_ubuntu-bionic-kernel.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 fmt;
f2390880 20 unsigned int sysclk;
6ff62eed
XL
21 int slots;
22 int slot_width;
f9911803 23 struct clk *clk;
f2390880
KM
24};
25
26struct asoc_simple_card_info {
27 const char *name;
28 const char *card;
f2390880
KM
29 const char *codec;
30 const char *platform;
a4a2992c
KM
31
32 unsigned int daifmt;
33 struct asoc_simple_dai cpu_dai;
34 struct asoc_simple_dai codec_dai;
f2390880
KM
35};
36
37#endif /* __SIMPLE_CARD_H */