ASoC: qdsp6: q6routing: add slim rx routings
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Wed, 4 Jul 2018 09:49:41 +0000 (10:49 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 4 Jul 2018 14:41:39 +0000 (15:41 +0100)
This patch add routings mixer controls for slim rx ports.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/q6routing.c

index c80fdbc2442e63c6ecd8b2da1605f76555d696da..35269b492761031ef6a2b2b164324cac278fd3cd 100644 (file)
        { mix_name, "SEC_MI2S_TX", "SEC_MI2S_TX" },     \
        { mix_name, "QUAT_MI2S_TX", "QUAT_MI2S_TX" },   \
        { mix_name, "TERT_MI2S_TX", "TERT_MI2S_TX" },           \
+       { mix_name, "SLIMBUS_0_TX", "SLIMBUS_0_TX" },           \
+       { mix_name, "SLIMBUS_1_TX", "SLIMBUS_1_TX" },           \
+       { mix_name, "SLIMBUS_2_TX", "SLIMBUS_2_TX" },           \
+       { mix_name, "SLIMBUS_3_TX", "SLIMBUS_3_TX" },           \
+       { mix_name, "SLIMBUS_4_TX", "SLIMBUS_4_TX" },           \
+       { mix_name, "SLIMBUS_5_TX", "SLIMBUS_5_TX" },           \
+       { mix_name, "SLIMBUS_6_TX", "SLIMBUS_6_TX" },           \
        { mix_name, "PRIMARY_TDM_TX_0", "PRIMARY_TDM_TX_0"},    \
        { mix_name, "PRIMARY_TDM_TX_1", "PRIMARY_TDM_TX_1"},    \
        { mix_name, "PRIMARY_TDM_TX_2", "PRIMARY_TDM_TX_2"},    \
        SOC_SINGLE_EXT("QUAT_MI2S_TX", QUATERNARY_MI2S_TX,              \
                id, 1, 0, msm_routing_get_audio_mixer,                  \
                msm_routing_put_audio_mixer),                           \
+       SOC_SINGLE_EXT("SLIMBUS_0_TX", SLIMBUS_0_TX,                    \
+               id, 1, 0, msm_routing_get_audio_mixer,                  \
+               msm_routing_put_audio_mixer),                           \
+       SOC_SINGLE_EXT("SLIMBUS_1_TX", SLIMBUS_1_TX,                    \
+               id, 1, 0, msm_routing_get_audio_mixer,                  \
+               msm_routing_put_audio_mixer),                           \
+       SOC_SINGLE_EXT("SLIMBUS_2_TX", SLIMBUS_2_TX,                    \
+               id, 1, 0, msm_routing_get_audio_mixer,                  \
+               msm_routing_put_audio_mixer),                           \
+       SOC_SINGLE_EXT("SLIMBUS_3_TX", SLIMBUS_3_TX,                    \
+               id, 1, 0, msm_routing_get_audio_mixer,                  \
+               msm_routing_put_audio_mixer),                           \
+       SOC_SINGLE_EXT("SLIMBUS_4_TX", SLIMBUS_4_TX,                    \
+               id, 1, 0, msm_routing_get_audio_mixer,                  \
+               msm_routing_put_audio_mixer),                           \
+       SOC_SINGLE_EXT("SLIMBUS_5_TX", SLIMBUS_5_TX,                    \
+               id, 1, 0, msm_routing_get_audio_mixer,                  \
+               msm_routing_put_audio_mixer),                           \
+       SOC_SINGLE_EXT("SLIMBUS_6_TX", SLIMBUS_6_TX,                    \
+               id, 1, 0, msm_routing_get_audio_mixer,                  \
+               msm_routing_put_audio_mixer),                           \
        SOC_SINGLE_EXT("PRIMARY_TDM_TX_0", PRIMARY_TDM_TX_0,            \
                id, 1, 0, msm_routing_get_audio_mixer,                  \
                msm_routing_put_audio_mixer),                           \