--- Begin Message ---
- To: Pierre-Louis Bossart <pierre-louis.bossart@xxxxxxxxxxxxxxx>
- Subject: Re: [PATCH v1] ASoC: Intel: sof_rt5682: Enable Bluetooth offload on adl_rt1019_rt5682
- From: Ajye Huang <ajye_huang@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 11 Mar 2023 07:55:21 +0800
- Cc: linux-kernel@xxxxxxxxxxxxxxx, Mark Brown <broonie@xxxxxxxxxx>, Cezary Rojewski <cezary.rojewski@xxxxxxxxx>, Liam Girdwood <liam.r.girdwood@xxxxxxxxxxxxxxx>, Peter Ujfalusi <peter.ujfalusi@xxxxxxxxxxxxxxx>, Bard Liao <yung-chuan.liao@xxxxxxxxxxxxxxx>, Ranjani Sridharan <ranjani.sridharan@xxxxxxxxxxxxxxx>, Kai Vehmanen <kai.vehmanen@xxxxxxxxxxxxxxx>, Liam Girdwood <lgirdwood@xxxxxxxxx>, Takashi Iwai <tiwai@xxxxxxxx>, Brent Lu <brent.lu@xxxxxxxxx>, Yong Zhi <yong.zhi@xxxxxxxxx>, dharageswari.r@xxxxxxxxx, Vamshi Krishna <vamshi.krishna.gopal@xxxxxxxxx>, ye xingchen <ye.xingchen@xxxxxxxxxx>, alsa-devel@xxxxxxxxxxxxxxxx, Mac Chiang <mac.chiang@xxxxxxxxx>
- In-reply-to: <a5962d12-ccd2-79ea-27bc-674e0b3065f4@linux.intel.com>
- References: <20230310184201.1302232-1-ajye_huang@compal.corp-partner.google.com> <0456bd4e-cfee-b863-e02d-98084b5da0f6@linux.intel.com> <CALprXBamM-M-YdyfX9dQHp_AQAovcqzL5H4rMPsZPXS426+VgA@mail.gmail.com> <a5962d12-ccd2-79ea-27bc-674e0b3065f4@linux.intel.com>
On Sat, Mar 11, 2023 at 6:46 AM Pierre-Louis Bossart
<pierre-louis.bossart@xxxxxxxxxxxxxxx> wrote:
>
> It's best if you provide a series that enables BT offload across the
> board for ADL, if that's the intended goal.
Hi Pierre,
{ .name = "adl_mx98357_rt5682",
.driver_data = (kernel_ulong_t)(SOF_RT5682_MCLK_EN |
SOF_RT5682_SSP_CODEC(0) |
SOF_SPEAKER_AMP_PRESENT |
SOF_RT5682_SSP_AMP(2) |
SOF_RT5682_NUM_HDMIDEV(4)),
},
The "adl_mx98357_rt5682" is the sound card of the google "Brya" Board project.
Because the SSP2 is used for the max98357 amplifier, so SSP2
bt_offload can't be enabled at the drv_name "adl_mx98357_rt5682".
(The hardway layout I2S port2 connected to max98357 amplifier)
The other adl projects that enabled the bt_offload feature were
designed with ssp1 for amp, ssp2 for bt_offload based on pins
definition.
{
.name = "adl_rt1019_rt5682",
.driver_data = (kernel_ulong_t)(SOF_RT5682_MCLK_EN |
SOF_RT5682_SSP_CODEC(0) |
SOF_SPEAKER_AMP_PRESENT |
SOF_RT1019_SPEAKER_AMP_PRESENT |
SOF_RT5682_SSP_AMP(1) |
SOF_RT5682_NUM_HDMIDEV(4) |
SOF_BT_OFFLOAD_SSP(2) |
SOF_SSP_BT_OFFLOAD_PRESENT),
},
thanks
--- End Message ---