Home
last modified time | relevance | path

Searched +full:headset +full:- +full:detect (Results 1 – 25 of 113) sorted by relevance

12345

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dsamsung,aries-wm8994.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/samsung,aries-wm8994.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jonathan Bakker <xc-racer2@live.ca>
16 - samsung,aries-wm8994
18 - samsung,fascinate4g-wm8994
22 description: The user-visible name of this sound complex.
27 sound-dai:
30 $ref: /schemas/types.yaml#/definitions/phandle-array
[all …]
Domap-abe-twl6040.txt4 - compatible: "ti,abe-twl6040"
5 - ti,model: Name of the sound card ( for example "SDP4430")
6 - ti,mclk-freq: MCLK frequency for HPPLL operation
7 - ti,mcpdm: phandle for the McPDM node
8 - ti,twl6040: phandle for the twl6040 core node
9 - ti,audio-routing: List of connections between audio components.
14 - ti,dmic: phandle for the OMAP dmic node if the machine have it connected
15 - ti,jack-detection: Need to be present if the board capable to detect jack
18 Available audio endpoints for the audio-routing table:
21 * Headset Stereophone
[all …]
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:
20 * Headset Stereophone
26 * Headset Mic
[all …]
Dqcom,msm8916-wcd-analog.txt8 - compatible = "qcom,pm8916-wcd-analog-codec";
9 - reg: represents the slave base address provided to the peripheral.
10 - interrupts: List of interrupts in given SPMI peripheral.
11 - interrupt-names: Names specified to above list of interrupts in same
13 "cdc_spk_cnp_int" - Speaker click and pop interrupt.
14 "cdc_spk_clip_int" - Speaker clip interrupt.
15 "cdc_spk_ocp_int" - Speaker over current protect interrupt.
16 "mbhc_ins_rem_det1" - jack insert removal detect interrupt 1.
17 "mbhc_but_rel_det" - button release interrupt.
18 "mbhc_but_press_det" - button press event
[all …]
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.
23 - nvidia,i2s-controller : The phandle of the Tegra I2S1 controller
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/sound/
Domap-abe-twl6040.txt4 - compatible: "ti,abe-twl6040"
5 - ti,model: Name of the sound card ( for example "SDP4430")
6 - ti,mclk-freq: MCLK frequency for HPPLL operation
7 - ti,mcpdm: phandle for the McPDM node
8 - ti,twl6040: phandle for the twl6040 core node
9 - ti,audio-routing: List of connections between audio components.
14 - ti,dmic: phandle for the OMAP dmic node if the machine have it connected
15 - ti,jack-detection: Need to be present if the board capable to detect jack
18 Available audio endpoints for the audio-routing table:
21 * Headset Stereophone
[all …]
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:
20 * Headset Stereophone
26 * Headset Mic
[all …]
Dqcom,msm8916-wcd-analog.txt8 - compatible = "qcom,pm8916-wcd-analog-codec";
9 - reg: represents the slave base address provided to the peripheral.
10 - interrupts: List of interrupts in given SPMI peripheral.
11 - interrupt-names: Names specified to above list of interrupts in same
13 "cdc_spk_cnp_int" - Speaker click and pop interrupt.
14 "cdc_spk_clip_int" - Speaker clip interrupt.
15 "cdc_spk_ocp_int" - Speaker over current protect interrupt.
16 "mbhc_ins_rem_det1" - jack insert removal detect interrupt 1.
17 "mbhc_but_rel_det" - button release interrupt.
18 "mbhc_but_press_det" - button press event
[all …]
/kernel/linux/linux-5.10/sound/soc/samsung/
Daries_wm8994.c1 // SPDX-License-Identifier: GPL-2.0+
5 #include <linux/input-event-codes.h>
63 /* Headset jack */
71 .pin = "Headset Mic",
100 if (!gpiod_get_value(priv->gpio_headset_detect)) { in headset_det_irq_thread()
103 gpiod_set_value(priv->gpio_earpath_sel, 0); in headset_det_irq_thread()
107 time_left_ms -= 20; in headset_det_irq_thread()
111 ret = regulator_enable(priv->reg_headset_micbias); in headset_det_irq_thread()
115 gpiod_set_value(priv->gpio_earpath_sel, 1); in headset_det_irq_thread()
117 ret = iio_read_channel_processed(priv->adc, &adc); in headset_det_irq_thread()
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/extcon/
Dextcon-arizona.txt11 - wlf,hpdet-channel : Headphone detection channel.
12 ARIZONA_ACCDET_MODE_HPL or 1 - Headphone detect mode is set to HPDETL
13 ARIZONA_ACCDET_MODE_HPR or 2 - Headphone detect mode is set to HPDETR
17 - wlf,use-jd2 : Use the additional JD input along with JD1 for dual pin jack
19 - wlf,use-jd2-nopull : Internal pull on JD2 is disabled when used for
21 - wlf,jd-invert : Invert the polarity of the jack detection switch
23 - wlf,micd-software-compare : Use a software comparison to determine mic
25 - wlf,micd-detect-debounce : Additional software microphone detection
27 - wlf,micd-pol-gpio : GPIO specifier for the GPIO controlling the headset
29 - wlf,micd-bias-start-time : Time allowed for MICBIAS to startup prior to
[all …]
/kernel/linux/linux-5.10/sound/soc/intel/boards/
Dcht_bsw_rt5672.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cht_bsw_rt5672.c - ASoc Machine driver for Intel Cherryview-based platforms
21 #include <sound/soc-acpi.h>
23 #include "../atom/sst-atom-controls.h"
28 #define CHT_CODEC_DAI "rt5670-aif1"
31 struct snd_soc_jack headset; member
36 /* Headset jack detection DAPM pins */
39 .pin = "Headset Mic",
51 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
52 struct snd_soc_card *card = dapm->card; in platform_clock_control()
[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 */
92 /* Default: jack-detect on JD1_1, internal mic on in2, headsetmic on in3 */
96 static int quirk_override = -1;
98 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
111 dev_info(dev, "quirk realtek,jack-detect-source %ld\n", in log_quirks()
[all …]
/kernel/linux/linux-4.19/sound/soc/intel/boards/
Dcht_bsw_rt5672.c2 * cht_bsw_rt5672.c - ASoc Machine driver for Intel Cherryview-based platforms
27 #include <sound/soc-acpi.h>
29 #include "../atom/sst-atom-controls.h"
34 #define CHT_CODEC_DAI "rt5670-aif1"
37 struct snd_soc_jack headset; member
42 /* Headset jack detection DAPM pins */
45 .pin = "Headset Mic",
57 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
58 struct snd_soc_card *card = dapm->card; in platform_clock_control()
65 dev_err(card->dev, "Codec dai not found; Unable to set platform clock\n"); in platform_clock_control()
[all …]
Dbytcr_rt5651.c2 * bytcr_rt5651.c - ASoc Machine driver for Intel Byt CR platform
34 #include <asm/intel-family.h>
40 #include <sound/soc-acpi.h>
42 #include "../atom/sst-atom-controls.h"
89 /* jack-detect-source + dmic-en + ovcd-th + -sf + terminating empty entry */
98 /* Default: jack-detect on JD1_1, internal mic on in2, headsetmic on in3 */
113 dev_info(dev, "quirk realtek,jack-detect-source %ld\n", in log_quirks()
115 dev_info(dev, "quirk realtek,over-current-threshold-microamp %ld\n", in log_quirks()
117 dev_info(dev, "quirk realtek,over-current-scale-factor %ld\n", in log_quirks()
136 #define BYT_CODEC_DAI1 "rt5651-aif1"
[all …]
/kernel/linux/linux-5.10/sound/soc/ti/
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>
31 #include "omap-mcbsp.h"
34 int jack_detect; /* board can detect jack events */
56 return -EINVAL; in omap_twl4030_hw_params()
69 SND_SOC_DAPM_HP("Headset Stereophone", NULL),
75 SND_SOC_DAPM_MIC("Headset Mic", NULL),
83 /* Headset Stereophone: HSOL, HSOR */
[all …]
Domap-abe-twl6040.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * omap-abe-twl6040.c -- SoC audio for TI OMAP based boards with ABE and
20 #include "omap-dmic.h"
21 #include "omap-mcpdm.h"
26 DAILINK_COMP_ARRAY(COMP_CODEC("twl6040-codec",
27 "twl6040-legacy")),
32 DAILINK_COMP_ARRAY(COMP_CODEC("dmic-codec",
33 "dmic-hifi")),
39 int jack_detection; /* board can detect jack events */
50 struct snd_soc_card *card = rtd->card; in omap_abe_hw_params()
[all …]
/kernel/linux/linux-4.19/sound/soc/omap/
Domap-twl4030.c2 * omap-twl4030.c -- SoC audio for TI SoC based boards with twl4030 codec
4 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com
29 * 02110-1301 USA
34 #include <linux/platform_data/omap-twl4030.h>
45 #include "omap-mcbsp.h"
48 int jack_detect; /* board can detect jack events */
55 struct snd_soc_pcm_runtime *rtd = substream->private_data; in omap_twl4030_hw_params()
70 return -EINVAL; in omap_twl4030_hw_params()
83 SND_SOC_DAPM_HP("Headset Stereophone", NULL),
89 SND_SOC_DAPM_MIC("Headset Mic", NULL),
[all …]
Domap-abe-twl6040.c2 * omap-abe-twl6040.c -- SoC audio for TI OMAP based boards with ABE and
19 * 02110-1301 USA
34 #include "omap-dmic.h"
35 #include "omap-mcpdm.h"
41 int jack_detection; /* board can detect jack events */
50 struct snd_soc_pcm_runtime *rtd = substream->private_data; in omap_abe_hw_params()
51 struct snd_soc_dai *codec_dai = rtd->codec_dai; in omap_abe_hw_params()
52 struct snd_soc_card *card = rtd->card; in omap_abe_hw_params()
57 clk_id = twl6040_get_clk_id(codec_dai->component); in omap_abe_hw_params()
59 freq = priv->mclk_freq; in omap_abe_hw_params()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/extcon/
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
20 wlf,hpdet-channel:
23 headphone detect mode to HPDETL, ARIZONA_ACCDET_MODE_HPR/2 sets it
30 wlf,use-jd2:
35 wlf,use-jd2-nopull:
40 wlf,jd-invert:
45 wlf,micd-software-compare:
[all …]
/kernel/linux/linux-5.10/Documentation/sound/hd-audio/
Dmodels.rst2 HD-Audio Codec-Specific Models
8 3-jack in back and a headphone out
9 3stack-digout
10 3-jack in back, a HP out and a SPDIF out
12 5-jack in back, 2-jack in front
13 5stack-digout
14 5-jack in back, 2-jack in front, a SPDIF out
16 6-jack in back, 2-jack in front
17 6stack-digout
18 6-jack with a SPDIF out
[all …]
/kernel/linux/linux-4.19/Documentation/sound/hd-audio/
Dmodels.rst2 HD-Audio Codec-Specific Models
8 3-jack in back and a headphone out
9 3stack-digout
10 3-jack in back, a HP out and a SPDIF out
12 5-jack in back, 2-jack in front
13 5stack-digout
14 5-jack in back, 2-jack in front, a SPDIF out
16 6-jack in back, 2-jack in front
17 6stack-digout
18 6-jack with a SPDIF out
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Ds5pv210-fascinate4g.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include "s5pv210-aries.dtsi"
9 model = "Samsung Galaxy S Fascinate 4G (SGH-T959P) based on S5PV210";
13 stdout-path = &uart2;
16 gpio-keys {
17 compatible = "gpio-keys";
23 wakeup-source;
[all …]
Domap4-duovero.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
7 #include "omap4-mcpdm.dtsi"
11 compatible = "gumstix,omap4-duovero", "ti,omap4430", "ti,omap4";
14 stdout-path = &uart3;
23 compatible = "ti,abe-twl6040";
26 ti,mclk-freq = <38400000>;
33 ti,audio-routing =
34 "Headset Stereophone", "HSOL",
35 "Headset Stereophone", "HSOR",
36 "HSMIC", "Headset Mic",
[all …]
/kernel/linux/linux-5.10/sound/pci/hda/
Dpatch_realtek.c1 // SPDX-License-Identifier: GPL-2.0-or-later
32 /* extra amp-initialization sequence types */
165 if (val != -1) in alc_update_coefex_idx()
176 struct alc_spec *spec = codec->spec; in alc_get_coef0()
178 if (!spec->coef0) in alc_get_coef0()
179 spec->coef0 = alc_read_coef_idx(codec, 0); in alc_get_coef0()
180 return spec->coef0; in alc_get_coef0()
193 #define WRITE_COEFEX(_nid, _idx, _val) UPDATE_COEFEX(_nid, _idx, -1, _val)
200 for (; fw->nid; fw++) { in alc_process_coef_fw()
201 if (fw->mask == (unsigned short)-1) in alc_process_coef_fw()
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Domap4-duovero.dtsi13 compatible = "gumstix,omap4-duovero", "ti,omap4430", "ti,omap4";
16 stdout-path = &uart3;
25 compatible = "ti,abe-twl6040";
28 ti,mclk-freq = <38400000>;
35 ti,audio-routing =
36 "Headset Stereophone", "HSOL",
37 "Headset Stereophone", "HSOR",
38 "HSMIC", "Headset Mic",
39 "Headset Mic", "Headset Mic Bias";
44 compatible = "usb-nop-xceiv";
[all …]

12345