@@ -800,7 +800,7 @@ static void dai_ssp_pm_runtime_en_ssp_power(struct dai_intel_ssp *dp, uint32_t s
800
800
ret = dai_ssp_poll_for_register_delay (dai_ip_base (dp ) + I2SLCTL_OFFSET ,
801
801
I2SLCTL_CPA (ssp_index ), I2SLCTL_CPA (ssp_index ),
802
802
DAI_INTEL_SSP_MAX_SEND_TIME_PER_SAMPLE );
803
- #elif CONFIG_SOC_INTEL_ACE20_LNL || CONFIG_SOC_INTEL_ACE30_PTL
803
+ #elif CONFIG_SOC_INTEL_ACE20_LNL || CONFIG_SOC_INTEL_ACE30
804
804
sys_write32 (sys_read32 (dai_hdamlssp_base (dp ) + I2SLCTL_OFFSET ) |
805
805
I2SLCTL_SPA (ssp_index ),
806
806
dai_hdamlssp_base (dp ) + I2SLCTL_OFFSET );
@@ -835,7 +835,7 @@ static void dai_ssp_pm_runtime_dis_ssp_power(struct dai_intel_ssp *dp, uint32_t
835
835
I2SLCTL_CPA (ssp_index ), 0 ,
836
836
DAI_INTEL_SSP_MAX_SEND_TIME_PER_SAMPLE );
837
837
838
- #elif CONFIG_SOC_INTEL_ACE20_LNL || CONFIG_SOC_INTEL_ACE30_PTL
838
+ #elif CONFIG_SOC_INTEL_ACE20_LNL || CONFIG_SOC_INTEL_ACE30
839
839
sys_write32 (sys_read32 (dai_hdamlssp_base (dp ) + I2SLCTL_OFFSET ) & (~I2SLCTL_SPA (ssp_index )),
840
840
dai_hdamlssp_base (dp ) + I2SLCTL_OFFSET );
841
841
@@ -873,7 +873,7 @@ static void dai_ssp_program_channel_map(struct dai_intel_ssp *dp,
873
873
/* Program HDA input stream parameters */
874
874
sys_write16 ((pcmsycm & 0xffff ), reg_add );
875
875
}
876
- #elif defined(CONFIG_SOC_INTEL_ACE30_PTL )
876
+ #elif defined(CONFIG_SOC_INTEL_ACE30 )
877
877
const struct dai_intel_ipc4_ssp_configuration_blob_ver_3_0 * blob30 = spec_config ;
878
878
const struct dai_intel_ipc4_ssp_configuration_blob * blob = spec_config ;
879
879
uint64_t time_slot_map = 0 ;
@@ -930,7 +930,7 @@ static void dai_ssp_empty_tx_fifo(struct dai_intel_ssp *dp)
930
930
* SSSR_TNF is cleared when TX FIFO is empty or full,
931
931
* so wait for set TNF then for TFL zero - order matter.
932
932
*/
933
- #ifdef CONFIG_SOC_INTEL_ACE30_PTL
933
+ #ifdef CONFIG_SOC_INTEL_ACE30
934
934
ret = dai_ssp_poll_for_register_delay (dai_base (dp ) + SSMODyCS (dp -> tdm_slot_group ),
935
935
SSMODyCS_TNF , SSMODyCS_TNF ,
936
936
DAI_INTEL_SSP_MAX_SEND_TIME_PER_SAMPLE );
@@ -959,7 +959,7 @@ static void dai_ssp_empty_tx_fifo(struct dai_intel_ssp *dp)
959
959
}
960
960
}
961
961
962
- #ifdef CONFIG_SOC_INTEL_ACE30_PTL
962
+ #ifdef CONFIG_SOC_INTEL_ACE30
963
963
static void ssp_empty_rx_fifo_on_start (struct dai_intel_ssp * dp )
964
964
{
965
965
uint32_t retry = DAI_INTEL_SSP_RX_FLUSH_RETRY_MAX ;
@@ -1191,7 +1191,7 @@ static int dai_ssp_bclk_prepare_enable(struct dai_intel_ssp *dp)
1191
1191
mdiv = ft [DAI_INTEL_SSP_DEFAULT_IDX ].freq / ssp_plat_data -> params .bclk_rate ;
1192
1192
#endif
1193
1193
1194
- #ifndef CONFIG_SOC_INTEL_ACE30_PTL
1194
+ #ifndef CONFIG_SOC_INTEL_ACE30
1195
1195
if (need_ecs ) {
1196
1196
sscr0 |= SSCR0_ECS ;
1197
1197
}
@@ -1724,7 +1724,7 @@ static int dai_ssp_set_config_tplg(struct dai_intel_ssp *dp, const struct dai_co
1724
1724
sys_write32 (sspsp2 , dai_base (dp ) + SSPSP2 );
1725
1725
sys_write32 (ssioc , dai_base (dp ) + SSIOC );
1726
1726
sys_write32 (ssto , dai_base (dp ) + SSTO );
1727
- #ifdef CONFIG_SOC_INTEL_ACE30_PTL
1727
+ #ifdef CONFIG_SOC_INTEL_ACE30
1728
1728
for (uint32_t idx = 0 ; idx < I2SIPCMC ; ++ idx ) {
1729
1729
sys_write64 (sstsa , dai_base (dp ) + SSMODyTSA (idx ));
1730
1730
}
@@ -1777,7 +1777,7 @@ static int dai_ssp_set_config_tplg(struct dai_intel_ssp *dp, const struct dai_co
1777
1777
ssp_plat_data -> clk_active |= SSP_CLK_BCLK_ES_REQ ;
1778
1778
1779
1779
if (enable_sse ) {
1780
- #ifdef CONFIG_SOC_INTEL_ACE30_PTL
1780
+ #ifdef CONFIG_SOC_INTEL_ACE30
1781
1781
dai_ssp_update_bits (dp , SSMIDyCS (dp -> tdm_slot_group ),
1782
1782
SSMIDyCS_RSRE , SSMIDyCS_RSRE );
1783
1783
dai_ssp_update_bits (dp , SSMODyCS (dp -> tdm_slot_group ),
@@ -1806,7 +1806,7 @@ static int dai_ssp_set_config_tplg(struct dai_intel_ssp *dp, const struct dai_co
1806
1806
LOG_INF ("hw_free stage: releasing BCLK clocks for SSP%d..." ,
1807
1807
dp -> dai_index );
1808
1808
if (ssp_plat_data -> clk_active & SSP_CLK_BCLK_ACTIVE ) {
1809
- #ifdef CONFIG_SOC_INTEL_ACE30_PTL
1809
+ #ifdef CONFIG_SOC_INTEL_ACE30
1810
1810
for (uint32_t idx = 0 ; idx < I2SOPCMC ; ++ idx ) {
1811
1811
dai_ssp_update_bits (dp , SSMODyCS (idx ), SSMODyCS_TSRE , 0 );
1812
1812
}
@@ -1985,7 +1985,7 @@ static int dai_ssp_parse_tlv(struct dai_intel_ssp *dp, const uint8_t *aux_ptr, s
1985
1985
~I2CLCTL_MLCS (0x7 )) |
1986
1986
I2CLCTL_MLCS (link -> clock_source ), dai_ip_base (dp ) +
1987
1987
I2SLCTL_OFFSET );
1988
- #elif CONFIG_SOC_INTEL_ACE20_LNL || CONFIG_SOC_INTEL_ACE30_PTL
1988
+ #elif CONFIG_SOC_INTEL_ACE20_LNL || CONFIG_SOC_INTEL_ACE30
1989
1989
sys_write32 ((sys_read32 (dai_i2svss_base (dp ) + I2SLCTL_OFFSET ) &
1990
1990
~I2CLCTL_MLCS (0x7 )) |
1991
1991
I2CLCTL_MLCS (link -> clock_source ),
@@ -2065,7 +2065,7 @@ static int dai_ssp_set_clock_control_ver_1(struct dai_intel_ssp *dp,
2065
2065
return 0 ;
2066
2066
}
2067
2067
2068
- #ifdef CONFIG_SOC_INTEL_ACE30_PTL
2068
+ #ifdef CONFIG_SOC_INTEL_ACE30
2069
2069
static void dai_ssp_set_reg_config (struct dai_intel_ssp * dp , const struct dai_config * cfg ,
2070
2070
const void * spec_config )
2071
2071
{
@@ -2184,7 +2184,7 @@ static int dai_ssp_set_config_blob(struct dai_intel_ssp *dp, const struct dai_co
2184
2184
struct dai_intel_ssp_plat_data * ssp_plat_data = dai_get_plat_data (dp );
2185
2185
int err ;
2186
2186
2187
- #ifdef CONFIG_SOC_INTEL_ACE30_PTL
2187
+ #ifdef CONFIG_SOC_INTEL_ACE30
2188
2188
dp -> tdm_slot_group = cfg -> tdm_slot_group ;
2189
2189
#endif
2190
2190
@@ -2322,7 +2322,7 @@ static void dai_ssp_start(struct dai_intel_ssp *dp, int direction)
2322
2322
2323
2323
2324
2324
/* enable DMA */
2325
- #if CONFIG_SOC_INTEL_ACE30_PTL
2325
+ #if CONFIG_SOC_INTEL_ACE30
2326
2326
if (direction == DAI_DIR_PLAYBACK ) {
2327
2327
dai_ssp_update_bits (dp , SSMODyCS (dp -> tdm_slot_group ),
2328
2328
SSMODyCS_TSRE , SSMODyCS_TSRE );
@@ -2392,7 +2392,7 @@ static void dai_ssp_stop(struct dai_intel_ssp *dp, int direction)
2392
2392
if (direction == DAI_DIR_CAPTURE &&
2393
2393
dp -> state [DAI_DIR_CAPTURE ] != DAI_STATE_PRE_RUNNING ) {
2394
2394
LOG_INF ("SSP%d RX" , dp -> dai_index );
2395
- #if CONFIG_SOC_INTEL_ACE30_PTL
2395
+ #if CONFIG_SOC_INTEL_ACE30
2396
2396
dai_ssp_update_bits (dp , SSMIDyCS (dp -> tdm_slot_group ), SSMIDyCS_RXEN , 0 );
2397
2397
dai_ssp_update_bits (dp , SSMIDyCS (dp -> tdm_slot_group ), SSMIDyCS_RSRE , 0 );
2398
2398
#else
@@ -2407,7 +2407,7 @@ static void dai_ssp_stop(struct dai_intel_ssp *dp, int direction)
2407
2407
if (direction == DAI_DIR_PLAYBACK &&
2408
2408
dp -> state [DAI_DIR_PLAYBACK ] != DAI_STATE_PRE_RUNNING ) {
2409
2409
LOG_INF ("SSP%d TX" , dp -> dai_index );
2410
- #if CONFIG_SOC_INTEL_ACE30_PTL
2410
+ #if CONFIG_SOC_INTEL_ACE30
2411
2411
dai_ssp_update_bits (dp , SSMODyCS (dp -> tdm_slot_group ), SSMODyCS_TSRE , 0 );
2412
2412
dai_ssp_empty_tx_fifo (dp );
2413
2413
dai_ssp_update_bits (dp , SSMODyCS (dp -> tdm_slot_group ), SSMODyCS_TXEN , 0 );
0 commit comments