| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | tlv320aic3x.txt | 1 Texas Instruments - tlv320aic3x Codec module 7 - compatible - "string" - One of: 8 "ti,tlv320aic3x" - Generic TLV320AIC3x device 9 "ti,tlv320aic33" - TLV320AIC33 10 "ti,tlv320aic3007" - TLV320AIC3007 11 "ti,tlv320aic3106" - TLV320AIC3106 12 "ti,tlv320aic3104" - TLV320AIC3104 15 - reg - <int> - I2C slave address 20 - reset-gpios - GPIO specification for the active low RESET input. 21 - ai3x-gpio-func - <array of 2 int> - AIC3X_GPIO1 & AIC3X_GPIO2 Functionality [all …]
|
| D | tlv320aic31xx.txt | 1 Texas Instruments - tlv320aic31xx Codec module 7 - compatible - "string" - One of: 8 "ti,tlv320aic310x" - Generic TLV320AIC31xx with mono speaker amp 9 "ti,tlv320aic311x" - Generic TLV320AIC31xx with stereo speaker amp 10 "ti,tlv320aic3100" - TLV320AIC3100 (mono speaker amp, no MiniDSP) 11 "ti,tlv320aic3110" - TLV320AIC3110 (stereo speaker amp, no MiniDSP) 12 "ti,tlv320aic3120" - TLV320AIC3120 (mono speaker amp, MiniDSP) 13 "ti,tlv320aic3111" - TLV320AIC3111 (stereo speaker amp, MiniDSP) 14 "ti,tlv320dac3100" - TLV320DAC3100 (no ADC, mono speaker amp, no MiniDSP) 15 "ti,tlv320dac3101" - TLV320DAC3101 (no ADC, stereo speaker amp, no MiniDSP) [all …]
|
| D | cs42l52.txt | 5 - compatible : "cirrus,cs42l52" 7 - reg : the I2C address of the device for I2C 11 - cirrus,reset-gpio : GPIO controller's phandle and the number 14 - cirrus,chgfreq-divisor : Values used to set the Charge Pump Frequency. 21 - cirrus,mica-differential-cfg : boolean, If present, then the MICA input is configured 22 as a differential input. If not present then the MICA input is configured as 23 Single-ended input. Single-ended mode allows for MIC1 or MIC2 muxing for input. 25 - cirrus,micb-differential-cfg : boolean, If present, then the MICB input is configured 26 as a differential input. If not present then the MICB input is configured as 27 Single-ended input. Single-ended mode allows for MIC1 or MIC2 muxing for input. [all …]
|
| D | cs42l56.txt | 5 - compatible : "cirrus,cs42l56" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VCP-supply, VLDO-supply : power supplies for the device, 14 - cirrus,gpio-nreset : GPIO controller's phandle and the number 17 - cirrus,chgfreq-divisor : Values used to set the Charge Pump Frequency. 24 - cirrus,ain1a-ref-cfg, ain1b-ref-cfg : boolean, If present, AIN1A or AIN1B are configured 25 as a pseudo-differential input referenced to AIN1REF/AIN3A. 27 - cirrus,ain2a-ref-cfg, ain2b-ref-cfg : boolean, If present, AIN2A or AIN2B are configured 28 as a pseudo-differential input referenced to AIN2REF/AIN3B. 30 - cirrus,micbias-lvl: Set the output voltage level on the MICBIAS Pin. [all …]
|
| D | rt5651.txt | 7 - compatible : "realtek,rt5651". 9 - reg : The I2C address of the device. 13 - realtek,in2-differential 14 Boolean. Indicate MIC2 input are differential, rather than single-ended. 16 - realtek,dmic-en 19 - realtek,jack-detect-source 21 1: Use JD1_1 pin for jack-detect 22 2: Use JD1_2 pin for jack-detect 23 3: Use JD2 pin for jack-detect 25 - realtek,jack-detect-not-inverted [all …]
|
| D | da7219.txt | 8 - compatible : Should be "dlg,da7219" 9 - reg: Specifies the I2C slave address 11 - interrupts : IRQ line info for DA7219. 12 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for 15 - VDD-supply: VDD power supply for the device 16 - VDDMIC-supply: VDDMIC power supply for the device 17 - VDDIO-supply: VDDIO power supply for the device 22 - interrupt-names : Name associated with interrupt line. Should be "wakeup" if 24 - wakeup-source: Flag to indicate this device can wake system (suspend/resume). 26 - #clock-cells : Should be set to '<1>', two clock sources provided; [all …]
|
| D | wm8994.txt | 8 - compatible : One of "wlf,wm1811", "wlf,wm8994" or "wlf,wm8958". 10 - reg : the I2C address of the device for I2C, the chip select 13 - gpio-controller : Indicates this device is a GPIO controller. 14 - #gpio-cells : Must be 2. The first cell is the pin number and the 17 - power supplies for the device, as covered in 20 - for wlf,wm1811 and wlf,wm8958: 21 AVDD1-supply, AVDD2-supply, DBVDD1-supply, DBVDD2-supply, DBVDD3-supply, 22 DCVDD-supply, CPVDD-supply, SPKVDD1-supply, SPKVDD2-supply 23 - for wlf,wm8994: 24 AVDD1-supply, AVDD2-supply, DBVDD-supply, DCVDD-supply, CPVDD-supply, [all …]
|
| D | rt5640.txt | 7 - compatible : One of "realtek,rt5640" or "realtek,rt5639". 9 - reg : The I2C address of the device. 11 - interrupts : The CODEC's interrupt output. 15 - clocks: The phandle of the master clock to the CODEC 16 - clock-names: Should be "mclk" 18 - realtek,in1-differential 19 - realtek,in2-differential 20 - realtek,in3-differential 21 Boolean. Indicate MIC1/2/3 input are differential, rather than single-ended. 23 - realtek,ldo1-en-gpios : The GPIO that controls the CODEC's LDO1_EN pin. [all …]
|
| D | wm8903.txt | 7 - compatible : "wlf,wm8903" 9 - reg : the I2C address of the device. 11 - gpio-controller : Indicates this device is a GPIO controller. 13 - #gpio-cells : Should be two. The first cell is the pin number and the 18 - interrupts : The interrupt line the codec is connected to. 20 - micdet-cfg : Default register value for R6 (Mic Bias). If absent, the 23 - micdet-delay : The debounce delay for microphone detection in mS. If 26 - gpio-cfg : A list of GPIO configuration register values. The list must 31 - AVDD-supply : Analog power supply regulator on the AVDD pin. 33 - CPVDD-supply : Charge pump supply regulator on the CPVDD pin. [all …]
|
| D | cirrus,madera.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 21 include/dt-bindings/sound/madera.h 26 '#sound-dai-cells': 33 A list of input mode settings for each input. A maximum 34 of 24 cells, with four cells per input in the order INnAL, 35 INnAR INnBL INnBR. For non-muxed inputs the first two cells 36 for that input set the mode for the left and right channel [all …]
|
| 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 '#sound-dai-cells': 27 A list of INn_MODE register values, where n is the number of input 28 signals. Valid values are 0 (Differential), 1 (Single-ended) and 31 to the number of input signals. If values less than the number of 32 input signals, elements that have not been specified are set to 0 by 35 $ref: /schemas/types.yaml#/definitions/uint32-array [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | cirrus,lochnagar.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 15 Logic devices on mini-cards, as well as allowing connection of 25 [2] include/dt-bindings/pinctrl/lochnagar.h 26 [3] include/dt-bindings/clock/lochnagar.h 28 And these documents for the required sub-node binding details: 35 - if: 39 - cirrus,lochnagar2 [all …]
|
| /kernel/linux/linux-5.10/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: 40 wlf,jd-invert: 45 wlf,micd-software-compare: [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | s5pv210-fascinate4g.dts | 1 // 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 …]
|
| D | s5pv210-galaxys.dts | 1 // 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 …]
|
| /kernel/linux/linux-5.10/include/linux/mfd/arizona/ |
| D | pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include <dt-bindings/mfd/arizona.h> 12 #include <linux/regulator/arizona-ldo1.h> 13 #include <linux/regulator/arizona-micsupp.h> 36 #define ARIZONA_GPN_FN_MASK 0x007F /* GPN_FN - [6:0] */ 37 #define ARIZONA_GPN_FN_SHIFT 0 /* GPN_FN - [6:0] */ 38 #define ARIZONA_GPN_FN_WIDTH 7 /* GPN_FN - [6:0] */ 74 int key; /** Key to report to input layer */ 147 /** Force MICBIAS on for mic detect */ 161 /** MICBIAS configurations */ [all …]
|
| /kernel/linux/linux-5.10/include/sound/ |
| D | cs42l56.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/sound/cs42l56.h -- Platform data for CS42L56 16 /* MICBIAS Level. Check datasheet Pg48 */ 19 /* Analog Input 1A Reference 0=Single 1=Pseudo-Differential */ 22 /* Analog Input 2A Reference 0=Single 1=Pseudo-Differential */ 25 /* Analog Input 1B Reference 0=Single 1=Pseudo-Differential */ 28 /* Analog Input 2B Reference 0=Single 1=Pseudo-Differential */
|
| D | madera-pdata.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2016-2019 Cirrus Logic, Inc. and 27 * @dmic_ref: Indicates how the MICBIAS pins have been externally 28 * connected to DMICs on each input. A value of 0 35 * values. Two-dimensional array 37 * input in the order
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | tlv320aic3x.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 50 /* Line1 Input control registers */ 55 /* Line2 Input control registers */ 58 /* MICBIAS Control Register */ 123 /* Class-D speaker driver on tlv320aic3007 */ 232 #define INVERT_VOL(val) (0x7f - val) 236 /* Default input volume */ 239 /* MICBIAS Control Register */ 254 * and cellular headsets (GND + speaker output + microphone input).
|
| D | ts3a227e.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/input.h> 152 if (!ts3a227e->jack) in ts3a227e_jack_report() 155 if (ts3a227e->plugged) in ts3a227e_jack_report() 157 if (ts3a227e->mic_present) in ts3a227e_jack_report() 160 if (ts3a227e->buttons_held & (1 << i)) in ts3a227e_jack_report() 163 snd_soc_jack_report(ts3a227e->jack, report, TS3A227E_JACK_MASK); in ts3a227e_jack_report() 173 ts3a227e->plugged = plugged; in ts3a227e_new_jack_state() 175 if (mic_present != ts3a227e->mic_present) { in ts3a227e_new_jack_state() 176 ts3a227e->mic_present = mic_present; in ts3a227e_new_jack_state() [all …]
|
| D | max98090.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max98090.c -- MAX98090 ALSA SoC Audio driver 5 * Copyright 2011-2012 Maxim Integrated Products 39 { 0x0D, 0x00 }, /* 0D Input Config */ 40 { 0x0E, 0x1B }, /* 0E Line Input Level */ 43 { 0x10, 0x14 }, /* 10 Mic1 Input Level */ 44 { 0x11, 0x14 }, /* 11 Mic2 Input Level */ 91 { 0x3E, 0x00 }, /* 3E Input Enable */ 280 /* Reset the codec by writing to this write-only reset register */ in max98090_reset() 281 ret = regmap_write(max98090->regmap, M98090_REG_SOFTWARE_RESET, in max98090_reset() [all …]
|
| D | wm2200.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm2200.c -- WM2200 ALSA SoC Audio driver 169 { 0x000B, 0x0000 }, /* R11 - Tone Generator 1 */ 170 { 0x0102, 0x0000 }, /* R258 - Clocking 3 */ 171 { 0x0103, 0x0011 }, /* R259 - Clocking 4 */ 172 { 0x0111, 0x0000 }, /* R273 - FLL Control 1 */ 173 { 0x0112, 0x0000 }, /* R274 - FLL Control 2 */ 174 { 0x0113, 0x0000 }, /* R275 - FLL Control 3 */ 175 { 0x0114, 0x0000 }, /* R276 - FLL Control 4 */ 176 { 0x0116, 0x0177 }, /* R278 - FLL Control 6 */ [all …]
|
| D | nau8824.c | 1 // SPDX-License-Identifier: GPL-2.0-only 34 static int quirk_override = -1; 36 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 67 /* ratio for input clk freq */ 210 ret = down_timeout(&nau8824->jd_sem, timeout); in nau8824_sema_acquire() 212 dev_warn(nau8824->dev, "Acquire semaphore timeout\n"); in nau8824_sema_acquire() 214 ret = down_interruptible(&nau8824->jd_sem); in nau8824_sema_acquire() 216 dev_warn(nau8824->dev, "Acquire semaphore fail\n"); in nau8824_sema_acquire() 224 up(&nau8824->jd_sem); in nau8824_sema_release() 303 "Off", "NC", "u-law", "A-law" }; [all …]
|
| /kernel/linux/linux-5.10/sound/soc/samsung/ |
| D | aries_wm8994.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 #include <linux/input-event-codes.h> 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() 110 /* Temporarily enable micbias and earpath selector */ in headset_det_irq_thread() 111 ret = regulator_enable(priv->reg_headset_micbias); in headset_det_irq_thread() 113 pr_err("%s failed to enable micbias: %d", __func__, ret); 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-5.10/drivers/regulator/ |
| D | lochnagar-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (c) 2017-2018 Cirrus Logic, Inc. and 49 mutex_lock(&lochnagar->analogue_config_lock); in lochnagar_micbias_enable() 58 mutex_unlock(&lochnagar->analogue_config_lock); in lochnagar_micbias_enable() 68 mutex_lock(&lochnagar->analogue_config_lock); in lochnagar_micbias_disable() 77 mutex_unlock(&lochnagar->analogue_config_lock); in lochnagar_micbias_disable() 116 struct lochnagar *lochnagar = config->driver_data; in lochnagar_micbias_of_parse() 117 int shift = (desc->id - LOCHNAGAR_MIC1VDD) * in lochnagar_micbias_of_parse() 123 ret = of_property_read_u32(np, "cirrus,micbias-input", &val); in lochnagar_micbias_of_parse() 125 mutex_lock(&lochnagar->analogue_config_lock); in lochnagar_micbias_of_parse() [all …]
|