Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9dfd2bd

Browse files
kv2019ilgirdwood
authored andcommitted
topology: intel: use 38.4Mhz MCLK for all Bluetooth use-cases
Updated guidance for BT hardware is to use 38.4Mhz MCLK for both SCO and A2DP mode. This applies for all Intel platforms supporting Bluetooth offload. Signed-off-by: Kai Vehmanen <[email protected]>
1 parent 5871d0f commit 9dfd2bd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/topology/topology1/platform/intel/intel-generic-bt.m4

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ include(`ssp.m4')
88
ifdef(`SSP_INDEX',`',
99
`define(SSP_INDEX, `2')')
1010

11-
define(`SCO_MCLK', 19200000)
11+
define(`BT_MCLK', 38400000)
1212
define(`SSP_NAME', concat(concat(`SSP', SSP_INDEX),`-BT'))
1313

1414
# variable that need to be defined in upper m4
@@ -61,17 +61,17 @@ define(`data_names', DAI_DATA_NAMES(LIST(` ', "ssp_data1", "ssp_data2", "ssp
6161

6262
# Note WB is put as default in the list
6363
define(`ssp_config_list_1', LIST(`',
64-
`MULTI_SSP_CONFIG(hw_config1, HW_CONFIG_ID, DSP_A, SSP_CLOCK(mclk, SCO_MCLK, codec_mclk_in),'
64+
`MULTI_SSP_CONFIG(hw_config1, HW_CONFIG_ID, DSP_A, SSP_CLOCK(mclk, BT_MCLK, codec_mclk_in),'
6565
`SSP_CLOCK(bclk, 256000, codec_master, inverted),'
6666
`SSP_CLOCK(fsync, 16000, codec_master),'
6767
`SSP_TDM(1, 16, 1, 1),'
6868
`SSP_MULTI_CONFIG_DATA(ssp_data1, 16))',
69-
`MULTI_SSP_CONFIG(hw_config2, eval(HW_CONFIG_ID + 1), DSP_A, SSP_CLOCK(mclk, SCO_MCLK, codec_mclk_in),'
69+
`MULTI_SSP_CONFIG(hw_config2, eval(HW_CONFIG_ID + 1), DSP_A, SSP_CLOCK(mclk, BT_MCLK, codec_mclk_in),'
7070
`SSP_CLOCK(bclk, 128000, codec_master, inverted),'
7171
`SSP_CLOCK(fsync, 8000, codec_master),'
7272
`SSP_TDM(1, 16, 1, 1),'
7373
`SSP_MULTI_CONFIG_DATA(ssp_data2, 16))',
74-
`MULTI_SSP_CONFIG(hw_config3, eval(HW_CONFIG_ID + 2), DSP_A, SSP_CLOCK(mclk, eval(SCO_MCLK * 2), codec_mclk_in),'
74+
`MULTI_SSP_CONFIG(hw_config3, eval(HW_CONFIG_ID + 2), DSP_A, SSP_CLOCK(mclk, BT_MCLK, codec_mclk_in),'
7575
`SSP_CLOCK(bclk, 1536000, codec_slave),'
7676
`SSP_CLOCK(fsync, 48000, codec_slave),'
7777
`SSP_TDM(2, 16, 3, 0),'

0 commit comments

Comments
 (0)