Linux Audio

Check our new training course

Loading...
v5.4
 1/* SPDX-License-Identifier: GPL-2.0
 2 *
 3 * ASoC simple sound card support
 4 *
 5 * Copyright (C) 2012 Renesas Solutions Corp.
 6 * Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
 
 
 
 
 7 */
 8
 9#ifndef __SIMPLE_CARD_H
10#define __SIMPLE_CARD_H
11
12#include <sound/soc.h>
13#include <sound/simple_card_utils.h>
 
 
 
 
 
 
 
14
15struct asoc_simple_card_info {
16	const char *name;
17	const char *card;
18	const char *codec;
19	const char *platform;
20
21	unsigned int daifmt;
22	struct asoc_simple_dai cpu_dai;
23	struct asoc_simple_dai codec_dai;
24};
25
26#endif /* __SIMPLE_CARD_H */
v3.15
 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
17struct asoc_simple_dai {
18	const char *name;
19	unsigned int fmt;
20	unsigned int sysclk;
21	int slots;
22	int slot_width;
23};
24
25struct asoc_simple_card_info {
26	const char *name;
27	const char *card;
28	const char *codec;
29	const char *platform;
30
31	unsigned int daifmt;
32	struct asoc_simple_dai cpu_dai;
33	struct asoc_simple_dai codec_dai;
34};
35
36#endif /* __SIMPLE_CARD_H */