[Sound-open-firmware] [PATCH 1/3] topology: Add SOF_TKN_DAI_LBM for ssp loopback mode

Pan, Xiuli xiuli.pan at linux.intel.com
Wed Jun 13 22:49:51 CEST 2018



On 6/13/2018 23:59, Pierre-Louis Bossart wrote:
>
>
> On 06/13/2018 04:23 AM, Xiuli Pan wrote:
>> From: Pan Xiuli <xiuli.pan at linux.intel.com>
>>
>> Add token SOF_TKN_DAI_LBM for SSP loopback mode.
>
> I don't think LBM should be a generic DAI token, it's SSP specific for 
> now, so can we treat it as SSP-only?
Will rename it to SSP related and only parse for SSP.
Will send a V2 version.
Thanks
Xiuli
>
>>
>> Signed-off-by: Pan Xiuli <xiuli.pan at linux.intel.com>
>> ---
>> Work with patch set:
>> SOF-Kernel:
>>    ASoC: SOF: Add debug_mode flag in sof dev
>>    ASoC: SOF: debug: add debugmode debugfs for sof_dev debug_mode
>>    ASoC: SOF: uapi: topology: Add SOF_TKN_DAI_LBM for ssp loopback mode
>>    ASoC: SOF: uapi: ipc: Add lbm in sof_ipc_dai_config
>>    ASoC: SOF: topology: Add topology handler for dai config loopback 
>> mode
>>    ASoC: SOF: add headers for lbm control callback functions
>>    ASoC: SOF: add lbm kcontrol callback functions
>>    ASoC: SOF: topology: add SSP lbm kcontrol switch create function
>> SOF:
>>    dai: add lbm status for dai
>>    ipc: dai: add loopback mode handler for dai
>> SOF-Tools:
>>    topology: Add SOF_TKN_DAI_LBM for ssp loopback mode
>>    topology: m4: Add option for loopback mode in DAI config
>>    topology: test: Add loopback topology
>>
>> test & santity test with:
>> Mininow max rt5651 and UP2 Hifiberry PRO and CNL nocodec
>> SOF master: 792bd414ee5629f72b1e24619510d6936eac28ce
>> SOF-Tool master: bd7dc88231f31d385340310cef467f211a739eeb
>> https://github.com/plbossart/sound/tree/topic/sof-v4.14:
>> 1e0f50565669815dd7daa19021b3b04a90487431
>>
>> ---
>>   topology/sof/tokens.m4 | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/topology/sof/tokens.m4 b/topology/sof/tokens.m4
>> index f0b3428..f2a07e4 100644
>> --- a/topology/sof/tokens.m4
>> +++ b/topology/sof/tokens.m4
>> @@ -19,6 +19,7 @@ SectionVendorTokens."sof_dai_tokens" {
>>       SOF_TKN_DAI_TYPE            "154"
>>       SOF_TKN_DAI_INDEX            "155"
>>       SOF_TKN_DAI_SAMPLE_BITS            "156"
>> +    SOF_TKN_DAI_LBM                "157"
>
>
>>   }
>>     SectionVendorTokens."sof_sched_tokens" {
>
> _______________________________________________
> Sound-open-firmware mailing list
> Sound-open-firmware at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/sound-open-firmware



More information about the Sound-open-firmware mailing list