Home
last modified time | relevance | path

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

12

/Linux-v6.1/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.
28 sound-dai:
35 - sound-dai
[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 …]
/Linux-v6.1/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";
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 …]
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 …]
Dtegra20-asus-tf101.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/atmel-maxtouch.h>
5 #include <dt-bindings/input/gpio-keys.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/thermal/thermal.h>
10 #include "tegra20-cpu-opp.dtsi"
11 #include "tegra20-cpu-opp-microvolt.dtsi"
16 chassis-type = "convertible";
33 * pre-existing /chosen node to be available to insert the
[all …]
Dtegra20-acer-a500-picasso.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/atmel-maxtouch.h>
5 #include <dt-bindings/input/gpio-keys.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/thermal/thermal.h>
10 #include "tegra20-cpu-opp.dtsi"
11 #include "tegra20-cpu-opp-microvolt.dtsi"
32 * pre-existing /chosen node to be available to insert the
41 reserved-memory {
[all …]
Dtegra30-pegatron-chagall.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/gpio-keys.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/thermal/thermal.h>
9 #include "tegra30-cpu-opp.dtsi"
10 #include "tegra30-cpu-opp-microvolt.dtsi"
11 #include "tegra30-asus-lvds-display.dtsi"
16 chassis-type = "tablet";
35 * pre-existing /chosen node to be available to insert the
[all …]
/Linux-v6.1/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
29 #include <sound/soc-acpi.h>
30 #include <dt-bindings/sound/rt5640.h>
32 #include "../atom/sst-atom-controls.h"
33 #include "../common/soc-intel-quirks.h"
74 #define BYT_RT5640_DIFF_MIC BIT(18) /* default is single-ended */
94 /* in-diff or dmic-pin + jdsrc + ovcd-th + -sf + jd-inv + terminating entry */
108 static int quirk_override = -1;
110 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
[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 …]
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 …]
Dbytcht_es8316.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * bytcht_es8316.c - ASoc Machine driver for Intel Baytrail/Cherrytrail
7 * Authors: David Yang <yangxiaohua@everest-semi.com>,
29 #include <sound/soc-acpi.h>
30 #include "../atom/sst-atom-controls.h"
31 #include "../common/soc-intel-quirks.h"
33 /* jd-inv + terminating entry */
56 static int quirk_override = -1;
58 MODULE_PARM_DESC(quirk, "Board-specific quirk override");
77 struct snd_soc_card *card = w->dapm->card; in byt_cht_es8316_speaker_power_event()
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/Documentation/driver-api/gpio/
Ddrivers-on-gpio.rst6 the right in-kernel and userspace APIs/ABIs for the job, and that these
10 - leds-gpio: drivers/leds/leds-gpio.c will handle LEDs connected to GPIO
13 - ledtrig-gpio: drivers/leds/trigger/ledtrig-gpio.c will provide a LED trigger,
15 (and that LED may in turn use the leds-gpio as per above).
17 - gpio-keys: drivers/input/keyboard/gpio_keys.c is used when your GPIO line
20 - gpio-keys-polled: drivers/input/keyboard/gpio_keys_polled.c is used when your
24 - gpio_mouse: drivers/input/mouse/gpio_mouse.c is used to provide a mouse with
25 up to three buttons by simply using GPIOs and no mouse port. You can cut the
29 - gpio-beeper: drivers/input/misc/gpio-beeper.c is used to provide a beep from
32 - extcon-gpio: drivers/extcon/extcon-gpio.c is used when you need to read an
[all …]
/Linux-v6.1/sound/pci/hda/
Dpatch_realtek.c1 // SPDX-License-Identifier: GPL-2.0-or-later
34 /* extra amp-initialization sequence types */
144 struct alc_spec *spec = codec->spec; in coef_mutex_lock()
147 mutex_lock(&spec->coef_mutex); in coef_mutex_lock()
152 struct alc_spec *spec = codec->spec; in coef_mutex_unlock()
154 mutex_unlock(&spec->coef_mutex); in coef_mutex_unlock()
206 if (val != -1) in __alc_update_coefex_idx()
226 struct alc_spec *spec = codec->spec; in alc_get_coef0()
228 if (!spec->coef0) in alc_get_coef0()
229 spec->coef0 = alc_read_coef_idx(codec, 0); in alc_get_coef0()
[all …]
Dpatch_cs8409.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 struct cs8409_spec *spec = codec->spec; in cs8409_parse_auto_config()
28 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs8409_parse_auto_config()
32 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs8409_parse_auto_config()
37 if (spec->gen.dyn_adc_switch) { in cs8409_parse_auto_config()
40 for (i = 0; i < spec->gen.input_mux.num_items; i++) { in cs8409_parse_auto_config()
41 int idx = spec->gen.dyn_adc_idx[i]; in cs8409_parse_auto_config()
45 snd_hda_gen_fix_pin_power(codec, spec->gen.adc_nids[idx]); in cs8409_parse_auto_config()
62 codec->spec = spec; in cs8409_alloc_spec()
63 spec->codec = codec; in cs8409_alloc_spec()
[all …]
/Linux-v6.1/arch/arm64/boot/dts/rockchip/
Drk3399-gru.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 * Copyright 2016-2017 Google, Inc
8 #include <dt-bindings/input/input.h>
10 #include "rk3399-op1-opp.dtsi"
19 stdout-path = "serial2:115200n8";
28 * - Rails that only connect to the EC (or devices that the EC talks to)
30 * - Rails _are_ included if the rails go to the AP even if the AP
39 * - The EC controls the enable and the EC always enables a rail as
41 * - The rails are actually connected to each other by a jumper and
46 ppvar_sys: ppvar-sys {
[all …]
/Linux-v6.1/arch/arm/mach-pxa/
Dmagician.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * i-mate JAM, O2 Xda mini, Orange SPV M500, Qtek s100, Qtek s110
5 * and T-Mobile MDA Compact.
7 * Copyright (c) 2006-2007 Philipp Zabel
20 #include <linux/mfd/htc-pasic3.h>
23 #include <linux/platform_data/gpio-htc-egpio.h>
28 #include <linux/regulator/gpio-regulator.h>
30 #include <linux/platform_data/i2c-pxa.h>
32 #include <asm/mach-types.h>
37 #include "addr-map.h"
[all …]
/Linux-v6.1/sound/soc/codecs/
Drt5640.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5640.c -- RT5640/RT5639 ALSA SoC audio codec driver
28 #include <sound/soc-dapm.h>
342 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0);
343 static const DECLARE_TLV_DB_MINMAX(dac_vol_tlv, -6562, 0);
344 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0);
345 static const DECLARE_TLV_DB_MINMAX(adc_vol_tlv, -1762, 3000);
453 * set_dmic_clk - Set parameter of dmic.
463 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk()
467 rate = rt5640->sysclk / rl6231_get_pre_div(rt5640->regmap, in set_dmic_clk()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
5 # setting - SPI can't be modular so that case doesn't need to be covered.
441 tristate "Analog Devices AU1761 CODEC - I2C"
447 tristate "Analog Devices AU1761 CODEC - SPI"
484 tristate "Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter"
490 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - HW Mode"
493 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM
499 will be called snd-soc-adau7118-hw.
502 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - I2C"
507 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM
[all …]

12