Home
last modified time | relevance | path

Searched refs:dmic (Results 1 – 25 of 112) sorted by relevance

12345

/linux-6.6.21/sound/soc/ti/
Domap-dmic.c51 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()
72 static inline void omap_dmic_stop(struct omap_dmic *dmic) in omap_dmic_stop() argument
74 u32 ctrl = omap_dmic_read(dmic, OMAP_DMIC_CTRL_REG); in omap_dmic_stop()
[all …]
DMakefile15 snd-soc-omap-dmic-objs := omap-dmic.o
21 obj-$(CONFIG_SND_SOC_OMAP_DMIC) += snd-soc-omap-dmic.o
/linux-6.6.21/sound/soc/tegra/
Dtegra210_dmic.c45 struct tegra210_dmic *dmic = dev_get_drvdata(dev); in tegra210_dmic_runtime_suspend() local
47 regcache_cache_only(dmic->regmap, true); in tegra210_dmic_runtime_suspend()
48 regcache_mark_dirty(dmic->regmap); in tegra210_dmic_runtime_suspend()
50 clk_disable_unprepare(dmic->clk_dmic); in tegra210_dmic_runtime_suspend()
57 struct tegra210_dmic *dmic = dev_get_drvdata(dev); in tegra210_dmic_runtime_resume() local
60 err = clk_prepare_enable(dmic->clk_dmic); in tegra210_dmic_runtime_resume()
66 regcache_cache_only(dmic->regmap, false); in tegra210_dmic_runtime_resume()
67 regcache_sync(dmic->regmap); in tegra210_dmic_runtime_resume()
76 struct tegra210_dmic *dmic = snd_soc_dai_get_drvdata(dai); in tegra210_dmic_hw_params() local
88 switch (dmic->ch_select) { in tegra210_dmic_hw_params()
[all …]
/linux-6.6.21/sound/soc/codecs/
Ddmic.c26 struct dmic { struct
37 struct dmic *dmic = snd_soc_component_get_drvdata(component); in dmic_daiops_trigger() argument
41 if (dmic->modeswitch_delay) in dmic_daiops_trigger()
42 mdelay(dmic->modeswitch_delay); in dmic_daiops_trigger()
57 struct dmic *dmic = snd_soc_component_get_drvdata(component); in dmic_aif_event() local
61 if (dmic->gpio_en) in dmic_aif_event()
62 gpiod_set_value_cansleep(dmic->gpio_en, 1); in dmic_aif_event()
64 if (dmic->wakeup_delay) in dmic_aif_event()
65 msleep(dmic->wakeup_delay); in dmic_aif_event()
68 if (dmic->gpio_en) in dmic_aif_event()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/sound/
Dnvidia,tegra210-dmic.yaml4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-dmic.yaml#
24 pattern: "^dmic@[0-9a-f]*$"
28 - const: nvidia,tegra210-dmic
31 - nvidia,tegra234-dmic
32 - nvidia,tegra194-dmic
33 - nvidia,tegra186-dmic
34 - const: nvidia,tegra210-dmic
43 const: dmic
88 dmic@702d4000 {
89 compatible = "nvidia,tegra210-dmic";
[all …]
Domap-dmic.txt4 - compatible: "ti,omap4-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";
Dallwinner,sun50i-h6-dmic.yaml4 $id: http://devicetree.org/schemas/sound/allwinner,sun50i-h6-dmic.yaml#
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";
Dda7213.txt17 - dlg,dmic-data-sel : DMIC channel select based on clock edge.
19 - dlg,dmic-samplephase : When to sample audio from DMIC.
21 - dlg,dmic-clkrate : DMIC clock frequency (Hz).
42 dlg,dmic-data-sel = "lrise_rfall";
43 dlg,dmic-samplephase = "between_clkedge";
44 dlg,dmic-clkrate = <3000000>;
Ddmic-codec.yaml4 $id: http://devicetree.org/schemas/sound/dmic-codec.yaml#
17 const: dmic-codec
48 dmic {
49 compatible = "dmic-codec";
Dmt8186-mt6366-rt1019-rt5682s.yaml25 dmic-gpios:
28 dmic-gpios optional prop for switching between two DMICs.
30 dmic clk and data form a Front or Rear dmic.
86 dmic-gpios = <&pio 23 GPIO_ACTIVE_HIGH>;
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
21 dmic-wakeup-delay-ms = <20>;
Domap-abe-twl6040.txt14 - ti,dmic: phandle for the OMAP dmic node if the machine have it connected
66 ti,dmic = <&dmic>;
Drt5651.txt16 - realtek,dmic-en
17 Boolean. true if dmic is used.
61 realtek,dmic-en = "true";
Dnvidia,tegra210-ahub.yaml77 '^dmic@[0-9a-f]+$':
79 $ref: nvidia,tegra210-dmic.yaml#
182 dmic@702d4000 {
183 compatible = "nvidia,tegra210-dmic";
186 clock-names = "dmic";
Dmt6358.txt16 - mediatek,dmic-mode : Indicates how many data pins are used to transmit two
25 mediatek,dmic-mode = <0>;
Dqcom,lpass-tx-macro.yaml49 qcom,dmic-sample-rate:
50 description: dmic sample rate
134 qcom,dmic-sample-rate = <600000>;
Dqcom,lpass-va-macro.yaml49 qcom,dmic-sample-rate:
50 description: dmic sample rate
146 qcom,dmic-sample-rate = <600000>;
Drt5682.txt56 - realtek,dmic-clk-rate-hz : Set the clock rate (hz) for the requirement of
59 - realtek,dmic-delay-ms : Set the delay time (ms) for the requirement of
62 - realtek,dmic-clk-driving-high : Set the high driving of the DMIC clock out.
/linux-6.6.21/arch/riscv/boot/dts/allwinner/
Dsun20i-d1-lichee-rv-dock.dts18 dmic_codec: dmic-codec {
19 compatible = "dmic-codec";
24 dmic-sound {
37 sound-dai = <&dmic>;
52 &dmic {
Dsun20i-d1-lichee-rv-86-panel.dtsi12 dmic_codec: dmic-codec {
13 compatible = "dmic-codec";
18 dmic-sound {
31 sound-dai = <&dmic>;
55 &dmic {
Dsun20i-d1.dtsi38 dmic_pb11_d0_pin: dmic-pb11-d0-pin {
40 function = "dmic";
44 dmic_pe17_clk_pin: dmic-pe17-clk-pin {
46 function = "dmic";
/linux-6.6.21/sound/soc/intel/avs/boards/
DMakefile4 snd-soc-avs-dmic-objs := dmic.o
21 obj-$(CONFIG_SND_SOC_INTEL_AVS_MACH_DMIC) += snd-soc-avs-dmic.o
/linux-6.6.21/sound/soc/sof/
Dipc3-topology.c1383 memset(&config->dmic, 0, sizeof(config->dmic)); in sof_link_dmic_load()
1386 ret = sof_update_ipc_object(scomp, &config->dmic, SOF_DMIC_TOKENS, slink->tuples, in sof_link_dmic_load()
1392 ret = sof_update_ipc_object(scomp, &config->dmic.pdm[0], SOF_DMIC_PDM_TOKENS, in sof_link_dmic_load()
1395 config->dmic.num_pdm_active); in sof_link_dmic_load()
1404 config->dai_index, config->dmic.driver_ipc_version); in sof_link_dmic_load()
1406 config->dmic.pdmclk_min, config->dmic.pdmclk_max, in sof_link_dmic_load()
1407 config->dmic.duty_min); in sof_link_dmic_load()
1409 config->dmic.duty_max, config->dmic.fifo_fs, in sof_link_dmic_load()
1410 config->dmic.num_pdm_active); in sof_link_dmic_load()
1411 dev_dbg(scomp->dev, "fifo word length %d\n", config->dmic.fifo_bits); in sof_link_dmic_load()
[all …]
/linux-6.6.21/arch/arm64/boot/dts/qcom/
Dsc7180-trogdor-pompom.dtsi33 realtek,dmic-clk-driving-high;
178 dmic-gpios = <&tlmm 86 GPIO_ACTIVE_HIGH>;
316 dmic_sel: dmic-sel-state {
/linux-6.6.21/arch/arm64/boot/dts/renesas/
Dr8a779g0-white-hawk-ard-audio-da7212.dtso138 dlg,dmic-data-sel = "lrise_rfall";
139 dlg,dmic-samplephase = "between_clkedge";
140 dlg,dmic-clkrate = <3000000>;

12345