Home
last modified time | relevance | path

Searched full:mi2s (Results 1 – 25 of 38) sorted by relevance

12

/linux/Documentation/devicetree/bindings/sound/
H A Dqcom,lpass-cpu.yaml15 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 Dapq8016_sbc.c59 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 Dlpass-apq8016.c28 .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 Dlpass.h99 /* 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 Dlpass-sc7180.c26 .name = "Primary MI2S",
49 .name = "Secondary MI2S",
296 "mi2s-bit-clk0",
297 "mi2s-bit-clk1",
H A Dlpass-ipq806x.c152 "mi2s-osr-clk",
155 "mi2s-bit-clk",
H A Dlpass-cpu.c35 * 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 Dlpass-sc7280.c21 .name = "Primary MI2S",
44 .name = "Secondary MI2S",
46 .stream_name = "Secondary MI2S Playback",
H A DKconfig66 Say Y if you want to use audio devices on MI2S.
/linux/sound/soc/qcom/qdsp6/
H A Dq6dsp-lpass-ports.c332 .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 Dq6afe-dai.c501 {"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 Dq6prm.h52 /* Clock ID for QUINARY MI2S OSR CLK */
/linux/drivers/pinctrl/qcom/
H A Dpinctrl-ipq8064.c487 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 Dpinctrl-apq8064.c489 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 Dpinctrl-msm8660.c754 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 Dpinctrl-msm8960.c1012 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 Dqcom,lcc.yaml57 - description: MI2S codec clock
91 - description: MI2S codec clock
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8916-modem-qdsp6.dtsi122 link-name = "Primary MI2S";
136 link-name = "Tertiary MI2S";
H A Dmsm8916-alcatel-idol347.dts291 link-name = "Quaternary MI2S";
306 /* Primary MI2S is not used, replace with Secondary MI2S for headphones */
307 link-name = "Secondary MI2S";
H A Dmsm8916.dtsi1356 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 Dmsm8939.dtsi1026 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 Dlcc-msm8960.c203 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 Dqcom,ipq8064-pinctrl.yaml64 enum: [ mdio, mi2s, pdm, ssbi, spmi, audio_pcm, gpio, gsbi1, gsbi2, gsbi4, gsbi5,
H A Dqcom,apq8064-pinctrl.yaml70 gsbi_cam_i2c, hdmi, mi2s, riva_bt, riva_fm, riva_wlan,
H A Dqcom,msm8660-pinctrl.yaml74 hdmi, i2s, lcdc, mdp_vsync, mi2s, pcm, ps_hold, sdc1, sdc2,

12