Home
last modified time | relevance | path

Searched +full:mic +full:- +full:det +full:- +full:gpio (Results 1 – 25 of 122) sorted by relevance

12345

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/
H A Drockchip,multicodecs.txt4 - compatible: "rockchip,multicodecs-card"
5 - rockchip,cpu: The phandle of the Rockchip I2S/PDM controller that's
7 - rockchip,codec: The phandle of audio codecs
10 - rockchip,card-name: User specified audio sound card name, one string property.
11 - rockchip,codec-hp-det : Detect the headphone via internal codec.
12 - rockchip,wait-card-locked : This is a variable length array, user specified
15 - rockchip,audio-routing : sound card dapm routing.
16 - hp-det-gpio : headphone detect gpio.
17 - io-channels : headset mic/key detect adc channel.
18 - io-channel-names : headset mic/key adc channel name.
[all …]
H A Dnvidia,tegra-audio-wm8903.txt4 - compatible : "nvidia,tegra-audio-wm8903"
5 - clocks : Must contain an entry for each entry in clock-names.
6 See ../clocks/clock-bindings.txt for details.
7 - clock-names : Must include the following entries:
8 - pll_a
9 - pll_a_out0
10 - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
11 - nvidia,model : The user-visible name of this sound complex.
12 - nvidia,audio-routing : A list of the connections between audio components.
20 * Mic Jack
[all …]
H A Dnvidia,tegra-audio-rt5677.txt4 - compatible : "nvidia,tegra-audio-rt5677"
5 - clocks : Must contain an entry for each entry in clock-names.
6 See ../clocks/clock-bindings.txt for details.
7 - clock-names : Must include the following entries:
8 - pll_a
9 - pll_a_out0
10 - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
11 - nvidia,model : The user-visible name of this sound complex.
12 - nvidia,audio-routing : A list of the connections between audio components.
20 * Headset Mic
[all …]
H A Dnvidia,tegra-audio-max98090.txt4 - compatible : "nvidia,tegra-audio-max98090"
5 - clocks : Must contain an entry for each entry in clock-names.
6 See ../clocks/clock-bindings.txt for details.
7 - clock-names : Must include the following entries:
8 - pll_a
9 - pll_a_out0
10 - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
11 - nvidia,model : The user-visible name of this sound complex.
12 - nvidia,audio-routing : A list of the connections between audio components.
20 * Mic Jack
[all …]
H A Dfsl-asoc-card.txt23 "fsl,imx-audio-ac97"
25 "fsl,imx-audio-cs42888"
27 "fsl,imx-audio-cs427x"
30 "fsl,imx-audio-wm8962"
32 "fsl,imx-audio-sgtl5000"
33 (compatible with Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt)
35 "fsl,imx-audio-wm8960"
37 "fsl,imx-audio-mqs"
39 "fsl,imx-audio-wm8524"
41 "fsl,imx-audio-tlv320aic32x4"
[all …]
H A Domap-twl4030.txt4 - compatible: "ti,omap-twl4030"
5 - ti,model: Name of the sound card (for example "omap3beagle")
6 - ti,mcbsp: phandle for the McBSP node
9 - ti,codec: phandle for the twl4030 audio node
10 - ti,mcbsp-voice: phandle for the McBSP node connected to the voice port of twl
11 - ti, jack-det-gpio: Jack detect GPIO
12 - ti,audio-routing: List of connections between audio components.
17 Available audio endpoints for the audio-routing table:
24 * Main Mic
25 * Sub Mic
[all …]
H A Dnvidia,tegra-audio-rt5640.txt4 - compatible : "nvidia,tegra-audio-rt5640"
5 - clocks : Must contain an entry for each entry in clock-names.
6 See ../clocks/clock-bindings.txt for details.
7 - clock-names : Must include the following entries:
8 - pll_a
9 - pll_a_out0
10 - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
11 - nvidia,model : The user-visible name of this sound complex.
12 - nvidia,audio-routing : A list of the connections between audio components.
20 * Mic Jack
[all …]
H A Dcs42l42.txt5 - compatible : "cirrus,cs42l42"
7 - reg : the I2C address of the device for I2C.
9 - VP-supply, VCP-supply, VD_FILT-supply, VL-supply, VA-supply :
15 - reset-gpios : a GPIO spec for the reset pin. If specified, it will be
18 - interrupts : IRQ line info CS42L42.
19 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
22 - cirrus,ts-inv : Boolean property. For jacks that invert the tip sense
27 0 = (Default) Non-inverted
30 - cirrus,ts-dbnc-rise : Debounce the rising edge of TIP_SENSE_PLUG. With no
33 0 - 0ms,
[all …]
/OK3568_Linux_fs/kernel/sound/soc/tegra/
H A Dtegra_max98090.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Copyright (C) 2010-2012 - NVIDIA, Inc.
18 #include <linux/gpio.h>
29 #define DRV_NAME "tegra-snd-max98090"
42 struct snd_soc_card *card = rtd->card; in tegra_max98090_asoc_hw_params()
69 err = tegra_asoc_utils_set_rate(&machine->util_data, srate, mclk); in tegra_max98090_asoc_hw_params()
71 dev_err(card->dev, "Can't configure clocks\n"); in tegra_max98090_asoc_hw_params()
78 dev_err(card->dev, "codec_dai clock not set\n"); in tegra_max98090_asoc_hw_params()
109 .pin = "Mic Jack",
115 .name = "Mic detection",
[all …]
H A Dtegra_rt5677.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * tegra_rt5677.c - Tegra machine ASoC driver for boards using RT5677 codec.
9 * Copyright (C) 2010-2012 - NVIDIA, Inc.
18 #include <linux/gpio.h>
31 #define DRV_NAME "tegra-snd-rt5677"
46 struct snd_soc_card *card = rtd->card; in tegra_rt5677_asoc_hw_params()
53 err = tegra_asoc_utils_set_rate(&machine->util_data, srate, mclk); in tegra_rt5677_asoc_hw_params()
55 dev_err(card->dev, "Can't configure clocks\n"); in tegra_rt5677_asoc_hw_params()
62 dev_err(card->dev, "codec_dai clock not set\n"); in tegra_rt5677_asoc_hw_params()
72 struct snd_soc_dapm_context *dapm = w->dapm; in tegra_rt5677_event_hp()
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3588-evb1-lp4.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include "dt-bindings/usb/pd.h"
9 #include "rk3588-evb.dtsi"
10 #include "rk3588-rk806-dual.dtsi"
13 /* If hdmirx node is disabled, delete the reserved-memory node here. */
14 reserved-memory {
15 #address-cells = <2>;
16 #size-cells = <2>;
19 /* Reserve 128MB memory for hdmirx-controller@fdee0000 */
21 compatible = "shared-dma-pool";
[all …]
H A Drk3588-evb7-v11.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include "dt-bindings/usb/pd.h"
9 #include "rk3588-evb.dtsi"
10 #include "rk3588-rk806-single.dtsi"
13 /* If hdmirx node is disabled, delete the reserved-memory node here. */
14 reserved-memory {
15 #address-cells = <2>;
16 #size-cells = <2>;
19 /* Reserve 128MB memory for hdmirx-controller@fdee0000 */
21 compatible = "shared-dma-pool";
[all …]
H A Drk3588-evb7-lp4.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include "dt-bindings/usb/pd.h"
9 #include "rk3588-evb.dtsi"
10 #include "rk3588-rk806-single.dtsi"
13 /* If hdmirx node is disabled, delete the reserved-memory node here. */
14 reserved-memory {
15 #address-cells = <2>;
16 #size-cells = <2>;
19 /* Reserve 128MB memory for hdmirx-controller@fdee0000 */
21 compatible = "shared-dma-pool";
[all …]
H A Drk3588-toybrick-x0.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include "dt-bindings/usb/pd.h"
9 #include "rk3588-toybrick.dtsi"
10 #include "rk3588-rk806-single.dtsi"
13 /* If hdmirx node is disabled, delete the reserved-memory node here. */
14 reserved-memory {
15 #address-cells = <2>;
16 #size-cells = <2>;
19 /* Reserve 128MB memory for hdmirx-controller@fdee0000 */
21 compatible = "shared-dma-pool";
[all …]
H A Drk3588-evb2-lp4.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include "rk3588-evb.dtsi"
9 #include "rk3588-rk806-dual.dtsi"
12 es7202_sound_micarray: es7202-sound-micarray {
14 compatible = "simple-audio-card";
15 simple-audio-card,format = "i2s";
16 simple-audio-card,name = "rockchip,sound-micarray";
17 simple-audio-card,mclk-fs = <256>;
18 simple-audio-card,dai-link@0 {
21 sound-dai = <&pdm0>;
[all …]
H A Drk3588s-evb1-lp4x.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include "dt-bindings/usb/pd.h"
9 #include "rk3588s-evb.dtsi"
10 #include "rk3588s-rk806-dual.dtsi"
13 aw883xx_sound: aw883x-sound {
15 compatible = "rockchip,multicodecs-card";
16 rockchip,card-name = "rockchip-aw883xx";
18 rockchip,mclk-fs = <256>;
23 combophy_avdd0v85: combophy-avdd0v85 {
24 compatible = "regulator-fixed";
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dmmp2-olpc-xo-1-75.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
8 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/linux-event-codes.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
15 model = "OLPC XO-1.75";
16 compatible = "olpc,xo-1.75", "mrvl,mmp2";
19 #address-cells = <1>;
20 #size-cells = <1>;
24 compatible = "simple-framebuffer";
[all …]
H A Dtegra20-plutux.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "tegra20-tamonten.dtsi"
20 interrupt-parent = <&gpio>;
23 gpio-controller;
24 #gpio-cells = <2>;
26 micdet-cfg = <0>;
27 micdet-delay = <100>;
28 gpio-cfg = <0xffffffff
37 compatible = "ad,tegra-audio-plutux",
[all …]
H A Dtegra20-tec.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "tegra20-tamonten.dtsi"
20 interrupt-parent = <&gpio>;
23 gpio-controller;
24 #gpio-cells = <2>;
26 micdet-cfg = <0>;
27 micdet-delay = <100>;
28 gpio-cfg = <0xffffffff
45 compatible = "ad,tegra-audio-wm8903-tec",
[all …]
H A Dtegra20-medcom-wide.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "tegra20-tamonten.dtsi"
7 model = "Avionic Design Medcom-Wide board";
8 compatible = "ad,medcom-wide", "ad,tamonten", "nvidia,tegra20";
15 stdout-path = "serial0:115200n8";
35 interrupt-parent = <&gpio>;
38 gpio-controller;
39 #gpio-cells = <2>;
41 micdet-cfg = <0>;
[all …]
H A Dkirkwood-t5325.dts1 // SPDX-License-Identifier: GPL-2.0
7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 /dts-v1/;
15 #include "kirkwood-6281.dtsi"
19 compatible = "hp,t5325", "marvell,kirkwood-88f6281", "marvell,kirkwood";
28 stdout-path = &uart0;
32 pinctrl: pin-controller@10000 {
33 pinctrl-0 = <&pmx_i2s &pmx_sysrst>;
34 pinctrl-names = "default";
36 pmx_button_power: pmx-button_power {
[all …]
/OK3568_Linux_fs/kernel/sound/soc/intel/boards/
H A Dkbl_rt5660.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright(c) 2018-19 Canonical Corporation.
16 #include <linux/gpio/consumer.h>
27 #define KBL_RT5660_CODEC_DAI "rt5660-aif1"
64 { "lineout-mute-gpios", &lineout_mute_gpio, 1 },
65 { "lineout-det-gpios", &lineout_det_gpio, 1 },
66 { "mic-det-gpios", &mic_det_gpio, 1 },
81 .name = "lineout-det",
87 .name = "mic-det",
95 struct snd_soc_dapm_context *dapm = w->dapm; in kabylake_5660_event_lineout()
[all …]
H A Dbdw-rt5677.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/gpio/consumer.h>
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()
46 SND_SOC_DAPM_MIC("Headset Mic", NULL),
59 {"IN1P", NULL, "Headset Mic"},
60 {"IN1N", NULL, "Headset Mic"},
84 SOC_DAPM_PIN_SWITCH("Headset Mic"),
[all …]
/OK3568_Linux_fs/kernel/sound/soc/generic/
H A Dsimple-card-utils.c1 // SPDX-License-Identifier: GPL-2.0
3 // simple-card-utils.c
8 #include <linux/gpio.h>
9 #include <linux/gpio/consumer.h>
25 if (data->convert_rate) in asoc_simple_convert_fixup()
26 rate->min = in asoc_simple_convert_fixup()
27 rate->max = data->convert_rate; in asoc_simple_convert_fixup()
29 if (data->convert_channels) in asoc_simple_convert_fixup()
30 channels->min = in asoc_simple_convert_fixup()
31 channels->max = data->convert_channels; in asoc_simple_convert_fixup()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/ti/
H A Domap-twl4030.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * omap-twl4030.c -- SoC audio for TI SoC based boards with twl4030 codec
5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com
20 #include <linux/platform_data/omap-twl4030.h>
23 #include <linux/gpio.h>
31 #include "omap-mcbsp.h"
56 return -EINVAL; in omap_twl4030_hw_params()
73 SND_SOC_DAPM_MIC("Main Mic", NULL),
74 SND_SOC_DAPM_MIC("Sub Mic", NULL),
75 SND_SOC_DAPM_MIC("Headset Mic", NULL),
[all …]

12345