aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/intel/boards/sof_realtek_common.h
diff options
context:
space:
mode:
authorGravatar Brent Lu <brent.lu@intel.com> 2021-03-17 19:08:24 +0800
committerGravatar Mark Brown <broonie@kernel.org> 2021-03-18 13:54:45 +0000
commitad83b1adc58d6693036fd330d6af95a33564eaae (patch)
treed0a8f983f3159b705669848a035a0209243bd457 /sound/soc/intel/boards/sof_realtek_common.h
parentASoC: rt1019: add rt1019 amplifier driver (diff)
downloadlinux-ad83b1adc58d6693036fd330d6af95a33564eaae.tar.gz
linux-ad83b1adc58d6693036fd330d6af95a33564eaae.tar.bz2
linux-ad83b1adc58d6693036fd330d6af95a33564eaae.zip
ASoC: Intel: sof_rt5682: Add ALC1015Q-VB speaker amp support
This patch adds jsl_rt5682_rt1015p which supports the RT5682 headset codec and ALC1015Q-VB speaker amplifier combination on JasperLake platform. This driver also supports ALC1015Q-CG if running in auto-mode. Following table shows the audio interface support of the two amplifiers. | ALC1015Q-CG | ALC1015Q-VB ===================================== I2C | Yes | No Auto-mode | 48K, 64fs | 16k, 32fs | 48k, 32fs | 48k, 64fs Signed-off-by: Brent Lu <brent.lu@intel.com> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20210317110824.20814-1-brent.lu@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/sof_realtek_common.h')
-rw-r--r--sound/soc/intel/boards/sof_realtek_common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/sof_realtek_common.h b/sound/soc/intel/boards/sof_realtek_common.h
index 87cb3812b926..cb0b49b2855c 100644
--- a/sound/soc/intel/boards/sof_realtek_common.h
+++ b/sound/soc/intel/boards/sof_realtek_common.h
@@ -21,4 +21,11 @@
void sof_rt1011_dai_link(struct snd_soc_dai_link *link);
void sof_rt1011_codec_conf(struct snd_soc_card *card);
+#define RT1015P_CODEC_DAI "HiFi"
+#define RT1015P_DEV0_NAME "RTL1015:00"
+#define RT1015P_DEV1_NAME "RTL1015:01"
+
+void sof_rt1015p_dai_link(struct snd_soc_dai_link *link);
+void sof_rt1015p_codec_conf(struct snd_soc_card *card);
+
#endif /* __SOF_REALTEK_COMMON_H */