/Linux-v6.1/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 | 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,wm8903.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 27 * MICBIAS 30 - patches@opensource.cirrus.com 39 gpio-controller: true 40 '#gpio-cells': 46 micdet-cfg: 51 micdet-delay: 56 gpio-cfg: [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 …]
|
/Linux-v6.1/include/dt-bindings/sound/ |
D | tlv320adc3xxx.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 11 #define ADC3XXX_GPIO_INPUT 1 /* Various non-GPIO inputs */ 12 #define ADC3XXX_GPIO_GPI 2 /* General purpose input */ 21 /* values 11-15 reserved */ 23 #define ADC3XXX_MICBIAS_OFF 0 /* Micbias pin powered off */ 24 #define ADC3XXX_MICBIAS_2_0V 1 /* Micbias pin set to 2.0V */ 25 #define ADC3XXX_MICBIAS_2_5V 2 /* Micbias pin set to 2.5V */ 26 #define ADC3XXX_MICBIAS_AVDD 3 /* Use AVDD voltage for micbias pin */
|
/Linux-v6.1/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 …]
|
/Linux-v6.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: 40 wlf,jd-invert: 45 wlf,micd-software-compare: [all …]
|
/Linux-v6.1/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"; 11 chassis-type = "handset"; 14 stdout-path = &uart2; 17 gpio-keys { 18 compatible = "gpio-keys"; [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"; 11 chassis-type = "handset"; 14 stdout-path = &uart2; 17 nand_pwrseq: nand-pwrseq { 18 compatible = "mmc-pwrseq-simple"; [all …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/sound/soc/codecs/ |
D | nau8821.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // nau8821.c -- Nuvoton NAU88L21 audio codec driver 7 // Co-author: Seven Lee <wtli@nuvoton.com> 71 /* ratio for input clk freq */ 277 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in nau8821_biq_coeff_get() 279 if (!component->regmap) in nau8821_biq_coeff_get() 280 return -EINVAL; in nau8821_biq_coeff_get() 282 regmap_raw_read(component->regmap, NAU8821_R21_BIQ0_COF1, in nau8821_biq_coeff_get() 283 ucontrol->value.bytes.data, params->max); in nau8821_biq_coeff_get() 292 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in nau8821_biq_coeff_put() [all …]
|
D | tlv320adc3xxx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 // Copyright (C) 2014-2018, Ambarella, Inc. 15 #include <dt-bindings/sound/tlv320adc3xxx.h> 34 #include <sound/soc-dapm.h> 59 * Setting the clock source using simple-card (clocks or 60 * system-clock-frequency property) sets clk_id = 0 = ADC3XXX_PLL_AUTO. 78 /* 2-3 Reserved */ 86 /* 9-17 Reserved */ 93 /* 23-24 Reserved */ 109 /* 39-41 Reserved */ [all …]
|
D | tlv320aic3x.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 63 /* Line1 Input control registers */ 68 /* Line2 Input control registers */ 71 /* MICBIAS Control Register */ 136 /* Class-D speaker driver on tlv320aic3007 */ 245 #define INVERT_VOL(val) (0x7f - val) 249 /* Default input volume */ 252 /* MICBIAS Control Register */ 267 * and cellular headsets (GND + speaker output + microphone input).
|
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 …]
|
/Linux-v6.1/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
|
/Linux-v6.1/arch/arm64/boot/dts/mediatek/ |
D | mt8183-kukui-audio-da7219.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 10 pinctrl-names = "default"; 11 pinctrl-0 = <&da7219_pins>; 14 interrupt-parent = <&pio>; 17 dlg,micbias-lvl = <2600>; 18 dlg,mic-amp-in-sel = "diff"; 19 VDD-supply = <&pp1800_alw>; 20 VDDMIC-supply = <&pp3300_alw>; 21 VDDIO-supply = <&pp1800_alw>; 26 dlg,adc-1bit-rpt = <1>; [all …]
|
/Linux-v6.1/sound/soc/samsung/ |
D | aries_wm8994.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 #include <linux/input-event-codes.h> 99 if (!gpiod_get_value(priv->gpio_headset_detect)) { in headset_det_irq_thread() 102 gpiod_set_value(priv->gpio_earpath_sel, 0); in headset_det_irq_thread() 106 time_left_ms -= 20; in headset_det_irq_thread() 109 /* Temporarily enable micbias and earpath selector */ in headset_det_irq_thread() 110 ret = regulator_enable(priv->reg_headset_micbias); in headset_det_irq_thread() 112 pr_err("%s failed to enable micbias: %d", __func__, ret); in headset_det_irq_thread() 114 gpiod_set_value(priv->gpio_earpath_sel, 1); in headset_det_irq_thread() 116 ret = iio_read_channel_processed(priv->adc, &adc); in headset_det_irq_thread() [all …]
|