* [PATCH] ASoC: Intel: sof_rt5682: Add quirk for Rex board
@ 2022-10-17 20:42 Pierre-Louis Bossart
2022-10-17 20:52 ` Pierre-Louis Bossart
2022-10-19 12:32 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Pierre-Louis Bossart @ 2022-10-17 20:42 UTC (permalink / raw)
To: alsa-devel
Cc: tiwai, Pierre-Louis Bossart, broonie, Curtis Malainey, Bard Liao,
Yong Zhi
From: Yong Zhi <yong.zhi@intel.com>
Add mtl_mx98357_rt5682 driver data for Chrome Rex board support.
Signed-off-by: Yong Zhi <yong.zhi@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Curtis Malainey <cujomalainey@chromium.org>
---
sound/soc/intel/boards/sof_rt5682.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/sound/soc/intel/boards/sof_rt5682.c b/sound/soc/intel/boards/sof_rt5682.c
index 1bf9455eaf935..adc964d363a29 100644
--- a/sound/soc/intel/boards/sof_rt5682.c
+++ b/sound/soc/intel/boards/sof_rt5682.c
@@ -225,6 +225,18 @@ static const struct dmi_system_id sof_rt5682_quirk_table[] = {
SOF_RT5682_SSP_AMP(2) |
SOF_RT5682_NUM_HDMIDEV(4)),
},
+ {
+ .callback = sof_rt5682_quirk_cb,
+ .matches = {
+ DMI_MATCH(DMI_PRODUCT_FAMILY, "Google_Rex"),
+ },
+ .driver_data = (void *)(SOF_RT5682_MCLK_EN |
+ SOF_RT5682_SSP_CODEC(2) |
+ SOF_SPEAKER_AMP_PRESENT |
+ SOF_RT5682_SSP_AMP(0) |
+ SOF_RT5682_NUM_HDMIDEV(4)
+ ),
+ },
{}
};
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: Intel: sof_rt5682: Add quirk for Rex board
2022-10-17 20:42 [PATCH] ASoC: Intel: sof_rt5682: Add quirk for Rex board Pierre-Louis Bossart
@ 2022-10-17 20:52 ` Pierre-Louis Bossart
2022-10-19 12:32 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Pierre-Louis Bossart @ 2022-10-17 20:52 UTC (permalink / raw)
To: alsa-devel; +Cc: tiwai, Curtis Malainey, broonie, Bard Liao, Yong Zhi
On 10/17/22 15:42, Pierre-Louis Bossart wrote:
> From: Yong Zhi <yong.zhi@intel.com>
>
> Add mtl_mx98357_rt5682 driver data for Chrome Rex board support.
>
> Signed-off-by: Yong Zhi <yong.zhi@intel.com>
> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
I forgot to run my script and add my Signed-off-by tag, please discard
this one, will send a v2. Sorry about the noise.
> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
> Reviewed-by: Curtis Malainey <cujomalainey@chromium.org>
> ---
> sound/soc/intel/boards/sof_rt5682.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/sound/soc/intel/boards/sof_rt5682.c b/sound/soc/intel/boards/sof_rt5682.c
> index 1bf9455eaf935..adc964d363a29 100644
> --- a/sound/soc/intel/boards/sof_rt5682.c
> +++ b/sound/soc/intel/boards/sof_rt5682.c
> @@ -225,6 +225,18 @@ static const struct dmi_system_id sof_rt5682_quirk_table[] = {
> SOF_RT5682_SSP_AMP(2) |
> SOF_RT5682_NUM_HDMIDEV(4)),
> },
> + {
> + .callback = sof_rt5682_quirk_cb,
> + .matches = {
> + DMI_MATCH(DMI_PRODUCT_FAMILY, "Google_Rex"),
> + },
> + .driver_data = (void *)(SOF_RT5682_MCLK_EN |
> + SOF_RT5682_SSP_CODEC(2) |
> + SOF_SPEAKER_AMP_PRESENT |
> + SOF_RT5682_SSP_AMP(0) |
> + SOF_RT5682_NUM_HDMIDEV(4)
> + ),
> + },
> {}
> };
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: Intel: sof_rt5682: Add quirk for Rex board
2022-10-17 20:42 [PATCH] ASoC: Intel: sof_rt5682: Add quirk for Rex board Pierre-Louis Bossart
2022-10-17 20:52 ` Pierre-Louis Bossart
@ 2022-10-19 12:32 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2022-10-19 12:32 UTC (permalink / raw)
To: Pierre-Louis Bossart, alsa-devel
Cc: tiwai, Curtis Malainey, Bard Liao, Yong Zhi
On Mon, 17 Oct 2022 15:42:07 -0500, Pierre-Louis Bossart wrote:
> From: Yong Zhi <yong.zhi@intel.com>
>
> Add mtl_mx98357_rt5682 driver data for Chrome Rex board support.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: Intel: sof_rt5682: Add quirk for Rex board
commit: b4dd2e3758709aa8a2abd1ac34c56bd09b980039
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-19 12:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-17 20:42 [PATCH] ASoC: Intel: sof_rt5682: Add quirk for Rex board Pierre-Louis Bossart
2022-10-17 20:52 ` Pierre-Louis Bossart
2022-10-19 12:32 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox