Home
last modified time | relevance | path

Searched full:dmic (Results 1 – 25 of 286) sorted by relevance

12345678910>>...12

/linux/sound/soc/ti/
H A Domap-dmic.c3 * omap-dmic.c -- OMAP ASoC DMIC DAI driver
30 #include "omap-dmic.h"
51 static inline void omap_dmic_write(struct omap_dmic *dmic, u16 reg, u32 val) in omap_dmic_write() argument
53 writel_relaxed(val, dmic->io_base + reg); in omap_dmic_write()
56 static inline int omap_dmic_read(struct omap_dmic *dmic, u16 reg) in omap_dmic_read() argument
58 return readl_relaxed(dmic->io_base + reg); in omap_dmic_read()
61 static inline void omap_dmic_start(struct omap_dmic *dmic) in omap_dmic_start() argument
63 u32 ctrl = omap_dmic_read(dmic, OMAP_DMIC_CTRL_REG); in omap_dmic_start()
66 omap_dmic_write(dmic, OMAP_DMIC_DMAENABLE_SET_REG, in omap_dmic_start()
69 omap_dmic_write(dmic, OMAP_DMIC_CTRL_REG, ctrl | dmic->ch_enabled); in omap_dmic_start()
[all …]
H A Domap-abe-twl6040.c20 #include "omap-dmic.h"
32 DAILINK_COMP_ARRAY(COMP_CODEC("dmic-codec",
33 "dmic-hifi")),
87 printk(KERN_ERR "can't set DMIC cpu system clock\n"); in omap_abe_dmic_hw_params()
93 printk(KERN_ERR "can't set DMIC output clock\n"); in omap_abe_dmic_hw_params()
199 {"DMic", NULL, "Digital Mic"},
254 priv->dai_links[0].name = "DMIC"; in omap_abe_probe()
267 dai_node = of_parse_phandle(node, "ti,dmic", 0); in omap_abe_probe()
271 priv->dai_links[1].stream_name = "DMIC Capture"; in omap_abe_probe()
327 dmic_codec_dev = platform_device_register_simple("dmic-codec", -1, NULL, in omap_abe_init()
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dnvidia,tegra210-dmic.yaml4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-dmic.yaml#
7 title: Tegra210 DMIC Controller
10 The Digital MIC (DMIC) Controller is used to interface with Pulse
12 Pulse Coded Modulation (PCM) signals. DMIC can be viewed as a PDM
24 pattern: "^dmic@[0-9a-f]*$"
28 - const: nvidia,tegra210-dmic
31 - nvidia,tegra264-dmic
32 - nvidia,tegra234-dmic
33 - nvidia,tegra194-dmic
34 - nvidia,tegra186-dmic
[all …]
H A Dnvidia,tegra-audio-rt5677.yaml50 - DMIC L1
51 - DMIC L2
52 - DMIC L3
53 - DMIC L4
54 - DMIC R1
55 - DMIC R2
56 - DMIC R3
57 - DMIC R4
84 "DMIC L1", "Internal Mic 1",
85 "DMIC R1", "Internal Mic 1",
[all …]
H A Domap-dmic.txt4 - compatible: "ti,omap4-dmic"
8 - interrupts: Interrupt number for DMIC
9 - ti,hwmods: Name of the hwmod associated with OMAP dmic IP
13 dmic: dmic@4012e000 {
14 compatible = "ti,omap4-dmic";
19 ti,hwmods = "dmic";
H A Ddlg,da7213.yaml43 dlg,dmic-data-sel:
44 description: DMIC channel select based on clock edge
47 dlg,dmic-samplephase:
48 description: When to sample audio from DMIC
51 dlg,dmic-clkrate:
52 description: DMIC clock frequency (Hz)
99 dlg,dmic-data-sel = "lrise_rfall";
100 dlg,dmic-samplephase = "between_clkedge";
101 dlg,dmic-clkrate = <3000000>;
H A Dallwinner,sun50i-h6-dmic.yaml4 $id: http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml#
7 title: Allwinner H6 DMIC
20 - allwinner,sun20i-d1-dmic
21 - const: allwinner,sun50i-h6-dmic
22 - const: allwinner,sun50i-h6-dmic
75 dmic: dmic@5095000 {
77 compatible = "allwinner,sun50i-h6-dmic";
H A Drockchip,rk3399-gru-sound.txt10 - dmic-wakeup-delay-ms : specify delay time (ms) for DMIC ready.
11 If this option is specified, which means it's required dmic need
12 delay for DMIC to ready so that rt5514 can avoid recording before
13 DMIC send valid data
21 dmic-wakeup-delay-ms = <20>;
H A Domap-abe-twl6040.txt14 - ti,dmic: phandle for the OMAP dmic node if the machine have it connected
54 * DMic
66 ti,dmic = <&dmic>;
89 "DMic", "Digital Mic",
H A Drt5651.txt16 - realtek,dmic-en
17 Boolean. true if dmic is used.
43 * DMIC L1
44 * DMIC R1
61 realtek,dmic-en = "true";
H A Drealtek,rt5682s.yaml60 realtek,dmic-clk-rate-hz:
62 Set the clock rate (hz) for the requirement of the particular DMIC.
64 realtek,dmic-delay-ms:
66 Set the delay time (ms) for the requirement of the particular DMIC.
72 realtek,dmic-clk-driving-high:
75 Set the high driving of the DMIC clock out.
/linux/sound/soc/mediatek/mt8365/
H A Dmt8365-dai-dmic.c3 * MediaTek 8365 ALSA SoC Audio DAI DMIC Control
215 .name = "DMIC",
218 .stream_name = "DMIC Capture",
241 SOC_SINGLE("DMIC IIR Switch", AFE_DMIC0_UL_SRC_CON0, DMIC_TOP_CON_IIR_ON, 1, 0),
242 SOC_ENUM("DMIC IIR Mode", iir_mode),
248 SND_SOC_DAPM_INPUT("DMIC In"),
254 {"I14", NULL, "DMIC Capture"},
255 {"I15", NULL, "DMIC Capture"},
256 {"I16", NULL, "DMIC Capture"},
257 {"I17", NULL, "DMIC Capture"},
[all …]
/linux/sound/soc/intel/avs/boards/
H A Ddmic.c15 SND_SOC_DAILINK_DEF(dmic_pin, DAILINK_COMP_ARRAY(COMP_CPU("DMIC Pin")));
16 SND_SOC_DAILINK_DEF(dmic_wov_pin, DAILINK_COMP_ARRAY(COMP_CPU("DMIC WoV Pin")));
19 SND_SOC_DAPM_MIC("SoC DMIC", NULL),
23 {"DMic", NULL, "SoC DMIC"},
43 dl->codecs->dai_name = devm_kasprintf(dev, GFP_KERNEL, "dmic-hifi");
57 dl[0].name = "DMIC"; in avs_dmic_probe()
60 dl[1].name = "DMIC WoV"; in avs_dmic_probe()
93 card->long_name = card->name = "AVS DMIC";
125 MODULE_DESCRIPTION("Intel DMIC machin
[all...]
H A Drt5514.c23 SND_SOC_DAPM_MIC("DMIC", NULL),
27 /* DMIC */
28 { "DMIC1L", NULL, "DMIC" },
29 { "DMIC1R", NULL, "DMIC" },
30 { "DMIC2L", NULL, "DMIC" },
31 { "DMIC2R", NULL, "DMIC" },
36 int ret = snd_soc_dapm_ignore_suspend(&runtime->card->dapm, "DMIC"); in avs_rt5514_codec_init()
39 dev_err(runtime->dev, "DMIC - Ignore suspend failed = %d\n", ret); in avs_rt5514_codec_init()
/linux/sound/soc/amd/acp/
H A Dacp-legacy-mach.c28 .dmic_cpu_id = DMIC,
31 .dmic_codec_id = DMIC,
38 .dmic_cpu_id = DMIC,
41 .dmic_codec_id = DMIC,
48 .dmic_cpu_id = DMIC,
51 .dmic_codec_id = DMIC,
57 .dmic_cpu_id = DMIC,
59 .dmic_codec_id = DMIC,
65 .dmic_cpu_id = DMIC,
68 .dmic_codec_id = DMIC,
[all …]
H A Dacp-sof-mach.c27 .dmic_cpu_id = DMIC,
30 .dmic_codec_id = DMIC,
36 .dmic_cpu_id = DMIC,
39 .dmic_codec_id = DMIC,
45 .dmic_cpu_id = DMIC,
48 .dmic_codec_id = DMIC,
54 .dmic_cpu_id = DMIC,
57 .dmic_codec_id = DMIC,
63 .dmic_cpu_id = DMIC,
66 .dmic_codec_id = DMIC,
[all …]
/linux/sound/soc/codecs/
H A Dlpass-tx-macro.c41 /* Default divider for AMIC and DMIC clock: DIV2 */
759 unsigned int dmic; in tx_macro_update_smic_sel_v9() local
768 dmic = TX_ADC_TO_DMIC(val); in tx_macro_update_smic_sel_v9()
769 dmic_clk_reg = CDC_TX_TOP_CSR_SWR_DMICn_CTL(dmic); in tx_macro_update_smic_sel_v9()
781 unsigned int dmic; in tx_macro_update_smic_sel_v9_2() local
785 /* MSM DMIC */ in tx_macro_update_smic_sel_v9_2()
789 dmic = TX_ADC_TO_DMIC(val); in tx_macro_update_smic_sel_v9_2()
790 dmic_clk_reg = CDC_TX_TOP_CSR_SWR_DMICn_CTL(dmic); in tx_macro_update_smic_sel_v9_2()
845 if (widget->shift) /* MSM DMIC */ in tx_macro_put_dec_enum()
918 u16 adc_mux_reg, adc_reg, adc_n, dmic; in tx_macro_enable_dec() local
[all …]
H A Dlpass-va-macro.c606 u32 dmic, bool enable) in va_dmic_clk_enable() argument
615 switch (dmic) { in va_dmic_clk_enable()
645 dev_err(component->dev, "%s: Invalid DMIC Selection\n", in va_dmic_clk_enable()
720 unsigned int dmic = w->shift; in va_macro_enable_dmic() local
724 va_dmic_clk_enable(comp, dmic, true); in va_macro_enable_dmic()
727 va_dmic_clk_enable(comp, dmic, false); in va_macro_enable_dmic()
1126 SND_SOC_DAPM_MUX("VA DMIC MUX0", SND_SOC_NOPM, 0, 0, &va_dmic0_mux),
1127 SND_SOC_DAPM_MUX("VA DMIC MUX1", SND_SOC_NOPM, 0, 0, &va_dmic1_mux),
1128 SND_SOC_DAPM_MUX("VA DMIC MUX2", SND_SOC_NOPM, 0, 0, &va_dmic2_mux),
1129 SND_SOC_DAPM_MUX("VA DMIC MUX
[all...]
H A Drt5514.c439 SOC_DAPM_SINGLE("DMIC Switch", RT5514_DOWNFILTER0_CTRL1,
446 SOC_DAPM_SINGLE("DMIC Switch", RT5514_DOWNFILTER0_CTRL2,
453 SOC_DAPM_SINGLE("DMIC Switch", RT5514_DOWNFILTER1_CTRL1,
460 SOC_DAPM_SINGLE("DMIC Switch", RT5514_DOWNFILTER1_CTRL2,
466 /* DMIC Source */
476 SOC_DAPM_ENUM("Stereo1 DMIC Source", rt5514_stereo1_dmic_enum);
483 SOC_DAPM_ENUM("Stereo2 DMIC Source", rt5514_stereo2_dmic_enum);
486 * rt5514_calc_dmic_clk - Calculate the frequency divider parameter of dmic.
491 * Choose divider parameter that gives the highest possible DMIC frequency in
505 /* find divider that gives DMIC frequency below 3.072MHz */ in rt5514_calc_dmic_clk()
[all …]
/linux/sound/soc/sdw_utils/
H A Dsoc_sdw_dmic.c7 * soc_sdw_dmic - Helpers to handle dmic from generic machine driver
16 SND_SOC_DAPM_MIC("SoC DMIC", NULL),
21 {"DMic", NULL, "SoC DMIC"},
32 dev_err(card->dev, "DMic widget addition failed: %d\n", ret); in asoc_sdw_dmic_init()
41 dev_err(card->dev, "DMic map addition failed: %d\n", ret); in asoc_sdw_dmic_init()
/linux/sound/soc/amd/renoir/
H A Dacp3x-rn.c3 // Machine driver for AMD Renoir platform using DMIC
22 DAILINK_COMP_ARRAY(COMP_CODEC("dmic-codec.0",
23 "dmic-hifi")));
30 .name = "acp3x-dmic-capture",
31 .stream_name = "DMIC capture",
75 MODULE_DESCRIPTION("AMD Renoir support for DMIC");
/linux/sound/soc/amd/ps/
H A Dps-mach.c3 * Machine driver for AMD Pink Sardine platform using DMIC
24 DAILINK_COMP_ARRAY(COMP_CODEC("dmic-codec.0",
25 "dmic-hifi")));
32 .name = "acp63-dmic-capture",
33 .stream_name = "DMIC capture",
78 MODULE_DESCRIPTION("AMD Pink Sardine support for DMIC");
/linux/sound/soc/amd/
H A DKconfig67 tristate "AMD Renoir support for DMIC"
71 This option enables machine driver for DMIC
108 tristate "AMD YC support for DMIC"
113 using dmic. ACP IP has PDM Decoder block with DMA controller.
114 DMIC can be connected directly to ACP IP.
179 tristate "AMD PINK SARDINE support for DMIC"
184 using dmic. ACP IP has PDM Decoder block with DMA controller.
185 DMIC can be connected directly to ACP IP.
/linux/arch/riscv/boot/dts/allwinner/
H A Dsun20i-d1-lichee-rv-dock.dts18 dmic_codec: dmic-codec {
19 compatible = "dmic-codec";
24 dmic-sound {
26 simple-audio-card,name = "DMIC";
37 sound-dai = <&dmic>;
52 &dmic {
H A Dsun20i-d1-lichee-rv-86-panel.dtsi12 dmic_codec: dmic-codec {
13 compatible = "dmic-codec";
18 dmic-sound {
20 simple-audio-card,name = "DMIC";
31 sound-dai = <&dmic>;
55 &dmic {

12345678910>>...12