Searched +full:jack +full:- +full:pol (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/Documentation/devicetree/bindings/sound/ |
D | everest,es8326.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Yang <yangxiaohua@everest-semi.com> 21 - description: clock for master clock (MCLK) 23 clock-names: 25 - const: mclk 27 "#sound-dai-cells": 30 everest,jack-pol: 33 just the value of reg 57. Bit(3) decides whether the jack polarity is inverted. [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/extcon/ |
D | wlf,arizona.yaml | 1 # 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: 30 wlf,use-jd2: 32 Use the additional JD input along with JD1 for dual pin jack detection. 35 wlf,use-jd2-nopull: 37 Internal pull on JD2 is disabled when used for jack detection. 40 wlf,jd-invert: [all …]
|
/linux-6.12.1/sound/soc/codecs/ |
D | es8326.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // es8326.c -- es8326 ALSA SoC audio driver 6 // Authors: David Yang <yangxiaohua@everest-semi.com> 14 #include <sound/jack.h> 17 #include <sound/soc-dapm.h> 28 struct snd_soc_jack *jack; member 56 regmap_read(es8326->regmap, ES8326_DAC_RAMPRATE, &crosstalk_h); in es8326_crosstalk1_get() 57 regmap_read(es8326->regmap, ES8326_DAC_CROSSTALK, &crosstalk_l); in es8326_crosstalk1_get() 61 ucontrol->value.integer.value[0] = crosstalk; in es8326_crosstalk1_get() 74 crosstalk = ucontrol->value.integer.value[0]; in es8326_crosstalk1_set() [all …]
|
D | mt6359-accdet.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // mt6359-accdet.c -- ALSA SoC mt6359 accdet driver 24 #include <sound/jack.h> 27 #include "mt6359-accdet.h" 31 #define REGISTER_VAL(x) ((x) - 1) 73 if (priv->data->eint_detect_mode == 0x3 || in adjust_eint_analog_setting() 74 priv->data->eint_detect_mode == 0x4) { in adjust_eint_analog_setting() 76 regmap_update_bits(priv->regmap, in adjust_eint_analog_setting() 79 if (priv->data->eint_detect_mode == 0x4) { in adjust_eint_analog_setting() 80 if (priv->caps & ACCDET_PMIC_EINT0) { in adjust_eint_analog_setting() [all …]
|
D | arizona-jack.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * extcon-arizona.c - Extcon driver Wolfson Arizona devices 5 * Copyright (C) 2012-2014 Wolfson Microelectronics plc 20 #include <sound/jack.h> 26 #include <dt-bindings/mfd/arizona.h> 33 * The hardware supports 8 ranges / buttons, but the snd-jack interface 34 * only supports 6 buttons (button 0-5). 100 struct arizona *arizona = info->arizona; in arizona_extcon_hp_clamp() 105 switch (arizona->type) { in arizona_extcon_hp_clamp() 122 ret = regmap_update_bits(arizona->regmap, in arizona_extcon_hp_clamp() [all …]
|
D | wm8903.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8903.c -- WM8903 ALSA SoC Audio driver 5 * Copyright 2008-12 Wolfson Microelectronics 6 * Copyright 2011-2012 NVIDIA, Inc. 11 * - TDM mode configuration. 28 #include <sound/jack.h> 41 { 4, 0x0018 }, /* R4 - Bias Control 0 */ 42 { 5, 0x0000 }, /* R5 - VMID Control 0 */ 43 { 6, 0x0000 }, /* R6 - Mic Bias Control 0 */ 44 { 8, 0x0001 }, /* R8 - Analogue DAC 0 */ [all …]
|
D | wm5100.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm5100.c -- WM5100 ALSA SoC Audio driver 5 * Copyright 2011-2 Wolfson Microelectronics plc 28 #include <sound/jack.h> 73 struct snd_soc_jack *jack; member 130 dev_err(component->dev, "Unsupported sample rate: %dHz\n", rate); in wm5100_alloc_sr() 131 return -EINVAL; in wm5100_alloc_sr() 135 if ((wm5100->sysclk % rate) == 0) { in wm5100_alloc_sr() 137 sr_free = -1; in wm5100_alloc_sr() 139 if (!wm5100->sr_ref[i] && sr_free == -1) { in wm5100_alloc_sr() [all …]
|
D | wm8962.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8962.c -- WM8962 ALSA SoC Audio driver 5 * Copyright 2010-2 Wolfson Microelectronics plc 27 #include <sound/jack.h> 71 struct snd_soc_jack *jack; member 98 regcache_mark_dirty(wm8962->regmap); \ 113 { 0, 0x009F }, /* R0 - Left Input volume */ 114 { 1, 0x049F }, /* R1 - Right Input volume */ 115 { 2, 0x0000 }, /* R2 - HPOUTL volume */ 116 { 3, 0x0000 }, /* R3 - HPOUTR volume */ [all …]
|
D | wm8962.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * wm8962.h -- WM8962 ASoC driver 1178 * R0 (0x00) - Left Input volume 1192 #define WM8962_INL_VOL_MASK 0x003F /* INL_VOL - [5:0] */ 1193 #define WM8962_INL_VOL_SHIFT 0 /* INL_VOL - [5:0] */ 1194 #define WM8962_INL_VOL_WIDTH 6 /* INL_VOL - [5:0] */ 1197 * R1 (0x01) - Right Input volume 1199 #define WM8962_CUST_ID_MASK 0xF000 /* CUST_ID - [15:12] */ 1200 #define WM8962_CUST_ID_SHIFT 12 /* CUST_ID - [15:12] */ 1201 #define WM8962_CUST_ID_WIDTH 4 /* CUST_ID - [15:12] */ [all …]
|
/linux-6.12.1/drivers/mfd/ |
D | arizona-spi.c | 1 // 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-6.12.1/sound/pci/hda/ |
D | patch_realtek.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 27 #include <sound/jack.h> 38 /* extra amp-initialization sequence types */ 147 struct alc_spec *spec = codec->spec; in coef_mutex_lock() 150 mutex_lock(&spec->coef_mutex); in coef_mutex_lock() 155 struct alc_spec *spec = codec->spec; in coef_mutex_unlock() 157 mutex_unlock(&spec->coef_mutex); in coef_mutex_unlock() 209 if (val != -1) in __alc_update_coefex_idx() 229 struct alc_spec *spec = codec->spec; in alc_get_coef0() 231 if (!spec->coef0) in alc_get_coef0() [all …]
|