diff options
author | Brent Lu <brent.lu@intel.com> | 2021-05-05 11:37:03 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-05-10 13:04:24 +0100 |
commit | a21515b5aaff57bf2f4160380aa7eedcd0113c96 (patch) | |
tree | ffabf14f976f7e732423a739aac34d45ac93fb76 /sound/soc/intel/boards/sof_maxim_common.h | |
parent | 81cd42e5174ba7918edd3d006406ce21ebaa8507 (diff) |
ASoC: Intel: maxim-common: support max98357a
Move max98357a code to this common module so it could be shared
between multiple SOF machine drivers.
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/20210505163705.305616-12-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.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/sof_maxim_common.h b/sound/soc/intel/boards/sof_maxim_common.h index 566a664d5a63..2674f1e373ef 100644 --- a/sound/soc/intel/boards/sof_maxim_common.h +++ b/sound/soc/intel/boards/sof_maxim_common.h @@ -24,4 +24,12 @@ int max_98373_spk_codec_init(struct snd_soc_pcm_runtime *rtd); void max_98373_set_codec_conf(struct snd_soc_card *card); int max_98373_trigger(struct snd_pcm_substream *substream, int cmd); +/* + * Maxim MAX98357A + */ +#define MAX_98357A_CODEC_DAI "HiFi" +#define MAX_98357A_DEV0_NAME "MX98357A:00" + +void max_98357a_dai_link(struct snd_soc_dai_link *link); + #endif /* __SOF_MAXIM_COMMON_H */ |