Home
last modified time | relevance | path

Searched +full:dmic +full:- +full:delay +full:- +full:ms (Results 1 – 25 of 61) sorted by relevance

123

/linux-6.14.4/Documentation/devicetree/bindings/sound/
Ddmic-codec.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/sound/dmic-codec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic PDM Digital microphone (DMIC) codec
10 - Arnaud Pouliquen <[email protected]>
13 - $ref: dai-common.yaml#
17 const: dmic-codec
19 '#sound-dai-cells':
22 dmicen-gpios:
[all …]
Drockchip,rk3399-gru-sound.txt4 - compatible: "rockchip,rk3399-gru-sound"
5 - rockchip,cpu: The phandle of the Rockchip I2S controller that's
7 - rockchip,codec: The phandle of the audio codecs
10 - 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
18 compatible = "rockchip,rk3399-gru-sound";
21 dmic-wakeup-delay-ms = <20>;
Drealtek,rt5682s.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Derek Fang <[email protected]>
13 Rt5682s(ALC5682I-VS) is a rt5682i variant which supports I2C only.
16 - $ref: dai-common.yaml#
30 realtek,dmic1-data-pin:
33 - 0 # dmic1 data is not used
34 - 1 # using GPIO2 pin as dmic1 data pin
35 - 2 # using GPIO5 pin as dmic1 data pin
[all …]
Dnuvoton,nau8821.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Seven Lee <[email protected]>
13 - $ref: dai-common.yaml#
25 nuvoton,jkdet-enable:
29 nuvoton,jkdet-pull-enable:
30 description: Enable JKDET pin pull. If set - pin pull enabled,
34 nuvoton,jkdet-pull-up:
35 description: Pull-up JKDET pin. If set then JKDET pin is pull up,
[all …]
Drealtek,rt5682.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bard Liao <[email protected]>
13 - $ref: dai-common.yaml#
18 - realtek,rt5682
19 - realtek,rt5682i
29 realtek,dmic1-data-pin:
32 - 0 # dmic1 data is not used
33 - 1 # using GPIO2 pin as dmic1 data pin
[all …]
Drealtek,rt5514.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Animesh Agarwal <[email protected]>
24 - $ref: /schemas/spi/spi-peripheral-props.yaml#
25 - $ref: dai-common.yaml#
36 - description: Master clock to the CODEC
38 clock-names:
40 - const: mclk
46 realtek,dmic-init-delay-ms:
[all …]
/linux-6.14.4/sound/soc/codecs/
Ddmic.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * dmic.c -- SoC audio for Generic Digital MICs
8 #include <linux/delay.h>
17 #include <sound/soc-dapm.h>
26 struct dmic { struct
29 /* Delay after DMIC mode switch */
36 struct snd_soc_component *component = dai->component; in dmic_daiops_trigger()
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()
[all …]
Dab8500-codec.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2012
8 * for ST-Ericsson.
14 * for ST-Ericsson.
23 #include <linux/delay.h>
29 #include <linux/mfd/abx500/ab8500-sysctrl.h>
30 #include <linux/mfd/abx500/ab8500-codec.h>
39 #include <sound/soc-dapm.h>
42 #include "ab8500-codec.h"
56 /* Nr of FIR/IIR-coeff banks in ANC-block */
[all …]
Dtlv320aic3x.c1 // SPDX-License-Identifier: GPL-2.0-only
16 * ---------------------------------------
17 * MONO_LOUT -> N/A | MONO_LOUT -> N/A
18 * | IN1L -> LINE1L
19 * | IN1R -> LINE1R
20 * | IN2L -> LINE2L
21 * | IN2R -> LINE2R
22 * | MIC3L/R -> N/A
25 * ---------------------------------------
34 #include <linux/delay.h>
[all …]
Dcs42l73.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cs42l73.c -- CS42L73 ALSA Soc Audio driver
15 #include <linux/delay.h>
25 #include <sound/soc-dapm.h>
47 { 6, 0xF1 }, /* r06 - Power Ctl 1 */
48 { 7, 0xDF }, /* r07 - Power Ctl 2 */
49 { 8, 0x3F }, /* r08 - Power Ctl 3 */
50 { 9, 0x50 }, /* r09 - Charge Pump Freq */
51 { 10, 0x53 }, /* r0A - Output Load MicBias Short Detect */
52 { 11, 0x00 }, /* r0B - DMIC Master Clock Ctl */
[all …]
Dwcd934x.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/clk-provider.h>
21 #include <sound/soc-dapm.h>
23 #include "wcd-clsh-v2.h"
24 #include "wcd-mbhc-v2.h"
216 {"ADC MUX" #id, "DMIC", "DMIC MUX" #id }, \
218 {"DMIC MUX" #id, "DMIC0", "DMIC0"}, \
219 {"DMIC MUX" #id, "DMIC1", "DMIC1"}, \
220 {"DMIC MUX" #id, "DMIC2", "DMIC2"}, \
221 {"DMIC MUX" #id, "DMIC3", "DMIC3"}, \
[all …]
Drt5514.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5514.c -- RT5514 ALSA SoC audio codec driver
14 #include <linux/delay.h>
24 #include <sound/soc-dapm.h>
31 #include "rt5514-spi.h"
120 regmap_write(rt5514->i2c_regmap, 0x18002000, 0x000010ec); in rt5514_enable_dsp_prepare()
122 regmap_write(rt5514->i2c_regmap, 0x18002200, 0x00028604); in rt5514_enable_dsp_prepare()
124 regmap_write(rt5514->i2c_regmap, 0xfafafafa, 0x00000001); in rt5514_enable_dsp_prepare()
125 /* mini-core reset */ in rt5514_enable_dsp_prepare()
126 regmap_write(rt5514->i2c_regmap, 0x18002f00, 0x0005514b); in rt5514_enable_dsp_prepare()
[all …]
Dnau8821.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // nau8821.c -- Nuvoton NAU88L21 audio codec driver
7 // Co-author: Seven Lee <[email protected]>
12 #include <linux/delay.h>
32 static int quirk_override = -1;
34 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
285 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in nau8821_biq_coeff_get()
287 if (!component->regmap) in nau8821_biq_coeff_get()
288 return -EINVAL; in nau8821_biq_coeff_get()
290 return regmap_raw_read(component->regmap, NAU8821_R21_BIQ0_COF1, in nau8821_biq_coeff_get()
[all …]
Dlpass-va-macro.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
5 #include <linux/clk-provider.h>
16 #include <sound/soc-dapm.h>
19 #include "lpass-macro-common.h"
165 static const DECLARE_TLV_DB_SCALE(digital_gain, -8400, 100, -8400);
455 struct regmap *regmap = va->regmap; in va_clk_rsc_fs_gen_request()
488 struct regmap *regmap = va->regmap; in va_macro_mclk_enable()
504 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); in va_macro_mclk_event()
509 return clk_prepare_enable(va->fsgen); in va_macro_mclk_event()
[all …]
Dlpass-tx-macro.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
12 #include <sound/soc-dapm.h>
15 #include <linux/clk-provider.h>
17 #include "lpass-macro-common.h"
41 /* Default divider for AMIC and DMIC clock: DIV2 */
201 #define TX_ADC_TO_DMIC(n) ((n - TX_ADC_MAX)/2)
292 static const DECLARE_TLV_DB_SCALE(digital_gain, -8400, 100, -8400);
617 struct regmap *regmap = tx->regmap; in tx_macro_mclk_enable()
620 if (tx->tx_mclk_users == 0) { in tx_macro_mclk_enable()
[all …]
Dwcd9335.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
3 // Copyright (c) 2017-2018, Linaro Limited
14 #include <linux/delay.h>
19 #include <sound/soc-dapm.h>
26 #include "wcd-clsh-v2.h"
28 #include <dt-bindings/sound/qcom,wcd9335.h>
99 #define WCD9335_CALCULATE_VOUT_D(req_mv) (((req_mv - 650) * 10) / 25)
147 {"ADC MUX" #id, "DMIC", "DMIC MUX" #id}, \
149 {"DMIC MUX" #id, "DMIC0", "DMIC0"}, \
[all …]
/linux-6.14.4/sound/soc/rockchip/
Drk3399_gru_sound.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/delay.h>
24 #define DRV_NAME "rk3399-gru-sound"
77 dev_err(rtd->card->dev, "%s() error setting sysclk to %u: %d\n", in rockchip_sound_max98357a_hw_params()
99 dev_err(rtd->card->dev, "Can't set cpu clock out %d\n", ret); in rockchip_sound_rt5514_hw_params()
106 dev_err(rtd->card->dev, "%s() error setting sysclk to %u: %d\n", in rockchip_sound_rt5514_hw_params()
111 /* Wait for DMIC stable */ in rockchip_sound_rt5514_hw_params()
143 return -EINVAL; in rockchip_sound_da7219_hw_params()
149 dev_err(codec_dai->dev, "Can't set cpu clock out %d\n", ret); in rockchip_sound_da7219_hw_params()
156 dev_err(codec_dai->dev, "Can't set codec clock in %d\n", ret); in rockchip_sound_da7219_hw_params()
[all …]
/linux-6.14.4/arch/arm64/boot/dts/mediatek/
Dmt8183-kukui-jacuzzi-burnet.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
7 #include "mt8183-kukui-jacuzzi.dtsi"
8 #include "mt8183-kukui-audio-ts3a227e-max98357a.dtsi"
12 chassis-type = "convertible";
17 mediatek,dmic-mode = <1>; /* one-wire */
22 compatible = "hid-over-i2c";
24 pinctrl-names = "default";
25 pinctrl-0 = <&touchscreen_pins>;
26 interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
[all …]
Dmt8183-kukui-jacuzzi-damu.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
7 #include "mt8183-kukui-jacuzzi.dtsi"
8 #include "mt8183-kukui-audio-da7219-max98357a.dtsi"
12 chassis-type = "convertible";
19 compatible = "hid-over-i2c";
21 interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>;
22 pinctrl-names = "default";
23 pinctrl-0 = <&touchscreen_pins>;
25 post-power-on-delay-ms = <10>;
[all …]
Dmt8195-cherry.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/spmi/spmi.h>
25 backlight_lcd0: backlight-lcd0 {
26 compatible = "pwm-backlight";
27 brightness-levels = <0 1023>;
28 default-brightness-level = <576>;
29 enable-gpios = <&pio 82 GPIO_ACTIVE_HIGH>;
30 num-interpolated-steps = <1023>;
32 power-supply = <&ppvar_sys>;
[all …]
/linux-6.14.4/arch/arm64/boot/dts/rockchip/
Drk3399-gru-scarlet.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Gru-scarlet board device tree source
8 #include "rk3399-gru.dtsi"
11 chassis-type = "tablet";
16 pp1250_s3: regulator-pp1250-s3 {
17 compatible = "regulator-fixed";
18 regulator-name = "pp1250_s3";
21 regulator-always-on;
22 regulator-boot-on;
23 regulator-min-microvolt = <1250000>;
[all …]
Drk3399-gru-chromebook.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Gru-Chromebook shared properties
8 #include "rk3399-gru.dtsi"
11 pp900_ap: regulator-pp900-ap {
12 compatible = "regulator-fixed";
13 regulator-name = "pp900_ap";
16 regulator-always-on;
17 regulator-boot-on;
18 regulator-min-microvolt = <900000>;
19 regulator-max-microvolt = <900000>;
[all …]
/linux-6.14.4/arch/arm64/boot/dts/qcom/
Dsc7180-trogdor-pompom.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include "sc7180-trogdor.dtsi"
9 #include "sc7180-trogdor-clamshell.dtsi"
10 #include "sc7180-trogdor-rt5682i-sku.dtsi"
11 #include "sc7180-trogdor-ti-sn65dsi86.dtsi"
14 thermal-zones {
15 choke-5v-thermal {
16 thermal-sensors = <&pm6150_adc_tm 1>;
19 choke-5v-crit {
30 realtek,dmic-clk-driving-high;
[all …]
Dsc7180-trogdor-coachz.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include "sc7180-trogdor.dtsi"
9 #include "sc7180-trogdor-ti-sn65dsi86.dtsi"
10 #include "sc7180-trogdor-detachable.dtsi"
12 /* Deleted nodes from sc7180-trogdor.dtsi */
14 /delete-node/ &pp3300_codec;
17 /* BOARD-SPECIFIC TOP LEVEL NODES */
19 adau7002: audio-codec-1 {
21 IOVDD-supply = <&pp1800_l15a>;
22 wakeup-delay-ms = <80>;
[all …]
/linux-6.14.4/sound/soc/amd/ps/
Dacp63.h1 /* SPDX-License-Identifier: GPL-2.0+ */
54 /* time in ms for runtime suspend delay */
63 /* time in ms for acp timeout */
95 #define SDW0_DMA_TX_IRQ_MASK(i) (ACP_AUDIO0_TX_THRESHOLD - (2 * (i)))
96 #define SDW0_DMA_RX_IRQ_MASK(i) (ACP_AUDIO0_RX_THRESHOLD - (2 * ((i) - 3)))
105 #define SDW1_DMA_IRQ_MASK(i) (ACP_P1_AUDIO_TX_THRESHOLD - (i))
217 * struct acp63_dev_data - acp pci driver context
221 * @dmic_codec: platform device for DMIC Codec
236 * @sdw0-dma_intr_stat: DMA interrupt status array for SoundWire manager-SW0 instance
237 * @sdw_dma_intr_stat: DMA interrupt status array for SoundWire manager-SW1 instance

123