xref: /linux/sound/soc/intel/boards/sof_realtek_common.h (revision a460513ed4b6994bfeb7bd86f72853140bc1ac12)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright(c) 2020 Intel Corporation.
4  */
5 
6 /*
7  * This file defines data structures used in Machine Driver for Intel
8  * platforms with Realtek Codecs.
9  */
10 #ifndef __SOF_REALTEK_COMMON_H
11 #define __SOF_REALTEK_COMMON_H
12 
13 #include <sound/soc.h>
14 
15 #define RT1011_CODEC_DAI	"rt1011-aif"
16 #define RT1011_DEV0_NAME	"i2c-10EC1011:00"
17 #define RT1011_DEV1_NAME	"i2c-10EC1011:01"
18 #define RT1011_DEV2_NAME	"i2c-10EC1011:02"
19 #define RT1011_DEV3_NAME	"i2c-10EC1011:03"
20 
21 void sof_rt1011_dai_link(struct snd_soc_dai_link *link);
22 void sof_rt1011_codec_conf(struct snd_soc_card *card);
23 
24 #endif /* __SOF_REALTEK_COMMON_H */
25