Skip to content

Commit

Permalink
Make feedback channels Two
Browse files Browse the repository at this point in the history
Signed-off-by: SaiSurya Ch <[email protected]>
  • Loading branch information
saisurya-ch committed Sep 8, 2023
1 parent f162bd0 commit c5e7d3d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ define(`SMART_PB_PPL_ID', 1)
define(`SMART_PB_CH_NUM', 2)
define(`SMART_TX_CHANNELS', 2)
define(`SMART_RX_CHANNELS', 2)
define(`SMART_FB_CHANNELS', 1)
define(`SMART_FB_CHANNELS', 2)
# Ref capture related
#7->2
define(`SMART_REF_PPL_ID', 2)
Expand Down
2 changes: 1 addition & 1 deletion tools/topology/topology1/sof-smart-amplifier-amd.m4
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ DAI_CONFIG(ACPHS, 1, SMART_BE_ID, acp-amp-codec,
ACPHS_CONFIG(I2S, ACP_CLOCK(mclk, 49152000, codec_mclk_in),
ACP_CLOCK(bclk, 3072000, codec_slave),
ACP_CLOCK(fsync, 48000, codec_slave),
ACP_TDM(8, 32, 3, 3),
ACP_TDM(2, 32, 3, 3),
ACPHS_CONFIG_DATA(ACPHS, 1, 48000, 2, 0)))

DEBUG_END
4 changes: 2 additions & 2 deletions tools/topology/topology1/sof/pipe-amp-ref-capture.m4
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ ifdef(`SMART_REF_CH_NUM',`',`fatal_error(note: Need to define Echo Ref channel n

ifelse(SMART_FB_CHANNELS, `8',
`define(`FB_CHMAP',`0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80')',
`define(`FB_CHMAP',`0x01,0x02,0x04,0x08,0x00,0x00,0x00,0x00')'
`define(`FB_CHMAP',`0x01,0x02,0x00,0x00,0x00,0x00,0x00,0x00')'
)

ifelse(SMART_REF_CH_NUM, `4',
`define(`REF_CHMAP',`0x01,0x02,0x04,0x08,0x00,0x00,0x00,0x00')',
`define(`REF_CHMAP',`0x01,0x04,0x00,0x00,0x00,0x00,0x00,0x00')'
`define(`REF_CHMAP',`0x01,0x02,0x00,0x00,0x00,0x00,0x00,0x00')'
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ifdef(`SMART_UUID',`', `define(`SMART_UUID', smart_amp_comp_uuid)');
# initial config params for smart_amp, aligned with struct sof_smart_amp_config
ifelse(SMART_FB_CHANNELS, `8',
`define(`FB_CHMAP',`0xff,0xff,0x00,0x01,0xff,0xff,0xff,0xff')',
`define(`FB_CHMAP',`0x00,0x01,0x02,0x03,0xff,0xff,0xff,0xff')'
`define(`FB_CHMAP',`0x00,0x01,0xff,0xff,0xff,0xff,0xff,0xff')'
)

CONTROLBYTES_PRIV(SMART_AMP_priv,
Expand Down

0 comments on commit c5e7d3d

Please sign in to comment.