Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: Intel: sof_rt5682: Add quirk for Rex board

Add mtl_mx98357_rt5682 driver data for Chrome Rex board support.

Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Curtis Malainey <cujomalainey@chromium.org>
Signed-off-by: Yong Zhi <yong.zhi@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20221017205728.210813-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Yong Zhi and committed by
Mark Brown
b4dd2e37 73189c06

+12
+12
sound/soc/intel/boards/sof_rt5682.c
··· 223 223 SOF_RT5682_SSP_AMP(2) | 224 224 SOF_RT5682_NUM_HDMIDEV(4)), 225 225 }, 226 + { 227 + .callback = sof_rt5682_quirk_cb, 228 + .matches = { 229 + DMI_MATCH(DMI_PRODUCT_FAMILY, "Google_Rex"), 230 + }, 231 + .driver_data = (void *)(SOF_RT5682_MCLK_EN | 232 + SOF_RT5682_SSP_CODEC(2) | 233 + SOF_SPEAKER_AMP_PRESENT | 234 + SOF_RT5682_SSP_AMP(0) | 235 + SOF_RT5682_NUM_HDMIDEV(4) 236 + ), 237 + }, 226 238 {} 227 239 }; 228 240