diff options
author | Jiri Kosina <jkosina@suse.cz> | 2022-03-23 11:58:40 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2022-03-23 11:58:40 +0300 |
commit | b690490d6d466972ade172ee2e7f6ffa49e7e910 (patch) | |
tree | 50a93da28c9128e19eb7a3038aecf75dab6b36e1 /sound/soc/intel/boards/sof_maxim_common.h | |
parent | f97ec5d75e9261a5da78dc28a8955b7cc0c4468b (diff) | |
parent | 0f203948230720e849ad50d158adac1cd32c282f (diff) | |
download | linux-b690490d6d466972ade172ee2e7f6ffa49e7e910.tar.xz |
Merge branch 'for-5.18/amd-sfh' into for-linus
- dead code elimination (Christophe JAILLET)
Diffstat (limited to 'sound/soc/intel/boards/sof_maxim_common.h')
-rw-r--r-- | sound/soc/intel/boards/sof_maxim_common.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/sof_maxim_common.h b/sound/soc/intel/boards/sof_maxim_common.h index 3ff5e8fec4de..7a8c53049e4d 100644 --- a/sound/soc/intel/boards/sof_maxim_common.h +++ b/sound/soc/intel/boards/sof_maxim_common.h @@ -25,6 +25,22 @@ void max_98373_set_codec_conf(struct snd_soc_card *card); int max_98373_trigger(struct snd_pcm_substream *substream, int cmd); /* + * Maxim MAX98390 + */ +#define MAX_98390_CODEC_DAI "max98390-aif1" +#define MAX_98390_DEV0_NAME "i2c-MX98390:00" +#define MAX_98390_DEV1_NAME "i2c-MX98390:01" +#define MAX_98390_DEV2_NAME "i2c-MX98390:02" +#define MAX_98390_DEV3_NAME "i2c-MX98390:03" + +extern struct snd_soc_dai_link_component max_98390_components[2]; +extern struct snd_soc_dai_link_component max_98390_4spk_components[4]; +extern const struct snd_soc_ops max_98390_ops; + +void max_98390_set_codec_conf(struct snd_soc_card *card, int ch); +int max_98390_spk_codec_init(struct snd_soc_pcm_runtime *rtd); + +/* * Maxim MAX98357A/MAX98360A */ #define MAX_98357A_CODEC_DAI "HiFi" |