1include(`platform/intel/cnl.m4') 2 3#SSP setting for WHL platform 4undefine(`SSP_INDEX') 5define(`SSP_INDEX', 1) 6 7undefine(`SSP_NAME') 8define(`SSP_NAME', `SSP1-Codec') 9 10undefine(`SSP_MCLK_RATE') 11define(`SSP_MCLK_RATE', `24000000') 12 13 14#--------- SSP1 -------------- 15#SSP setting for CML platform 16define(`SSP1_INDEX', 1) 17define(`SSP1_NAME', `SSP1-Codec') 18define(`SSP1_MCLK_RATE', `24000000') 19 20ifelse(SOF_ABI_VERSION_3_9_OR_GRT, `1', 21 define(`SSP1_VALID_BITS', 24), 22 define(`SSP1_VALID_BITS', 16)) 23 24# playback DAI is SSP1 using 2 periods 25# Buffers use s16le format, with 48 frame per 1000us on core 0 with priority 0 26# With m/n divider available we can support 24 bit playback 27ifelse(SOF_ABI_VERSION_3_9_OR_GRT, `1', 28 define(`SSP1_VALID_BITS_STR', s24le), 29 define(`SSP1_VALID_BITS_STR', s16le)) 30 31ifelse(SOF_ABI_VERSION_3_9_OR_GRT, `1', 32 define(`SSP1_BCLK', 2304000), 33 define(`SSP1_BCLK', 1500000)) 34 35ifelse(SOF_ABI_VERSION_3_9_OR_GRT, `1', 36 define(`SSP1_FSYNC', 48000), 37 define(`SSP1_FSYNC', 46875)) 38 39 40#SSP 1 (ID: 6) 41#Use BCLK delay in SSP_CONFIG_DATA only on supporting version 42ifelse(SOF_ABI_VERSION_3_9_OR_GRT, `1', 43 define(`SET_SSP1_CONFIG_DATA', SSP_CONFIG_DATA(SSP, 1, SSP1_VALID_BITS, 0, 0, 10)), 44 define(`SET_SSP1_CONFIG_DATA', SSP_CONFIG_DATA(SSP, 1, SSP1_VALID_BITS))) 45 46include(`platform/intel/dmic.m4') 47