Skip to content

Commit 7083932

Browse files
brentlumwasko
authored andcommitted
topology1: sof-hda-generic: support BT audio offload
Add new pipelines to sof-hda-generic.m4 to support BT audio offload on SSP2 if BT_OFFLOAD is defined in makefile. Signed-off-by: Brent Lu <brent.lu@intel.com> (cherry picked from commit 307ddc7)
1 parent 84d4de2 commit 7083932

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

tools/topology/topology1/sof-hda-generic.m4

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ include(`platform/intel/intel-generic-dmic.m4')
3737
'
3838
)
3939

40+
ifdef(`BT_OFFLOAD', `
41+
# BT offload support
42+
define(`BT_PIPELINE_PB_ID', `12')
43+
define(`BT_PIPELINE_CP_ID', `13')
44+
define(`BT_DAI_LINK_ID', 8)
45+
define(`BT_PCM_ID', `8')
46+
define(`HW_CONFIG_ID', 8)
47+
include(`platform/intel/intel-generic-bt.m4')')
48+
4049
# The pipeline naming notation is pipe-mixer-PROCESSING-dai-DIRECTION.m4
4150
# HSPROC is set by makefile, if not the default above is applied
4251
define(PIPE_HEADSET_PLAYBACK, `sof/pipe-mixer-`HSPROC'-dai-playback.m4')

0 commit comments

Comments
 (0)