/Linux-v5.10/Documentation/devicetree/bindings/sound/ |
D | samsung,aries-wm8994.yaml | 1 # 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 …]
|
D | nvidia,tegra-audio-wm8903.txt | 4 - 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 …]
|
D | sirf-audio.txt | 4 - 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 …]
|
D | cs42l42.txt | 5 - 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 …]
|
/Linux-v5.10/arch/arm/boot/dts/ |
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 …]
|
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"; 21 gpios = <&gph2 6 GPIO_ACTIVE_LOW>; [all …]
|
D | omap4-duovero.dtsi | 1 // 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 …]
|
D | tegra20-acer-a500-picasso.dts | 1 // 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 "tegra20-cpu-opp.dtsi" 10 #include "tegra20-cpu-opp-microvolt.dtsi" 31 * pre-existing /chosen node to be available to insert the 40 reserved-memory { 41 #address-cells = <1>; [all …]
|
/Linux-v5.10/sound/soc/intel/boards/ |
D | bytcr_rt5651.c | 1 // 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 …]
|
D | cht_bsw_rt5672.c | 1 // 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 …]
|
D | cht_bsw_max98090_ti.c | 1 // 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 …]
|
D | bytcht_es8316.c | 1 // 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 */ 55 static int quirk_override = -1; 57 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 76 struct snd_soc_card *card = w->dapm->card; in byt_cht_es8316_speaker_power_event() [all …]
|
/Linux-v5.10/sound/soc/ti/ |
D | omap-twl4030.c | 1 // 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-v5.10/Documentation/driver-api/gpio/ |
D | drivers-on-gpio.rst | 6 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-v5.10/sound/soc/tegra/ |
D | tegra_wm8903.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * tegra_wm8903.c - Tegra machine ASoC driver for boards using WM8903 codec. 6 * Copyright (C) 2010-2012 - NVIDIA, Inc. 33 #define DRV_NAME "tegra-snd-wm8903" 49 struct snd_soc_card *card = rtd->card; in tegra_wm8903_hw_params() 69 err = tegra_asoc_utils_set_rate(&machine->util_data, srate, mclk); in tegra_wm8903_hw_params() 71 dev_err(card->dev, "Can't configure clocks\n"); in tegra_wm8903_hw_params() 78 dev_err(card->dev, "codec_dai clock not set\n"); in tegra_wm8903_hw_params() 99 .name = "headphone detect", 117 struct snd_soc_dapm_context *dapm = w->dapm; in tegra_wm8903_event_int_spk() [all …]
|
/Linux-v5.10/sound/pci/hda/ |
D | patch_realtek.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 32 /* extra amp-initialization sequence types */ 165 if (val != -1) in alc_update_coefex_idx() 176 struct alc_spec *spec = codec->spec; in alc_get_coef0() 178 if (!spec->coef0) in alc_get_coef0() 179 spec->coef0 = alc_read_coef_idx(codec, 0); in alc_get_coef0() 180 return spec->coef0; in alc_get_coef0() 193 #define WRITE_COEFEX(_nid, _idx, _val) UPDATE_COEFEX(_nid, _idx, -1, _val) 200 for (; fw->nid; fw++) { in alc_process_coef_fw() 201 if (fw->mask == (unsigned short)-1) in alc_process_coef_fw() [all …]
|
/Linux-v5.10/arch/arm64/boot/dts/rockchip/ |
D | rk3399-gru.dtsi | 1 // 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" 14 stdout-path = "serial2:115200n8"; 23 * - Rails that only connect to the EC (or devices that the EC talks to) 25 * - Rails _are_ included if the rails go to the AP even if the AP 34 * - The EC controls the enable and the EC always enables a rail as 36 * - The rails are actually connected to each other by a jumper and 41 ppvar_sys: ppvar-sys { [all …]
|
/Linux-v5.10/arch/arm/mach-pxa/ |
D | magician.c | 1 // 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> 33 #include <asm/mach-types.h> 39 #include <linux/platform_data/video-pxafb.h> [all …]
|
/Linux-v5.10/sound/soc/codecs/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 5 # setting - SPI can't be modular so that case doesn't need to be covered. 386 tristate "Analog Devices AU1761 CODEC - I2C" 392 tristate "Analog Devices AU1761 CODEC - SPI" 429 tristate "Analog Devices ADAU7002 Stereo PDM-to-I2S/TDM Converter" 435 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - HW Mode" 438 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM 444 will be called snd-soc-adau7118-hw. 447 tristate "Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM Converter - I2C" 452 Enable support for the Analog Devices ADAU7118 8 Channel PDM-to-I2S/TDM [all …]
|
D | rt5640.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5640.c -- RT5640/RT5639 ALSA SoC audio codec driver 28 #include <sound/soc-dapm.h> 341 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 342 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -65625, 375, 0); 343 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 344 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -17625, 375, 0); 452 * set_dmic_clk - Set parameter of dmic. 462 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() 466 rate = rt5640->sysclk / rl6231_get_pre_div(rt5640->regmap, in set_dmic_clk() [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 90 { 0x3D, 0x00 }, /* 3D Jack Detect */ 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() 284 dev_err(max98090->component->dev, in max98090_reset() 301 -600, 600, 0); 304 0, 3, TLV_DB_SCALE_ITEM(-600, 300, 0), 309 static const DECLARE_TLV_DB_SCALE(max98090_av_tlv, -1200, 100, 0); [all …]
|
D | rt5668.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5668.c -- RT5668B ALSA SoC audio component driver 27 #include <sound/soc-dapm.h> 746 static const DECLARE_TLV_DB_SCALE(hp_vol_tlv, -2250, 150, 0); 747 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -65625, 375, 0); 748 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -17625, 375, 0); 803 * rt5668_sel_asrc_clk_src - select ASRC clock source for a set of filters 827 return -EINVAL; in rt5668_sel_asrc_clk_src() 887 * rt5668_headset_detect - Detect headset. 891 * Detect whether is headset or not when jack inserted. [all …]
|
D | rt5682.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // rt5682.c -- RT5682 ALSA SoC audio component driver 26 #include <sound/soc-dapm.h> 53 ret = regmap_multi_reg_write(rt5682->regmap, patch_list, in rt5682_apply_patch_list() 742 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -6525, 75, 0); 743 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -1725, 75, 0); 810 regmap_write(rt5682->regmap, RT5682_RESET, 0); in rt5682_reset() 811 if (!rt5682->is_sdw) in rt5682_reset() 812 regmap_write(rt5682->regmap, RT5682_I2C_MODE, 1); in rt5682_reset() 817 * rt5682_sel_asrc_clk_src - select ASRC clock source for a set of filters [all …]
|
D | rt5677.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5677.c -- RT5677 ALSA SoC audio codec driver 31 #include <sound/soc-dapm.h> 37 #include "rt5677-spi.h" 554 * rt5677_dsp_mode_i2c_write_addr - Write value to address on DSP mode. 565 struct snd_soc_component *component = rt5677->component; in rt5677_dsp_mode_i2c_write_addr() 568 mutex_lock(&rt5677->dsp_cmd_lock); in rt5677_dsp_mode_i2c_write_addr() 570 ret = regmap_write(rt5677->regmap_physical, RT5677_DSP_I2C_ADDR_MSB, in rt5677_dsp_mode_i2c_write_addr() 573 dev_err(component->dev, "Failed to set addr msb value: %d\n", ret); in rt5677_dsp_mode_i2c_write_addr() 577 ret = regmap_write(rt5677->regmap_physical, RT5677_DSP_I2C_ADDR_LSB, in rt5677_dsp_mode_i2c_write_addr() [all …]
|
D | wm8996.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8996.c - WM8996 audio codec interface 5 * Copyright 2011-2 Wolfson Microelectronics PLC. 108 regcache_mark_dirty(wm8996->regmap); \ 299 static const DECLARE_TLV_DB_SCALE(sidetone_tlv, -3600, 150, 0); 300 static const DECLARE_TLV_DB_SCALE(digital_tlv, -7200, 75, 1); 301 static const DECLARE_TLV_DB_SCALE(out_digital_tlv, -1200, 150, 0); 302 static const DECLARE_TLV_DB_SCALE(out_tlv, -900, 75, 0); 303 static const DECLARE_TLV_DB_SCALE(spk_tlv, -900, 150, 0); 304 static const DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0); [all …]
|