Home
last modified time | relevance | path

Searched +full:dmic +full:- +full:gpios (Results 1 – 25 of 62) sorted by relevance

123

/Linux-v6.1/Documentation/devicetree/bindings/sound/
Ddmic.txt1 Device-Tree bindings for Digital microphone (DMIC) codec
6 - compatible: should be "dmic-codec".
9 - dmicen-gpios: GPIO specifier for dmic to control start and stop
10 - num-channels: Number of microphones on this DAI
11 - wakeup-delay-ms: Delay (in ms) after enabling the DMIC
12 - modeswitch-delay-ms: Delay (in ms) to complete DMIC mode switch
16 dmic_codec: dmic@0 {
17 compatible = "dmic-codec";
18 dmicen-gpios = <&gpio4 3 GPIO_ACTIVE_HIGH>;
19 num-channels = <1>;
[all …]
Drt5645.txt7 - compatible : One of "realtek,rt5645" or "realtek,rt5650".
9 - reg : The I2C address of the device.
11 - interrupts : The CODEC's interrupt output.
13 - avdd-supply: Power supply for AVDD, providing 1.8V.
15 - cpvdd-supply: Power supply for CPVDD, providing 3.5V.
19 - hp-detect-gpios:
20 a GPIO spec for the external headphone detect pin. If jd-mode = 0,
21 we will get the JD status by getting the value of hp-detect-gpios.
23 - realtek,in2-differential
24 Boolean. Indicate MIC2 input are differential, rather than single-ended.
[all …]
Drt5682.txt7 - compatible : "realtek,rt5682" or "realtek,rt5682i"
9 - reg : The I2C address of the device.
13 - interrupts : The CODEC's interrupt output.
15 - realtek,dmic1-data-pin
20 - realtek,dmic1-clk-pin
24 - realtek,jd-src
28 - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin.
30 - realtek,btndet-delay
32 The delay time is realtek,btndet-delay value multiple of 8.192 ms.
35 - #clock-cells : Should be set to '<1>', wclk and bclk sources provided.
[all …]
Drt5659.txt7 - compatible : One of "realtek,rt5659" or "realtek,rt5658".
9 - reg : The I2C address of the device.
11 - interrupts : The CODEC's interrupt output.
15 - clocks: The phandle of the master clock to the CODEC
16 - clock-names: Should be "mclk"
18 - realtek,in1-differential
19 - realtek,in3-differential
20 - realtek,in4-differential
21 Boolean. Indicate MIC1/3/4 input are differential, rather than single-ended.
23 - realtek,dmic1-data-pin
[all …]
Drt5665.txt7 - compatible : One of "realtek,rt5665", "realtek,rt5666".
9 - reg : The I2C address of the device.
11 - interrupts : The CODEC's interrupt output.
15 - realtek,in1-differential
16 - realtek,in2-differential
17 - realtek,in3-differential
18 - realtek,in4-differential
19 Boolean. Indicate MIC1/2/3/4 input are differential, rather than single-ended.
21 - realtek,dmic1-data-pin
26 - realtek,dmic2-data-pin
[all …]
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 <derek.fang@realtek.com>
13 Rt5682s(ALC5682I-VS) is a rt5682i variant which supports I2C only.
27 realtek,dmic1-data-pin:
30 - 0 # dmic1 data is not used
31 - 1 # using GPIO2 pin as dmic1 data pin
32 - 2 # using GPIO5 pin as dmic1 data pin
36 realtek,dmic1-clk-pin:
[all …]
Dnvidia,tegra-audio-rt5677.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-rt5677.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jon Hunter <jonathanh@nvidia.com>
11 - Thierry Reding <thierry.reding@gmail.com>
14 - $ref: nvidia,tegra-audio-common.yaml#
19 - pattern: '^[a-z0-9]+,tegra-audio-rt5677(-[a-z0-9]+)+$'
20 - const: nvidia,tegra-audio-rt5677
22 nvidia,audio-routing:
[all …]
Drt5668.txt7 - compatible : "realtek,rt5668b"
9 - reg : The I2C address of the device.
13 - interrupts : The CODEC's interrupt output.
15 - realtek,dmic1-data-pin
20 - realtek,dmic1-clk-pin
24 - realtek,jd-src
28 - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin.
32 * DMIC L1
33 * DMIC R1
43 interrupt-parent = <&gpio>;
[all …]
Dgoogle,sc7180-trogdor.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/google,sc7180-trogdor.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Google SC7180-Trogdor ASoC sound card driver
10 - Rohit kumar <rohitkr@codeaurora.org>
11 - Cheng-Yi Chiang <cychiang@chromium.org>
19 - google,sc7180-trogdor
20 - google,sc7180-coachz
22 audio-routing:
[all …]
/Linux-v6.1/sound/soc/intel/boards/
Dsof_es8336.c1 // SPDX-License-Identifier: GPL-2.0-only
21 #include <sound/soc-acpi.h>
24 /* jd-inv + terminating entry */
56 static int quirk_override = -1;
58 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
79 { "speakers-enable-gpios", &enable_gpio0, 1, ACPI_GPIO_QUIRK_ONLY_GPIOIO },
84 { "speakers-enable-gpios", &enable_gpio1, 1, ACPI_GPIO_QUIRK_ONLY_GPIOIO },
88 { "speakers-enable-gpios", &enable_gpio0, 1, ACPI_GPIO_QUIRK_ONLY_GPIOIO },
89 { "headphone-enable-gpios", &enable_gpio1, 1, ACPI_GPIO_QUIRK_ONLY_GPIOIO },
94 { "speakers-enable-gpios", &enable_gpio1, 1, ACPI_GPIO_QUIRK_ONLY_GPIOIO },
[all …]
Dbdw-rt5677.c1 // SPDX-License-Identifier: GPL-2.0-only
18 #include <sound/soc-acpi.h>
30 struct snd_soc_dapm_context *dapm = w->dapm; in bdw_rt5677_event_hp()
31 struct snd_soc_card *card = dapm->card; in bdw_rt5677_event_hp()
37 gpiod_set_value_cansleep(bdw_rt5677->gpio_hp_en, in bdw_rt5677_event_hp()
66 {"DMIC L1", NULL, "Remote DMICs"},
67 {"DMIC R1", NULL, "Remote DMICs"},
68 {"DMIC L2", NULL, "Local DMICs"},
69 {"DMIC R2", NULL, "Local DMICs"},
104 .name = "plug-det",
[all …]
Dbytcr_rt5651.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * bytcr_rt5651.c - ASoc Machine driver for Intel Byt CR platform
29 #include <sound/soc-acpi.h>
31 #include "../atom/sst-atom-controls.h"
32 #include "../common/soc-intel-quirks.h"
80 /* jack-detect-source + inv + dmic-en + ovcd-th + -sf + terminating entry */
93 /* Default: jack-detect on JD1_1, internal mic on in2, headsetmic on in3 */
97 static int quirk_override = -1;
99 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
112 dev_info(dev, "quirk realtek,jack-detect-source %ld\n", in log_quirks()
[all …]
/Linux-v6.1/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: 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 …]
Drk3566-pinenote.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/gpio-keys.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
17 stdout-path = "serial2:1500000n8";
20 adc-keys {
21 compatible = "adc-keys";
22 io-channels = <&saradc 0>;
[all …]
/Linux-v6.1/arch/arm64/boot/dts/qcom/
Dsc7180-trogdor-pompom.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include "sc7180-trogdor.dtsi"
9 /* Must come after sc7180-trogdor.dtsi to modify cros_ec */
10 #include <arm/cros-ec-keyboard.dtsi>
11 #include "sc7180-trogdor-ti-sn65dsi86.dtsi"
14 thermal-zones {
15 5v-choke-thermal {
16 polling-delay-passive = <0>;
17 polling-delay = <250>;
19 thermal-sensors = <&pm6150_adc_tm 1>;
[all …]
Dsc7180-trogdor-kingoftown.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /* This file must be included after sc7180-trogdor.dtsi */
9 #include <arm/cros-ec-keyboard.dtsi>
10 #include "sc7180-trogdor-lte-sku.dtsi"
14 realtek,dmic1-clk-pin = <2>;
15 realtek,dmic-clk-rate-hz = <2048000>;
24 clock-frequency = <400000>;
29 pinctrl-names = "default";
30 pinctrl-0 = <&ts_int_l>, <&ts_reset_l>;
32 interrupt-parent = <&tlmm>;
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Domap4-sdp.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
5 /dts-v1/;
9 #include "omap4-mcpdm.dtsi"
13 compatible = "ti,omap4-sdp", "ti,omap4430", "ti,omap4";
26 vdd_eth: fixedregulator-vdd-eth {
27 pinctrl-names = "default";
28 pinctrl-0 = <&enet_enable_gpio>;
30 compatible = "regulator-fixed";
31 regulator-name = "VDD_ETH";
[all …]
Dexynos4412-odroidx.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Hardkernel's Exynos4412 based ODROID-X board device tree source
7 * Device tree source file for Hardkernel's ODROID-X board which is based
11 /dts-v1/;
12 #include <dt-bindings/leds/common.h>
13 #include "exynos4412-odroid-common.dtsi"
16 model = "Hardkernel ODROID-X board based on Exynos4412";
17 compatible = "hardkernel,odroid-x", "samsung,exynos4412", "samsung,exynos4";
29 compatible = "gpio-leds";
33 gpios = <&gpc1 0 GPIO_ACTIVE_LOW>;
[all …]
Dimx6qdl-sabresd.dtsi1 // SPDX-License-Identifier: GPL-2.0+
6 #include <dt-bindings/clock/imx6qdl-clock.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
12 stdout-path = &uart1;
20 reg_usb_otg_vbus: regulator-usb-otg-vbus {
21 compatible = "regulator-fixed";
22 regulator-name = "usb_otg_vbus";
23 regulator-min-microvolt = <5000000>;
24 regulator-max-microvolt = <5000000>;
[all …]
/Linux-v6.1/sound/soc/qcom/
Dsc7180.c1 // SPDX-License-Identifier: GPL-2.0-only
5 // sc7180.c -- ALSA SoC Machine driver for SC7180
7 #include <dt-bindings/sound/sc7180-lpass.h>
17 #include <uapi/linux/input-event-codes.h>
40 struct snd_soc_component *component = jack->private_data; in sc7180_jack_free()
47 struct snd_soc_card *card = rtd->card; in sc7180_headset_init()
50 struct snd_soc_component *component = codec_dai->component; in sc7180_headset_init()
60 &pdata->hs_jack); in sc7180_headset_init()
63 dev_err(card->dev, "Unable to add Headset Jack\n"); in sc7180_headset_init()
67 jack = pdata->hs_jack.jack; in sc7180_headset_init()
[all …]
/Linux-v6.1/sound/soc/ti/
Drx51.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rx51.c -- SoC audio for Nokia RX-51
5 * Copyright (C) 2008 - 2009 Nokia Corporation
21 #include <linux/platform_data/asoc-ti-mcbsp.h>
23 #include <asm/mach-types.h>
25 #include "omap-mcbsp.h"
29 RX51_JACK_TVOUT, /* tv-out with stereo output */
47 struct snd_soc_card *card = dapm->card; in rx51_ext_control()
71 snd_soc_dapm_enable_pin_unlocked(dapm, "DMic"); in rx51_ext_control()
73 snd_soc_dapm_disable_pin_unlocked(dapm, "DMic"); in rx51_ext_control()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/mfd/
Dcirrus,madera.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Cirrus Logic Madera class audio CODECs Multi-Functional Device
10 - patches@opensource.cirrus.com
23 - $ref: /schemas/pinctrl/cirrus,madera.yaml#
24 - $ref: /schemas/regulator/wlf,arizona.yaml#
25 - $ref: /schemas/sound/cirrus,madera.yaml#
26 - if:
31 - cirrus,cs47l85
[all …]
Dwlf,arizona.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
17 - $ref: /schemas/spi/spi-peripheral-props.yaml
18 - $ref: /schemas/sound/wlf,arizona.yaml#
19 - $ref: /schemas/regulator/wlf,arizona.yaml#
20 - $ref: /schemas/extcon/wlf,arizona.yaml#
21 - if:
26 - cirrus,cs47l24
[all …]
/Linux-v6.1/sound/soc/codecs/
Drt5677.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5677.c -- RT5677 ALSA SoC audio codec driver
31 #include <sound/soc-dapm.h>
37 #include "rt5677-spi.h"
554 * rt5677_dsp_mode_i2c_write_addr - Write value to address on DSP mode.
565 struct snd_soc_component *component = rt5677->component; in rt5677_dsp_mode_i2c_write_addr()
568 mutex_lock(&rt5677->dsp_cmd_lock); in rt5677_dsp_mode_i2c_write_addr()
570 ret = regmap_write(rt5677->regmap_physical, RT5677_DSP_I2C_ADDR_MSB, in rt5677_dsp_mode_i2c_write_addr()
573 dev_err(component->dev, "Failed to set addr msb value: %d\n", ret); in rt5677_dsp_mode_i2c_write_addr()
577 ret = regmap_write(rt5677->regmap_physical, RT5677_DSP_I2C_ADDR_LSB, in rt5677_dsp_mode_i2c_write_addr()
[all …]
Drt5645.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5645.c -- RT5645 ALSA SoC audio codec driver
27 #include <sound/soc-dapm.h>
42 static unsigned int quirk = -1;
434 /* Some (package) variants have the headset-mic pin not-connected */
664 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0);
665 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -6525, 75, 0);
666 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0);
667 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -1725, 75, 0);
681 /* {-6, -4.5, -3, -1.5, 0, 0.82, 1.58, 2.28} dB */
[all …]

123