Skip to content

Commit

Permalink
tools: topology1: imx8mp: Switch to time domain timer
Browse files Browse the repository at this point in the history
After commit eac3c44 ("imx8mp: Switch to native drivers
and timer domain") we no longer use DMA domain for scheduling.

Fix topologies to use time domain timer.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
  • Loading branch information
dbaluta committed Jan 17, 2025
1 parent 45d5365 commit 58bf722
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tools/topology/topology1/sof-imx8mp-btsco-dual-8ch.m4
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ dnl deadline, priority, core)
DAI_ADD(sof/pipe-dai-playback.m4,
1, SAI, 2, sai2-bt-sco-pcm-wb,
PIPELINE_SOURCE_1, 2, s16le,
DEADLINE, 0, 0, SCHEDULE_TIME_DOMAIN_DMA)
DEADLINE, 0, 0, SCHEDULE_TIME_DOMAIN_TIMER)

# capture DAI SAI2 using 2 periods
DAI_ADD(sof/pipe-dai-capture.m4,
Expand All @@ -91,7 +91,7 @@ DAI_ADD(sof/pipe-dai-capture.m4,
DAI_ADD(sof/pipe-dai-playback.m4,
3, SAI, 3, sai3-bt-sco-pcm-wb,
PIPELINE_SOURCE_3, 2, s16le,
DEADLINE, 0, 0, SCHEDULE_TIME_DOMAIN_DMA)
DEADLINE, 0, 0, SCHEDULE_TIME_DOMAIN_TIMER)

# capture DAI SAI3 using 2 periods
DAI_ADD(sof/pipe-dai-capture.m4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ dnl period, priority, core, time_domain)
DAI_ADD(sof/pipe-dai-capture.m4,
1, SAI, 3, sai3-wm8960-hifi,
PIPELINE_SOURCE_1, 2, s32le,
1000, 0, 0, SCHEDULE_TIME_DOMAIN_DMA)
1000, 0, 0, SCHEDULE_TIME_DOMAIN_TIMER)


# PCM Low Latency, id 0
Expand Down
2 changes: 1 addition & 1 deletion tools/topology/topology1/sof-imx8mp-compr-pcm-wm8960.m4
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ dnl period, priority, core, time_domain)
DAI_ADD(sof/pipe-dai-playback.m4,
1, SAI, 3, sai3-wm8960-hifi,
PIPELINE_SOURCE_1, 2, s32le,
1000, 0, 0, SCHEDULE_TIME_DOMAIN_DMA)
1000, 0, 0, SCHEDULE_TIME_DOMAIN_TIMER)


# PCM Low Latency, id 0
Expand Down
2 changes: 1 addition & 1 deletion tools/topology/topology1/sof-imx8mp-compr-wm8960.m4
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ dnl period, priority, core, time_domain)
DAI_ADD(sof/pipe-dai-playback.m4,
1, SAI, 3, DAI_BE_NAME,
PIPELINE_SOURCE_1, 2, s32le,
1000, 0, 0, SCHEDULE_TIME_DOMAIN_DMA)
1000, 0, 0, SCHEDULE_TIME_DOMAIN_TIMER)


# PCM Low Latency, id 0
Expand Down

0 comments on commit 58bf722

Please sign in to comment.