Home
last modified time | relevance | path

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

123

/kernel/linux/linux-6.6/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>
13 - $ref: sound-card-common.yaml#
19 - samsung,aries-wm8994
21 - samsung,fascinate4g-wm8994
27 sound-dai:
34 - sound-dai
[all …]
Dcirrus,cs42l43.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 loudspeakers, and two ADCs for wired headset microphone input or
21 - $ref: dai-common.yaml#
26 - cirrus,cs42l43
31 vdd-p-supply:
35 vdd-a-supply:
39 vdd-d-supply:
[all …]
Dnvidia,tegra-audio-common.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jon Hunter <jonathanh@nvidia.com>
11 - Thierry Reding <thierry.reding@gmail.com>
16 - description: PLL A clock
17 - description: PLL A OUT0 clock
18 - description: The Tegra cdev1/extern1 clock, which feeds the card's mclk
20 clock-names:
[all …]
Dcirrus,cs42l42.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
13 The CS42L42 is a low-power audio codec designed for portable applications.
14 It provides a high-dynamic range, stereo DAC for audio playback and a mono
15 high-dynamic-range ADC for audio capture. There is an integrated headset
21 - cirrus,cs42l42
22 - cirrus,cs42l83
29 VP-supply:
[all …]
Dsirf-audio.txt4 - compatible: "sirf,sirf-audio-card"
5 - sirf,audio-platform: phandle for the platform node
6 - sirf,audio-codec: phandle for the SiRF internal codec node
9 - hp-pa-gpios: Need to be present if the board need control external
11 - spk-pa-gpios: Need to be present if the board need control external
13 - hp-switch-gpios: Need to be present if the board capable to detect jack
16 Available audio endpoints for the audio-routing table:
19 * Headset Stereophone
34 compatible = "sirf,sirf-audio-card";
35 sirf,audio-codec = <&audiocodec>;
[all …]
/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 …]
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 …]
Dsirf-audio.txt4 - compatible: "sirf,sirf-audio-card"
5 - sirf,audio-platform: phandle for the platform node
6 - sirf,audio-codec: phandle for the SiRF internal codec node
9 - hp-pa-gpios: Need to be present if the board need control external
11 - spk-pa-gpios: Need to be present if the board need control external
13 - hp-switch-gpios: Need to be present if the board capable to detect jack
16 Available audio endpoints for the audio-routing table:
19 * Headset Stereophone
34 compatible = "sirf,sirf-audio-card";
35 sirf,audio-codec = <&audiocodec>;
[all …]
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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/samsung/
Ds5pv210-galaxys.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 S1 (GT-I9000) based on S5PV210";
11 chassis-type = "handset";
14 stdout-path = &uart2;
17 nand_pwrseq: nand-pwrseq {
18 compatible = "mmc-pwrseq-simple";
[all …]
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";
11 chassis-type = "handset";
14 stdout-path = &uart2;
17 gpio-keys {
18 compatible = "gpio-keys";
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Ds5pv210-galaxys.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 S1 (GT-I9000) based on S5PV210";
13 stdout-path = &uart2;
16 nand_pwrseq: nand-pwrseq {
17 compatible = "mmc-pwrseq-simple";
18 reset-gpios = <&gpj2 7 GPIO_ACTIVE_LOW>;
[all …]
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";
21 gpios = <&gph2 6 GPIO_ACTIVE_LOW>;
[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-6.6/sound/soc/intel/boards/
Dbytcr_rt5640.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * byt_cr_dpcm_rt5640.c - ASoc Machine driver for Intel Byt CR platform
30 #include <sound/soc-acpi.h>
31 #include <dt-bindings/sound/rt5640.h>
33 #include "../atom/sst-atom-controls.h"
34 #include "../common/soc-intel-quirks.h"
36 #define BYT_RT5640_FALLBACK_CODEC_DEV_NAME "i2c-rt5640"
77 #define BYT_RT5640_DIFF_MIC BIT(18) /* default is single-ended */
98 /* in-diff or dmic-pin + jdsrc + ovcd-th + -sf + jd-inv + terminating entry */
112 static int quirk_override = -1;
[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 …]
Dcht_bsw_max98090_ti.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cht-bsw-max98090.c - ASoc Machine driver for Intel Cherryview-based
24 #include <sound/soc-acpi.h>
27 #include "../atom/sst-atom-controls.h"
45 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
46 struct snd_soc_card *card = dapm->card; in platform_clock_control()
52 if (ctx->quirks & QUIRK_PMC_PLT_CLK_0) in platform_clock_control()
57 dev_err(card->dev, "Codec dai not found; Unable to set platform clock\n"); in platform_clock_control()
58 return -EIO; in platform_clock_control()
62 ret = clk_prepare_enable(ctx->mclk); in platform_clock_control()
[all …]
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"
24 #include "../common/soc-intel-quirks.h"
29 #define CHT_CODEC_DAI "rt5670-aif1"
32 struct snd_soc_jack headset; member
38 /* Headset jack detection DAPM pins */
41 .pin = "Headset Mic",
53 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
[all …]
/kernel/linux/linux-5.10/sound/soc/intel/boards/
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 …]
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 …]
Dcht_bsw_max98090_ti.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cht-bsw-max98090.c - ASoc Machine driver for Intel Cherryview-based
24 #include <sound/soc-acpi.h>
27 #include "../atom/sst-atom-controls.h"
45 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
46 struct snd_soc_card *card = dapm->card; in platform_clock_control()
52 if (ctx->quirks & QUIRK_PMC_PLT_CLK_0) in platform_clock_control()
57 dev_err(card->dev, "Codec dai not found; Unable to set platform clock\n"); in platform_clock_control()
58 return -EIO; in platform_clock_control()
62 ret = clk_prepare_enable(ctx->mclk); in platform_clock_control()
[all …]
/kernel/linux/linux-6.6/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 …]
/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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/ti/omap/
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-6.6/drivers/mfd/
Darizona-spi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * arizona-spi.c -- Arizona SPI bus interface
21 #include <uapi/linux/input-event-codes.h>
32 { "reset-gpios", &reset_gpios, 1, },
33 { "wlf,ldoena-gpios", &ldoena_gpios, 1 },
38 * The ACPI resources for the device only describe external GPIO-s. They do
39 * not provide mappings for the GPIO-s coming from the Arizona codec itself.
42 { "arizona", 2, "wlf,spkvdd-ena", 0, GPIO_ACTIVE_HIGH },
43 { "arizona", 4, "wlf,micd-pol", 0, GPIO_ACTIVE_LOW },
58 /* Add mappings for the 2 ACPI declared GPIOs used for reset and ldo-ena */ in arizona_spi_acpi_windows_probe()
[all …]

123