Home
last modified time | relevance | path

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

12

/Linux-v4.19/sound/soc/omap/
Domap-dmic.c63 static inline void omap_dmic_write(struct omap_dmic *dmic, u16 reg, u32 val) in omap_dmic_write() argument
65 writel_relaxed(val, dmic->io_base + reg); in omap_dmic_write()
68 static inline int omap_dmic_read(struct omap_dmic *dmic, u16 reg) in omap_dmic_read() argument
70 return readl_relaxed(dmic->io_base + reg); in omap_dmic_read()
73 static inline void omap_dmic_start(struct omap_dmic *dmic) in omap_dmic_start() argument
75 u32 ctrl = omap_dmic_read(dmic, OMAP_DMIC_CTRL_REG); in omap_dmic_start()
78 omap_dmic_write(dmic, OMAP_DMIC_DMAENABLE_SET_REG, in omap_dmic_start()
81 omap_dmic_write(dmic, OMAP_DMIC_CTRL_REG, ctrl | dmic->ch_enabled); in omap_dmic_start()
84 static inline void omap_dmic_stop(struct omap_dmic *dmic) in omap_dmic_stop() argument
86 u32 ctrl = omap_dmic_read(dmic, OMAP_DMIC_CTRL_REG); in omap_dmic_stop()
[all …]
DMakefile4 snd-soc-omap-dmic-objs := omap-dmic.o
10 obj-$(CONFIG_SND_OMAP_SOC_DMIC) += snd-soc-omap-dmic.o
/Linux-v4.19/sound/soc/codecs/
Ddmic.c33 struct dmic { struct
41 struct dmic *dmic = snd_soc_component_get_drvdata(component); in dmic_aif_event() local
45 if (dmic->gpio_en) in dmic_aif_event()
46 gpiod_set_value(dmic->gpio_en, 1); in dmic_aif_event()
48 if (dmic->wakeup_delay) in dmic_aif_event()
49 msleep(dmic->wakeup_delay); in dmic_aif_event()
52 if (dmic->gpio_en) in dmic_aif_event()
53 gpiod_set_value(dmic->gpio_en, 0); in dmic_aif_event()
75 struct dmic *dmic; in dmic_component_probe() local
77 dmic = devm_kzalloc(component->dev, sizeof(*dmic), GFP_KERNEL); in dmic_component_probe()
[all …]
Dmsm8916-wcd-digital.c432 unsigned int dmic; in msm8916_wcd_digital_enable_dmic() local
441 ret = kstrtouint(dmic_num, 10, &dmic); in msm8916_wcd_digital_enable_dmic()
442 if (ret < 0 || dmic > 2) { in msm8916_wcd_digital_enable_dmic()
452 switch (dmic) { in msm8916_wcd_digital_enable_dmic()
/Linux-v4.19/Documentation/devicetree/bindings/sound/
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";
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).
38 dlg,dmic-data-sel = "lrise_rfall";
39 dlg,dmic-samplephase = "between_clkedge";
40 dlg,dmic-clkrate = <3000000>;
Ddmic.txt6 - compatible: should be "dmic-codec".
9 - dmicen-gpios: GPIO specifier for dmic to control start and stop
15 dmic_codec: dmic@0 {
16 compatible = "dmic-codec";
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.
56 realtek,dmic-en = "true";
Dst,stm32-adfsdm.txt32 compatible = "st,stm32-dfsdm-dmic";
55 dmic0: dmic@0 {
56 compatible = "dmic-codec";
Dnvidia,tegra-audio-rt5677.txt33 - nvidia,dmic-clk-en-gpios : The GPIO that gates DMIC clock signal
61 nvidia,dmic-clk-en-gpios = <&rt5677 2 GPIO_ACTIVE_HIGH>;
Drt5514.txt20 - realtek,dmic-init-delay-ms
Dmax98090.txt21 - maxim,dmic-freq: Frequency at which to clock DMIC
Drt5645.txt69 realtek,dmic-en = "true";
Dwlf,arizona.txt27 - wlf,dmic-ref : DMIC reference voltage source for each input, can be
/Linux-v4.19/Documentation/devicetree/bindings/pinctrl/
Dste,abx500.txt124 function = "dmic";
140 function = "dmic";
157 function = "dmic";
/Linux-v4.19/Documentation/sound/hd-audio/
Dmodels.rst35 inv-dmic
56 inv-dmic
67 laptop-dmic
69 alc269-dmic
71 alc271-dmic
73 inv-dmic
133 alc269vb-dmic
177 dmic-thinkpad
290 inv-dmic
383 inv-dmic
[all …]
/Linux-v4.19/arch/arm/boot/dts/
Dste-href-ab8500.dtsi325 dmic {
328 function = "dmic";
Domap4.dtsi259 dmic: dmic@4012e000 { label
260 compatible = "ti,omap4-dmic";
265 ti,hwmods = "dmic";
Domap4-sdp.dts123 ti,dmic = <&dmic>;
615 &dmic {
Domap5.dtsi701 dmic: dmic@4012e000 { label
702 compatible = "ti,omap4-dmic";
707 ti,hwmods = "dmic";
/Linux-v4.19/Documentation/devicetree/bindings/iio/adc/
Dst,stm32-dfsdm-adc.txt48 "st,stm32-dfsdm-dmic" for audio digital microphone.
124 compatible = "st,stm32-dfsdm-dmic";
/Linux-v4.19/drivers/pinctrl/nomadik/
Dpinctrl-ab8500.c326 AB8500_FUNC_GROUPS(dmic, "dmic12_d_1", "dmic34_d_1", "dmic56_d_1");
348 FUNCTION(dmic),
/Linux-v4.19/arch/arm64/boot/dts/rockchip/
Drk3399-gru-chromebook.dtsi261 realtek,dmic-init-delay-ms = <20>;

12