1 /* SPDX-License-Identifier: GPL-2.0 !! 1 /* 2 * << 3 * ASoC simple sound card support 2 * ASoC simple sound card support 4 * 3 * 5 * Copyright (C) 2012 Renesas Solutions Corp. 4 * Copyright (C) 2012 Renesas Solutions Corp. 6 * Kuninori Morimoto <kuninori.morimoto.gx@ren 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. 7 */ 10 */ 8 11 9 #ifndef __SIMPLE_CARD_H 12 #ifndef __SIMPLE_CARD_H 10 #define __SIMPLE_CARD_H 13 #define __SIMPLE_CARD_H 11 14 12 #include <sound/soc.h> 15 #include <sound/soc.h> 13 #include <sound/simple_card_utils.h> << 14 16 15 struct simple_util_info { !! 17 struct asoc_simple_dai { >> 18 const char *name; >> 19 unsigned int fmt; >> 20 unsigned int sysclk; >> 21 }; >> 22 >> 23 struct asoc_simple_card_info { 16 const char *name; 24 const char *name; 17 const char *card; 25 const char *card; 18 const char *codec; 26 const char *codec; 19 const char *platform; 27 const char *platform; 20 28 21 unsigned int daifmt; 29 unsigned int daifmt; 22 struct simple_util_dai cpu_dai; !! 30 struct asoc_simple_dai cpu_dai; 23 struct simple_util_dai codec_dai; !! 31 struct asoc_simple_dai codec_dai; >> 32 >> 33 /* used in simple-card.c */ >> 34 struct snd_soc_dai_link snd_link; >> 35 struct snd_soc_card snd_card; 24 }; 36 }; 25 37 26 #endif /* __SIMPLE_CARD_H */ 38 #endif /* __SIMPLE_CARD_H */ 27 39
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.