2017-07-06 23:41:09 +08:00
|
|
|
#
|
|
|
|
# Broxton differentiation for pipelines and components
|
|
|
|
#
|
2020-02-15 00:41:32 +08:00
|
|
|
include(`platform/intel/dmic.m4')
|
|
|
|
|
|
|
|
undefine(`SSP_MCLK_RATE')
|
|
|
|
define(`SSP_MCLK_RATE', `19200000')
|
|
|
|
|
|
|
|
undefine(`SSP1_BCLK')
|
|
|
|
define(`SSP1_BCLK', `1536000')
|
|
|
|
|
|
|
|
undefine(`SSP_BCLK')
|
|
|
|
define(`SSP_BCLK', `1920000')
|
|
|
|
|
|
|
|
undefine(`SSP_FSYNC')
|
|
|
|
define(`SSP_FSYNC', `48000')
|
|
|
|
|
|
|
|
define(`DMIC_PIPE_CAPTURE', `sof/pipe-volume-capture.m4')
|
|
|
|
|
|
|
|
define(`PIPE_VOLUME_PLAYBACK', `sof/pipe-volume-playback.m4')
|
|
|
|
|
|
|
|
undefine(`DMIC01_FMT')
|
|
|
|
define(`DMIC01_FMT', `s16le')
|
|
|
|
|
|
|
|
undefine(`DMIC1_FMT')
|
|
|
|
define(`DMIC1_FMT', `s16le')
|
|
|
|
|
|
|
|
define(`SSP1_VALID_BITS_STR', `s16le')
|
|
|
|
|
|
|
|
undefine(`HDMI0_INDEX')
|
|
|
|
define(`HDMI0_INDEX', `3')
|
|
|
|
|
|
|
|
undefine(`HDMI1_INDEX')
|
|
|
|
define(`HDMI1_INDEX', `4')
|
|
|
|
|
|
|
|
undefine(`HDMI2_INDEX')
|
|
|
|
define(`HDMI2_INDEX', `5')
|
|
|
|
|
|
|
|
undefine(`SSP_BITS_WIDTH')
|
|
|
|
define(`SSP_BITS_WIDTH', `20')
|
|
|
|
|
|
|
|
undefine(`SSP1_VALID_BITS')
|
|
|
|
define(`SSP1_VALID_BITS', `16')
|
|
|
|
|
|
|
|
undefine(`SSP_VALID_BITS')
|
|
|
|
define(`SSP_VALID_BITS', `16')
|
|
|
|
|
|
|
|
undefine(`MCLK_ID')
|
|
|
|
define(`MCLK_ID', `1')
|
2017-07-06 23:41:09 +08:00
|
|
|
|
2018-03-05 21:38:12 +08:00
|
|
|
include(`memory.m4')
|
|
|
|
|
|
|
|
dnl Memory capabilities for diferent buffer types on Baytrail
|
|
|
|
define(`PLATFORM_DAI_MEM_CAP',
|
|
|
|
MEMCAPS(MEM_CAP_RAM, MEM_CAP_DMA, MEM_CAP_CACHE, MEM_CAP_HP))
|
|
|
|
define(`PLATFORM_HOST_MEM_CAP',
|
|
|
|
MEMCAPS(MEM_CAP_RAM, MEM_CAP_DMA, MEM_CAP_CACHE, MEM_CAP_HP))
|
|
|
|
define(`PLATFORM_PASS_MEM_CAP',
|
|
|
|
MEMCAPS(MEM_CAP_RAM, MEM_CAP_DMA, MEM_CAP_CACHE, MEM_CAP_HP))
|
|
|
|
define(`PLATFORM_COMP_MEM_CAP', MEMCAPS(MEM_CAP_RAM, MEM_CAP_CACHE))
|
|
|
|
|
2017-07-06 23:41:09 +08:00
|
|
|
# Low Latency PCM Configuration
|
2018-03-06 05:58:32 +08:00
|
|
|
W_VENDORTUPLES(pipe_ll_schedule_plat_tokens, sof_sched_tokens, LIST(` ', `SOF_TKN_SCHED_MIPS "50000"'))
|
2017-07-06 23:41:09 +08:00
|
|
|
|
2018-03-06 05:58:33 +08:00
|
|
|
W_DATA(pipe_ll_schedule_plat, pipe_ll_schedule_plat_tokens)
|
2017-07-06 23:41:09 +08:00
|
|
|
|
|
|
|
# Media PCM Configuration
|
2018-03-06 05:58:32 +08:00
|
|
|
W_VENDORTUPLES(pipe_media_schedule_plat_tokens, sof_sched_tokens, LIST(` ', `SOF_TKN_SCHED_MIPS "100000"'))
|
2017-07-06 23:41:09 +08:00
|
|
|
|
2018-03-06 05:58:33 +08:00
|
|
|
W_DATA(pipe_media_schedule_plat, pipe_media_schedule_plat_tokens)
|
2017-07-06 23:41:09 +08:00
|
|
|
|
|
|
|
# Tone Signal Generator Configuration
|
2018-03-06 05:58:32 +08:00
|
|
|
W_VENDORTUPLES(pipe_tone_schedule_plat_tokens, sof_sched_tokens, LIST(` ', `SOF_TKN_SCHED_MIPS "200000"'))
|
2017-07-06 23:41:09 +08:00
|
|
|
|
2018-03-06 05:58:33 +08:00
|
|
|
W_DATA(pipe_tone_schedule_plat, pipe_tone_schedule_plat_tokens)
|
2017-07-06 23:41:09 +08:00
|
|
|
|
2017-08-09 21:50:57 +08:00
|
|
|
# DAI schedule Configuration - scheduled by IRQ
|
2018-03-06 05:58:32 +08:00
|
|
|
W_VENDORTUPLES(pipe_dai_schedule_plat_tokens, sof_sched_tokens, LIST(` ', `SOF_TKN_SCHED_MIPS "5000"'))
|
2017-08-09 21:50:57 +08:00
|
|
|
|
2018-03-06 05:58:33 +08:00
|
|
|
W_DATA(pipe_dai_schedule_plat, pipe_dai_schedule_plat_tokens)
|