/linux/Documentation/devicetree/bindings/sound/ |
H A D | qcom,lpass-cpu.yaml | 15 of MI2S interface for audio data transfer on external codecs. LPASS cpu driver 94 description: list of MI2S data lines for playback 98 description: list of MI2S data lines for capture 132 - const: mi2s-osr-clk 133 - const: mi2s-bit-clk 149 - const: mi2s-bit-clk0 150 - const: mi2s-bit-clk1 151 - const: mi2s-bit-clk2 152 - const: mi2s-bit-clk3 173 - const: mi2s-bit-clk0 [all …]
|
/linux/sound/soc/qcom/ |
H A D | apq8016_sbc.c | 59 static int apq8016_dai_init(struct snd_soc_pcm_runtime *rtd, int mi2s) in apq8016_dai_init() argument 68 switch (mi2s) { in apq8016_dai_init() 75 /* Configure the Quat MI2S to TLMM */ in apq8016_dai_init() 84 /* Configure the Sec MI2S to TLMM */ in apq8016_dai_init() 199 int mi2s, ret; in msm8916_qdsp6_startup() local 201 mi2s = qdsp6_dai_get_lpass_id(cpu_dai); in msm8916_qdsp6_startup() 202 if (mi2s < 0) in msm8916_qdsp6_startup() 203 return mi2s; in msm8916_qdsp6_startup() 205 if (++data->mi2s_clk_count[mi2s] > 1) in msm8916_qdsp6_startup() 220 int mi2s, ret; in msm8916_qdsp6_shutdown() local [all …]
|
H A D | lpass-apq8016.c | 28 .name = "Primary MI2S", 48 .name = "Secondary MI2S", 68 .name = "Tertiary MI2S", 88 .name = "Quatenary MI2S", 273 "mi2s-osr-clk0", 274 "mi2s-osr-clk1", 275 "mi2s-osr-clk2", 276 "mi2s-osr-clk3", 279 "mi2s-bit-clk0", 280 "mi2s-bit-clk1", [all …]
|
H A D | lpass.h | 99 /* MI2S system clock */ 102 /* MI2S bit clock (derived from system clock by a divider */ 110 /* MI2S SD lines to use for playback/capture */ 114 /* The state of MI2S prepare dai_ops was called */
|
H A D | lpass-sc7180.c | 26 .name = "Primary MI2S", 49 .name = "Secondary MI2S", 296 "mi2s-bit-clk0", 297 "mi2s-bit-clk1",
|
H A D | lpass-ipq806x.c | 152 "mi2s-osr-clk", 155 "mi2s-bit-clk",
|
H A D | lpass-cpu.c | 35 * Channel maps for Quad channel playbacks on MI2S Secondary 77 dev_err(dai->dev, "error setting mi2s osrclk to %u: %d\n", in lpass_cpu_daiops_set_sysclk() 91 dev_err(dai->dev, "error in enabling mi2s osr clk: %d\n", ret); in lpass_cpu_daiops_startup() 96 dev_err(dai->dev, "error in enabling mi2s bit clk: %d\n", ret); in lpass_cpu_daiops_startup() 291 dev_err(dai->dev, "error setting mi2s bitclk to %u: %d\n", in lpass_cpu_daiops_hw_params() 336 dev_err(dai->dev, "error in enabling mi2s bit clk: %d\n", ret); in lpass_cpu_daiops_trigger() 399 dev_err(dai->dev, "error in enabling mi2s bit clk: %d\n", ret); in lpass_cpu_daiops_prepare()
|
H A D | lpass-sc7280.c | 21 .name = "Primary MI2S", 44 .name = "Secondary MI2S", 46 .stream_name = "Secondary MI2S Playback",
|
H A D | Kconfig | 66 Say Y if you want to use audio devices on MI2S.
|
/linux/sound/soc/qcom/qdsp6/ |
H A D | q6dsp-lpass-ports.c | 332 .stream_name = "Primary MI2S Playback", 346 .stream_name = "Primary MI2S Capture", 360 .stream_name = "Secondary MI2S Playback", 373 .stream_name = "Secondary MI2S Capture", 387 .stream_name = "Tertiary MI2S Playback", 400 .stream_name = "Tertiary MI2S Capture", 414 .stream_name = "Quaternary MI2S Playback", 427 .stream_name = "Quaternary MI2S Capture", 441 .stream_name = "Quinary MI2S Playback", 455 .stream_name = "Quinary MI2S Capture",
|
H A D | q6afe-dai.c | 501 {"Primary MI2S Playback", NULL, "PRI_MI2S_RX"}, 502 {"Secondary MI2S Playback", NULL, "SEC_MI2S_RX"}, 503 {"Tertiary MI2S Playback", NULL, "TERT_MI2S_RX"}, 504 {"Quaternary MI2S Playback", NULL, "QUAT_MI2S_RX"}, 505 {"Quinary MI2S Playback", NULL, "QUIN_MI2S_RX"}, 597 {"TERT_MI2S_TX", NULL, "Tertiary MI2S Capture"}, 598 {"PRI_MI2S_TX", NULL, "Primary MI2S Capture"}, 599 {"SEC_MI2S_TX", NULL, "Secondary MI2S Capture"}, 600 {"QUAT_MI2S_TX", NULL, "Quaternary MI2S Capture"}, 601 {"QUIN_MI2S_TX", NULL, "Quinary MI2S Capture"}, [all …]
|
H A D | q6prm.h | 52 /* Clock ID for QUINARY MI2S OSR CLK */
|
/linux/drivers/pinctrl/qcom/ |
H A D | pinctrl-ipq8064.c | 487 IPQ_PIN_FUNCTION(mi2s), 559 PINGROUP(27, mi2s, rgmii2, gsbi6, NA, NA, NA, NA, NA, NA, NA), 560 PINGROUP(28, mi2s, rgmii2, gsbi6, NA, NA, NA, NA, NA, NA, NA), 561 PINGROUP(29, mi2s, rgmii2, gsbi6, NA, NA, NA, NA, NA, NA, NA), 562 PINGROUP(30, mi2s, rgmii2, gsbi6, pdm, NA, NA, NA, NA, NA, NA), 563 PINGROUP(31, mi2s, rgmii2, pdm, NA, NA, NA, NA, NA, NA, NA), 564 PINGROUP(32, mi2s, rgmii2, NA, NA, NA, NA, NA, NA, NA, NA), 565 PINGROUP(33, mi2s, NA, NA, NA, NA, NA, NA, NA, NA, NA), 587 PINGROUP(55, tsif1, mi2s, gsbi6, pdm, nss_spi, NA, NA, NA, NA, NA), 588 PINGROUP(56, tsif1, mi2s, gsbi6, pdm, nss_spi, NA, NA, NA, NA, NA), [all …]
|
H A D | pinctrl-apq8064.c | 489 APQ_PIN_FUNCTION(mi2s), 531 PINGROUP(27, mi2s, NA, NA, NA, NA, NA, NA, NA, NA, NA), 532 PINGROUP(28, mi2s, NA, NA, NA, NA, NA, NA, NA, NA, NA), 533 PINGROUP(29, mi2s, NA, NA, NA, NA, NA, NA, NA, NA, NA), 534 PINGROUP(30, mi2s, NA, NA, NA, NA, NA, NA, NA, NA, NA), 535 PINGROUP(31, mi2s, NA, gsbi5_spi_cs2, gsbi6_spi_cs2, gsbi7_spi_cs2, NA, NA, NA, NA, NA), 536 PINGROUP(32, mi2s, gp_clk_2a, NA, NA, NA, gsbi5_spi_cs3, gsbi6_spi_cs3, gsbi7_spi_cs3, NA, NA), 537 PINGROUP(33, mi2s, NA, NA, NA, NA, NA, NA, NA, NA, NA),
|
H A D | pinctrl-msm8660.c | 754 MSM_PIN_FUNCTION(mi2s), 874 PINGROUP(101, mi2s, _, _, _, _, _, _), 875 PINGROUP(102, mi2s, _, _, _, _, _, _), 876 PINGROUP(103, mi2s, gsbi11, gp_clk_2a, _, _, _, _), 877 PINGROUP(104, mi2s, gsbi11, _, _, _, _, _), 878 PINGROUP(105, mi2s, gsbi11, vfe, _, _, _, _), 879 PINGROUP(106, mi2s, gsbi11, vfe, _, _, _, _), 880 PINGROUP(107, mi2s, _, _, _, _, _, _),
|
H A D | pinctrl-msm8960.c | 1012 MSM_PIN_FUNCTION(mi2s), 1106 PINGROUP(47, mi2s, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), 1107 PINGROUP(48, mi2s, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), 1108 PINGROUP(49, mi2s, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA), 1109 PINGROUP(50, mi2s, slimbus1, NA, NA, NA, NA, NA, NA, NA, NA, NA), 1110 PINGROUP(51, mi2s, slimbus1, NA, NA, NA, NA, NA, NA, NA, NA, NA), 1111 PINGROUP(52, mi2s, gp_clk_2a, gsbi2_spi_cs1_n, NA, NA, NA, NA, NA, NA, NA, NA), 1112 PINGROUP(53, mi2s, gp_pdm_2b, NA, NA, NA, NA, NA, NA, NA, NA, NA),
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | qcom,lcc.yaml | 57 - description: MI2S codec clock 91 - description: MI2S codec clock
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8916-modem-qdsp6.dtsi | 122 link-name = "Primary MI2S"; 136 link-name = "Tertiary MI2S";
|
H A D | msm8916-alcatel-idol347.dts | 291 link-name = "Quaternary MI2S"; 306 /* Primary MI2S is not used, replace with Secondary MI2S for headphones */ 307 link-name = "Secondary MI2S";
|
H A D | msm8916.dtsi | 1356 pri_mi2s_default: mi2s-pri-default-state { 1363 pri_mi2s_sleep: mi2s-pri-sleep-state { 1370 pri_mi2s_mclk_default: mi2s-pri-mclk-default-state { 1377 pri_mi2s_mclk_sleep: mi2s-pri-mclk-sleep-state { 1384 pri_mi2s_ws_default: mi2s-pri-ws-default-state { 1391 pri_mi2s_ws_sleep: mi2s-pri-ws-sleep-state { 1398 sec_mi2s_default: mi2s-sec-default-state { 1405 sec_mi2s_sleep: mi2s-sec-sleep-state { 2063 * is actually only used by Tertiary MI2S while 2064 * Primary/Secondary MI2S both use the PRI_I2S_CLK. [all …]
|
H A D | msm8939.dtsi | 1026 pri_mi2s_default: mi2s-pri-default-state { 1033 pri_mi2s_sleep: mi2s-pri-sleep-state { 1040 pri_mi2s_mclk_default: mi2s-pri-mclk-default-state { 1047 pri_mi2s_mclk_sleep: mi2s-pri-mclk-sleep-state { 1054 pri_mi2s_ws_default: mi2s-pri-ws-default-state { 1061 pri_mi2s_ws_sleep: mi2s-pri-ws-sleep-state { 1068 sec_mi2s_default: mi2s-sec-default-state { 1075 sec_mi2s_sleep: mi2s-sec-sleep-state { 1681 "mi2s-bit-clk0", 1682 "mi2s-bit-clk1", [all …]
|
/linux/drivers/clk/qcom/ |
H A D | lcc-msm8960.c | 203 CLK_AIF_OSR_SRC(mi2s, 0x48, 0x4c) 204 CLK_AIF_OSR_CLK(mi2s, 0x48, 0x50, 17) 205 CLK_AIF_OSR_DIV_CLK(mi2s, 0x48, 4) 206 CLK_AIF_OSR_BIT_DIV_CLK(mi2s, 0x48, 0x50, 15) 207 CLK_AIF_OSR_BIT_CLK(mi2s, 0x48, 14)
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | qcom,ipq8064-pinctrl.yaml | 64 enum: [ mdio, mi2s, pdm, ssbi, spmi, audio_pcm, gpio, gsbi1, gsbi2, gsbi4, gsbi5,
|
H A D | qcom,apq8064-pinctrl.yaml | 70 gsbi_cam_i2c, hdmi, mi2s, riva_bt, riva_fm, riva_wlan,
|
H A D | qcom,msm8660-pinctrl.yaml | 74 hdmi, i2s, lcdc, mdp_vsync, mi2s, pcm, ps_hold, sdc1, sdc2,
|