|
@@ -911,6 +911,8 @@ int afe_sizeof_cfg_cmd(u16 port_id)
|
|
case AFE_PORT_ID_QUATERNARY_MI2S_TX:
|
|
case AFE_PORT_ID_QUATERNARY_MI2S_TX:
|
|
case AFE_PORT_ID_QUINARY_MI2S_RX:
|
|
case AFE_PORT_ID_QUINARY_MI2S_RX:
|
|
case AFE_PORT_ID_QUINARY_MI2S_TX:
|
|
case AFE_PORT_ID_QUINARY_MI2S_TX:
|
|
|
|
+ case AFE_PORT_ID_SENARY_MI2S_RX:
|
|
|
|
+ case AFE_PORT_ID_SENARY_MI2S_TX:
|
|
ret_size = SIZEOF_CFG_CMD(afe_param_id_i2s_cfg);
|
|
ret_size = SIZEOF_CFG_CMD(afe_param_id_i2s_cfg);
|
|
break;
|
|
break;
|
|
case HDMI_RX:
|
|
case HDMI_RX:
|
|
@@ -4469,6 +4471,7 @@ static int __afe_port_start(u16 port_id, union afe_port_config *afe_config,
|
|
case AFE_PORT_ID_QUATERNARY_MI2S_TX:
|
|
case AFE_PORT_ID_QUATERNARY_MI2S_TX:
|
|
case AFE_PORT_ID_QUINARY_MI2S_RX:
|
|
case AFE_PORT_ID_QUINARY_MI2S_RX:
|
|
case AFE_PORT_ID_QUINARY_MI2S_TX:
|
|
case AFE_PORT_ID_QUINARY_MI2S_TX:
|
|
|
|
+ case AFE_PORT_ID_SENARY_MI2S_RX:
|
|
case AFE_PORT_ID_SENARY_MI2S_TX:
|
|
case AFE_PORT_ID_SENARY_MI2S_TX:
|
|
case AFE_PORT_ID_INT0_MI2S_RX:
|
|
case AFE_PORT_ID_INT0_MI2S_RX:
|
|
case AFE_PORT_ID_INT0_MI2S_TX:
|
|
case AFE_PORT_ID_INT0_MI2S_TX:
|
|
@@ -4797,6 +4800,8 @@ int afe_get_port_index(u16 port_id)
|
|
return IDX_AFE_PORT_ID_QUINARY_MI2S_RX;
|
|
return IDX_AFE_PORT_ID_QUINARY_MI2S_RX;
|
|
case AFE_PORT_ID_QUINARY_MI2S_TX:
|
|
case AFE_PORT_ID_QUINARY_MI2S_TX:
|
|
return IDX_AFE_PORT_ID_QUINARY_MI2S_TX;
|
|
return IDX_AFE_PORT_ID_QUINARY_MI2S_TX;
|
|
|
|
+ case AFE_PORT_ID_SENARY_MI2S_RX:
|
|
|
|
+ return IDX_AFE_PORT_ID_SENARY_MI2S_RX;
|
|
case AFE_PORT_ID_SENARY_MI2S_TX:
|
|
case AFE_PORT_ID_SENARY_MI2S_TX:
|
|
return IDX_AFE_PORT_ID_SENARY_MI2S_TX;
|
|
return IDX_AFE_PORT_ID_SENARY_MI2S_TX;
|
|
case AFE_PORT_ID_PRIMARY_TDM_RX:
|
|
case AFE_PORT_ID_PRIMARY_TDM_RX:
|
|
@@ -4959,6 +4964,38 @@ int afe_get_port_index(u16 port_id)
|
|
return IDX_AFE_PORT_ID_QUINARY_TDM_RX_7;
|
|
return IDX_AFE_PORT_ID_QUINARY_TDM_RX_7;
|
|
case AFE_PORT_ID_QUINARY_TDM_TX_7:
|
|
case AFE_PORT_ID_QUINARY_TDM_TX_7:
|
|
return IDX_AFE_PORT_ID_QUINARY_TDM_TX_7;
|
|
return IDX_AFE_PORT_ID_QUINARY_TDM_TX_7;
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_RX:
|
|
|
|
+ return IDX_AFE_PORT_ID_SENARY_TDM_RX_0;
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_TX:
|
|
|
|
+ return IDX_AFE_PORT_ID_SENARY_TDM_TX_0;
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_RX_1:
|
|
|
|
+ return IDX_AFE_PORT_ID_SENARY_TDM_RX_1;
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_TX_1:
|
|
|
|
+ return IDX_AFE_PORT_ID_SENARY_TDM_TX_1;
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_RX_2:
|
|
|
|
+ return IDX_AFE_PORT_ID_SENARY_TDM_RX_2;
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_TX_2:
|
|
|
|
+ return IDX_AFE_PORT_ID_SENARY_TDM_TX_2;
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_RX_3:
|
|
|
|
+ return IDX_AFE_PORT_ID_SENARY_TDM_RX_3;
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_TX_3:
|
|
|
|
+ return IDX_AFE_PORT_ID_SENARY_TDM_TX_3;
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_RX_4:
|
|
|
|
+ return IDX_AFE_PORT_ID_SENARY_TDM_RX_4;
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_TX_4:
|
|
|
|
+ return IDX_AFE_PORT_ID_SENARY_TDM_TX_4;
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_RX_5:
|
|
|
|
+ return IDX_AFE_PORT_ID_SENARY_TDM_RX_5;
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_TX_5:
|
|
|
|
+ return IDX_AFE_PORT_ID_SENARY_TDM_TX_5;
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_RX_6:
|
|
|
|
+ return IDX_AFE_PORT_ID_SENARY_TDM_RX_6;
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_TX_6:
|
|
|
|
+ return IDX_AFE_PORT_ID_SENARY_TDM_TX_6;
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_RX_7:
|
|
|
|
+ return IDX_AFE_PORT_ID_SENARY_TDM_RX_7;
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_TX_7:
|
|
|
|
+ return IDX_AFE_PORT_ID_SENARY_TDM_TX_7;
|
|
case AFE_PORT_ID_INT0_MI2S_RX:
|
|
case AFE_PORT_ID_INT0_MI2S_RX:
|
|
return IDX_AFE_PORT_ID_INT0_MI2S_RX;
|
|
return IDX_AFE_PORT_ID_INT0_MI2S_RX;
|
|
case AFE_PORT_ID_INT0_MI2S_TX:
|
|
case AFE_PORT_ID_INT0_MI2S_TX:
|
|
@@ -5146,6 +5183,7 @@ int afe_open(u16 port_id,
|
|
case MI2S_TX:
|
|
case MI2S_TX:
|
|
case AFE_PORT_ID_QUINARY_MI2S_RX:
|
|
case AFE_PORT_ID_QUINARY_MI2S_RX:
|
|
case AFE_PORT_ID_QUINARY_MI2S_TX:
|
|
case AFE_PORT_ID_QUINARY_MI2S_TX:
|
|
|
|
+ case AFE_PORT_ID_SENARY_MI2S_RX:
|
|
case AFE_PORT_ID_SENARY_MI2S_TX:
|
|
case AFE_PORT_ID_SENARY_MI2S_TX:
|
|
cfg_type = AFE_PARAM_ID_I2S_CONFIG;
|
|
cfg_type = AFE_PARAM_ID_I2S_CONFIG;
|
|
break;
|
|
break;
|
|
@@ -5515,6 +5553,8 @@ int afe_port_group_set_param(u16 group_id,
|
|
case AFE_GROUP_DEVICE_ID_QUATERNARY_TDM_TX:
|
|
case AFE_GROUP_DEVICE_ID_QUATERNARY_TDM_TX:
|
|
case AFE_GROUP_DEVICE_ID_QUINARY_TDM_RX:
|
|
case AFE_GROUP_DEVICE_ID_QUINARY_TDM_RX:
|
|
case AFE_GROUP_DEVICE_ID_QUINARY_TDM_TX:
|
|
case AFE_GROUP_DEVICE_ID_QUINARY_TDM_TX:
|
|
|
|
+ case AFE_GROUP_DEVICE_ID_SENARY_TDM_RX:
|
|
|
|
+ case AFE_GROUP_DEVICE_ID_SENARY_TDM_TX:
|
|
cfg_type = AFE_PARAM_ID_GROUP_DEVICE_TDM_CONFIG;
|
|
cfg_type = AFE_PARAM_ID_GROUP_DEVICE_TDM_CONFIG;
|
|
break;
|
|
break;
|
|
default:
|
|
default:
|
|
@@ -7066,6 +7106,8 @@ int afe_validate_port(u16 port_id)
|
|
case AFE_PORT_ID_QUATERNARY_PCM_TX:
|
|
case AFE_PORT_ID_QUATERNARY_PCM_TX:
|
|
case AFE_PORT_ID_QUINARY_PCM_RX:
|
|
case AFE_PORT_ID_QUINARY_PCM_RX:
|
|
case AFE_PORT_ID_QUINARY_PCM_TX:
|
|
case AFE_PORT_ID_QUINARY_PCM_TX:
|
|
|
|
+ case AFE_PORT_ID_SENARY_PCM_RX:
|
|
|
|
+ case AFE_PORT_ID_SENARY_PCM_TX:
|
|
case SECONDARY_I2S_RX:
|
|
case SECONDARY_I2S_RX:
|
|
case SECONDARY_I2S_TX:
|
|
case SECONDARY_I2S_TX:
|
|
case MI2S_RX:
|
|
case MI2S_RX:
|
|
@@ -7120,6 +7162,7 @@ int afe_validate_port(u16 port_id)
|
|
case AFE_PORT_ID_TERTIARY_MI2S_TX:
|
|
case AFE_PORT_ID_TERTIARY_MI2S_TX:
|
|
case AFE_PORT_ID_QUINARY_MI2S_RX:
|
|
case AFE_PORT_ID_QUINARY_MI2S_RX:
|
|
case AFE_PORT_ID_QUINARY_MI2S_TX:
|
|
case AFE_PORT_ID_QUINARY_MI2S_TX:
|
|
|
|
+ case AFE_PORT_ID_SENARY_MI2S_RX:
|
|
case AFE_PORT_ID_SENARY_MI2S_TX:
|
|
case AFE_PORT_ID_SENARY_MI2S_TX:
|
|
case AFE_PORT_ID_PRIMARY_TDM_RX:
|
|
case AFE_PORT_ID_PRIMARY_TDM_RX:
|
|
case AFE_PORT_ID_PRIMARY_TDM_TX:
|
|
case AFE_PORT_ID_PRIMARY_TDM_TX:
|
|
@@ -7201,6 +7244,22 @@ int afe_validate_port(u16 port_id)
|
|
case AFE_PORT_ID_QUINARY_TDM_TX_6:
|
|
case AFE_PORT_ID_QUINARY_TDM_TX_6:
|
|
case AFE_PORT_ID_QUINARY_TDM_RX_7:
|
|
case AFE_PORT_ID_QUINARY_TDM_RX_7:
|
|
case AFE_PORT_ID_QUINARY_TDM_TX_7:
|
|
case AFE_PORT_ID_QUINARY_TDM_TX_7:
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_RX:
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_TX:
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_RX_1:
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_TX_1:
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_RX_2:
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_TX_2:
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_RX_3:
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_TX_3:
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_RX_4:
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_TX_4:
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_RX_5:
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_TX_5:
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_RX_6:
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_TX_6:
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_RX_7:
|
|
|
|
+ case AFE_PORT_ID_SENARY_TDM_TX_7:
|
|
case AFE_PORT_ID_INT0_MI2S_RX:
|
|
case AFE_PORT_ID_INT0_MI2S_RX:
|
|
case AFE_PORT_ID_INT1_MI2S_RX:
|
|
case AFE_PORT_ID_INT1_MI2S_RX:
|
|
case AFE_PORT_ID_INT2_MI2S_RX:
|
|
case AFE_PORT_ID_INT2_MI2S_RX:
|