|
@@ -44,6 +44,16 @@ static struct port_params rx_frame_params_default[SWR_MSTR_PORT_LEN] = {
|
|
|
{0x18F, 0, 0, 0x8, 0x8, 0x0F, 0x00, 0, 0, 0x00, 0x01}, /* PCM_OUT */
|
|
|
};
|
|
|
|
|
|
+/* Headset(44.1K) + PCM Haptics */
|
|
|
+static struct port_params rx_frame_params_44p1KHz[SWR_MSTR_PORT_LEN] = {
|
|
|
+ {3, 0, 0, 0xFF, 0xFF, 1, 0xFF, 0xFF, 1, 0x00, 0x00}, /* HPH/EAR */
|
|
|
+ {63, 0, 0, 3, 6, 7, 0, 0xFF, 0, 0x00, 0x00}, /* HPH_CLH */
|
|
|
+ {31, 11, 11, 0xFF, 0xFF, 4, 1, 0xFF, 0, 0x00, 0x00}, /* HPH_CMP */
|
|
|
+ {3, 1, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0x01, 0, 0x00, 0x00}, /* LO/AUX */
|
|
|
+ {0, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0, 0, 0x00, 0x00}, /* DSD */
|
|
|
+ {0x1FF, 0, 0, 0x8, 0x8, 0x0F, 0, 0, 0, 0x00, 0x01}, /* PCM_OUT */
|
|
|
+};
|
|
|
+
|
|
|
/* TX UC1: TX1: 1ch, TX2: 2chs, TX3: 1ch(MBHC) */
|
|
|
static struct port_params tx_frame_params_default[SWR_MSTR_PORT_LEN] = {
|
|
|
{7, 1, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0, 0x00, 0x00}, /* TX1 */
|
|
@@ -92,6 +102,7 @@ static struct swr_mstr_port_map sm_port_map[] = {
|
|
|
{TX_MACRO, SWR_UC2, tx_frame_params_0p6MHz},
|
|
|
{RX_MACRO, SWR_UC0, rx_frame_params_default},
|
|
|
{RX_MACRO, SWR_UC1, rx_frame_params_dsd},
|
|
|
+ {RX_MACRO, SWR_UC2, rx_frame_params_44p1KHz},
|
|
|
{WSA_MACRO, SWR_UC0, wsa_frame_params_default},
|
|
|
};
|
|
|
|
|
@@ -101,6 +112,7 @@ static struct swr_mstr_port_map sm_port_map_shima[] = {
|
|
|
{TX_MACRO, SWR_UC2, tx_frame_params_shima_0p6MHz},
|
|
|
{RX_MACRO, SWR_UC0, rx_frame_params_default},
|
|
|
{RX_MACRO, SWR_UC1, rx_frame_params_dsd},
|
|
|
+ {RX_MACRO, SWR_UC2, rx_frame_params_44p1KHz},
|
|
|
{WSA_MACRO, SWR_UC0, wsa_frame_params_default},
|
|
|
};
|
|
|
|