summaryrefslogtreecommitdiff
path: root/sound/soc/intel/boards/sof_maxim_common.h
diff options
context:
space:
mode:
authorBrent Lu <brent.lu@intel.com>2021-07-12 15:32:35 -0500
committerMark Brown <broonie@kernel.org>2021-07-14 13:30:35 +0100
commit07acee589f4293cb0ebd77aa201d616e9a296bb9 (patch)
tree95631c18416c36c000e8a38e81331d417eda4b40 /sound/soc/intel/boards/sof_maxim_common.h
parent3cb97cf3a65a7fdbf4844ccd39b7e96fe14f762b (diff)
ASoC: Intel: maxim-common: support max98360a
Move max98360a code to this common module so it could be shared between multiple SOF machine drivers. MAX98357A and MAX98360A are sharing same codec driver so here we also share some function and structures. Reviewed-by: Bard Liao <bard.liao@intel.com> Signed-off-by: Brent Lu <brent.lu@intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20210712203240.46960-3-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/sof_maxim_common.h')
-rw-r--r--sound/soc/intel/boards/sof_maxim_common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/sof_maxim_common.h b/sound/soc/intel/boards/sof_maxim_common.h
index 2674f1e373ef..3ff5e8fec4de 100644
--- a/sound/soc/intel/boards/sof_maxim_common.h
+++ b/sound/soc/intel/boards/sof_maxim_common.h
@@ -25,11 +25,13 @@ void max_98373_set_codec_conf(struct snd_soc_card *card);
int max_98373_trigger(struct snd_pcm_substream *substream, int cmd);
/*
- * Maxim MAX98357A
+ * Maxim MAX98357A/MAX98360A
*/
#define MAX_98357A_CODEC_DAI "HiFi"
#define MAX_98357A_DEV0_NAME "MX98357A:00"
+#define MAX_98360A_DEV0_NAME "MX98360A:00"
void max_98357a_dai_link(struct snd_soc_dai_link *link);
+void max_98360a_dai_link(struct snd_soc_dai_link *link);
#endif /* __SOF_MAXIM_COMMON_H */