0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef __SOF_REALTEK_COMMON_H
0011 #define __SOF_REALTEK_COMMON_H
0012
0013 #include <sound/soc.h>
0014
0015 #define RT1011_CODEC_DAI "rt1011-aif"
0016 #define RT1011_DEV0_NAME "i2c-10EC1011:00"
0017 #define RT1011_DEV1_NAME "i2c-10EC1011:01"
0018 #define RT1011_DEV2_NAME "i2c-10EC1011:02"
0019 #define RT1011_DEV3_NAME "i2c-10EC1011:03"
0020
0021 void sof_rt1011_dai_link(struct snd_soc_dai_link *link);
0022 void sof_rt1011_codec_conf(struct snd_soc_card *card);
0023
0024 #define RT1015P_CODEC_DAI "HiFi"
0025 #define RT1015P_DEV0_NAME "RTL1015:00"
0026 #define RT1015P_DEV1_NAME "RTL1015:01"
0027
0028 void sof_rt1015p_dai_link(struct snd_soc_dai_link *link);
0029 void sof_rt1015p_codec_conf(struct snd_soc_card *card);
0030
0031 #define RT1015_CODEC_DAI "rt1015-aif"
0032 #define RT1015_DEV0_NAME "i2c-10EC1015:00"
0033 #define RT1015_DEV1_NAME "i2c-10EC1015:01"
0034
0035 void sof_rt1015_dai_link(struct snd_soc_dai_link *link, unsigned int fs);
0036 void sof_rt1015_codec_conf(struct snd_soc_card *card);
0037
0038 #define RT1308_CODEC_DAI "rt1308-aif"
0039 #define RT1308_DEV0_NAME "i2c-10EC1308:00"
0040 void sof_rt1308_dai_link(struct snd_soc_dai_link *link);
0041
0042 #define RT1019P_CODEC_DAI "HiFi"
0043 #define RT1019P_DEV0_NAME "RTL1019:00"
0044
0045 void sof_rt1019p_dai_link(struct snd_soc_dai_link *link);
0046
0047 #endif