diff options
author | Rohit kumar <rohitkr@codeaurora.org> | 2018-12-14 07:29:27 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-12-14 07:48:51 -0500 |
commit | 3f6856a28f5eeb4fcaeb3ae25118171747354e51 (patch) | |
tree | 8a69919e0003aeaaf550d24ff6bb98e72c0a8f00 /sound | |
parent | 76119509d23cdd9fbc71585042b27b6511b44b4d (diff) |
ASoC: qdsp6: qdafe: add support for display_port_rx
This patch adds support for Display_Port_Rx
port in AFE.
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/qcom/qdsp6/q6afe.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/qcom/qdsp6/q6afe.c b/sound/soc/qcom/qdsp6/q6afe.c index 829b5e987b2a..e0945f7a58c8 100644 --- a/sound/soc/qcom/qdsp6/q6afe.c +++ b/sound/soc/qcom/qdsp6/q6afe.c | |||
@@ -71,6 +71,7 @@ | |||
71 | /* Port IDs */ | 71 | /* Port IDs */ |
72 | #define AFE_API_VERSION_HDMI_CONFIG 0x1 | 72 | #define AFE_API_VERSION_HDMI_CONFIG 0x1 |
73 | #define AFE_PORT_ID_MULTICHAN_HDMI_RX 0x100E | 73 | #define AFE_PORT_ID_MULTICHAN_HDMI_RX 0x100E |
74 | #define AFE_PORT_ID_HDMI_OVER_DP_RX 0x6020 | ||
74 | 75 | ||
75 | #define AFE_API_VERSION_SLIMBUS_CONFIG 0x1 | 76 | #define AFE_API_VERSION_SLIMBUS_CONFIG 0x1 |
76 | /* Clock set API version */ | 77 | /* Clock set API version */ |
@@ -704,6 +705,8 @@ static struct afe_port_map port_maps[AFE_PORT_MAX] = { | |||
704 | QUINARY_TDM_RX_7, 1, 1}, | 705 | QUINARY_TDM_RX_7, 1, 1}, |
705 | [QUINARY_TDM_TX_7] = { AFE_PORT_ID_QUINARY_TDM_TX_7, | 706 | [QUINARY_TDM_TX_7] = { AFE_PORT_ID_QUINARY_TDM_TX_7, |
706 | QUINARY_TDM_TX_7, 0, 1}, | 707 | QUINARY_TDM_TX_7, 0, 1}, |
708 | [DISPLAY_PORT_RX] = { AFE_PORT_ID_HDMI_OVER_DP_RX, | ||
709 | DISPLAY_PORT_RX, 1, 1}, | ||
707 | }; | 710 | }; |
708 | 711 | ||
709 | static void q6afe_port_free(struct kref *ref) | 712 | static void q6afe_port_free(struct kref *ref) |
@@ -1384,6 +1387,7 @@ struct q6afe_port *q6afe_port_get_from_id(struct device *dev, int id) | |||
1384 | 1387 | ||
1385 | switch (port_id) { | 1388 | switch (port_id) { |
1386 | case AFE_PORT_ID_MULTICHAN_HDMI_RX: | 1389 | case AFE_PORT_ID_MULTICHAN_HDMI_RX: |
1390 | case AFE_PORT_ID_HDMI_OVER_DP_RX: | ||
1387 | cfg_type = AFE_PARAM_ID_HDMI_CONFIG; | 1391 | cfg_type = AFE_PARAM_ID_HDMI_CONFIG; |
1388 | break; | 1392 | break; |
1389 | case AFE_PORT_ID_SLIMBUS_MULTI_CHAN_0_TX: | 1393 | case AFE_PORT_ID_SLIMBUS_MULTI_CHAN_0_TX: |