/linux-6.14.4/sound/soc/sunxi/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 tristate "Allwinner A10 Codec Support" 10 Select Y or M to add support for the Codec embedded in the Allwinner 14 tristate "Allwinner SUN8I audio codec" 20 This option enables the digital part of the internal audio codec for 23 Say Y or M if you want to add sun8i digital audio codec support. 26 tristate "Allwinner sun8i Codec Analog Controls Support" 30 Say Y or M if you want to add support for the analog controls for 31 the codec embedded in newer Allwinner SoCs. 34 tristate "Allwinner sun50i Codec Analog Controls Support" [all …]
|
D | sun4i-codec.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2015 Maxime Ripard <maxime.ripard@free-electrons.com> 7 * Copyright 2016 Chen-Yu Tsai <[email protected]> 32 /* Codec DAC digital controls and FIFO registers */ 50 /* Codec DAC side analog signal controls */ 76 /* Codec ADC digital controls and FIFO registers */ 89 /* Codec ADC side analog signal controls */ 112 /* Microphone controls (sun7i only) */ 122 * but only the DAC digital controls are at the same offset. The others 123 * have been moved around to accommodate extra analog controls. [all …]
|
D | sun8i-codec-analog.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * This driver supports the analog controls for the internal codec 6 * Copyright 2016 Chen-Yu Tsai <[email protected]> 17 #include <sound/soc-dapm.h> 20 #include "sun8i-adda-pr-regmap.h" 22 /* Codec analog control register offsets and bit fields */ 115 /* mixer controls */ 139 /* mixer controls */ 155 /* ADC mixer controls */ 179 /* ADC mixer controls */ [all …]
|
D | sun50i-codec-analog.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * This driver supports the analog controls for the internal codec 6 * Copyright (C) 2016 Chen-Yu Tsai <[email protected]> 10 * Based on sun8i-codec-analog.c 22 #include <sound/soc-dapm.h> 25 #include "sun8i-adda-pr-regmap.h" 27 /* Codec analog control register offsets and bit fields */ 129 /* mixer controls */ 153 /* ADC mixer controls */ 178 -450, 150, 0); [all …]
|
/linux-6.14.4/Documentation/sound/hd-audio/ |
D | controls.rst | 2 HD-Audio Codec-Specific Mixer Controls 6 This file explains the codec-specific mixer controls. 9 -------------- 12 This is an enum control to change the surround-channel setup, 15 and "8ch". According to the configuration, this also controls the 16 jack-retasking of multi-I/O jacks. 18 Auto-Mute Mode 19 This is an enum control to change the auto-mute behavior of the 20 headphone and line-out jacks. If built-in speakers and headphone 21 and/or line-out jacks are available on a machine, this controls [all …]
|
D | notes.rst | 2 More Notes on HD-Audio Driver 11 HD-audio is the new standard on-board audio component on modern PCs 12 after AC97. Although Linux has been supporting HD-audio since long 15 This document explains the brief trouble-shooting and debugging 16 methods for the HD-audio hardware. 18 The HD-audio component consists of two parts: the controller chip and 19 the codec chips on the HD-audio bus. Linux provides a single driver 20 for all controllers, snd-hda-intel. Although the driver name contains 21 a word of a well-known hardware vendor, it's not specific to it but for 22 all controller chips by other companies. Since the HD-audio [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/sound/ |
D | allwinner,sun4i-a10-codec.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/allwinner,sun4i-a10-codec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A10 Codec 10 - Chen-Yu Tsai <[email protected]> 11 - Maxime Ripard <[email protected]> 14 "#sound-dai-cells": 19 - allwinner,sun4i-a10-codec 20 - allwinner,sun6i-a31-codec [all …]
|
D | realtek,rt5682s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Realtek rt5682s codec 10 - Derek Fang <[email protected]> 13 Rt5682s(ALC5682I-VS) is a rt5682i variant which supports I2C only. 16 - $ref: dai-common.yaml# 28 description: The CODEC's interrupt output. 30 realtek,dmic1-data-pin: 33 - 0 # dmic1 data is not used [all …]
|
/linux-6.14.4/Documentation/sound/soc/ |
D | dapm.rst | 11 management frameworks and, as such, can easily co-exist with them. 29 different components (e.g. the LINE OUT pin of a CODEC and the input pin of 32 The graph for the STM32MP1-DK1 sound card is shown in picture: 34 .. kernel-figure:: dapm-graph.svg 39 `tools/sound/dapm-graph` utility. 46 Codec bias domain 47 VREF, VMID (core codec and audio power) 49 Usually controlled at codec probe/remove and suspend/resume, although 78 Mixes several analog signals into a single analog signal. 80 An analog switch that outputs only one of many inputs. [all …]
|
/linux-6.14.4/sound/pci/oxygen/ |
D | oxygen_mixer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * C-Media CMI8788 driver - mixer code 19 struct oxygen *chip = ctl->private_data; in dac_volume_info() 21 info->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in dac_volume_info() 22 info->count = chip->model.dac_channels_mixer; in dac_volume_info() 23 info->value.integer.min = chip->model.dac_volume_min; in dac_volume_info() 24 info->value.integer.max = chip->model.dac_volume_max; in dac_volume_info() 31 struct oxygen *chip = ctl->private_data; in dac_volume_get() 34 mutex_lock(&chip->mutex); in dac_volume_get() 35 for (i = 0; i < chip->model.dac_channels_mixer; ++i) in dac_volume_get() [all …]
|
/linux-6.14.4/sound/soc/rockchip/ |
D | rockchip_max98090.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Rockchip machine ASoC driver for boards using a MAX90809 CODEC. 21 #define DRV_NAME "rockchip-snd-max98090" 111 struct snd_soc_dapm_context *dapm = &jack->card->dapm; in rk_jack_event() 167 return -EINVAL; in rk_aif1_hw_params() 173 dev_err(cpu_dai->dev, "Can't set cpu dai clock %d\n", ret); in rk_aif1_hw_params() 180 /* HDMI codec dai does not need to set sysclk. */ in rk_aif1_hw_params() 181 if (!strcmp(rtd->dai_link->name, "HDMI")) in rk_aif1_hw_params() 185 dev_err(codec_dai->dev, "Can't set codec dai clock %d\n", ret); in rk_aif1_hw_params() 198 return snd_pcm_hw_constraint_minmax(substream->runtime, in rk_aif1_startup() [all …]
|
D | rk3288_hdmi_analog.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Rockchip machine ASoC driver for RK3288 boards that have an HDMI and analog 21 #include <sound/soc-dapm.h> 25 #define DRV_NAME "rk3288-snd-hdmi-analog" 34 struct rk_drvdata *machine = snd_soc_card_get_drvdata(w->dapm->card); in rk_hp_power() 36 gpiod_set_value_cansleep(machine->gpio_hp_en, in rk_hp_power() 45 .pin = "Analog", 51 SND_SOC_DAPM_HP("Analog", rk_hp_power), 56 SOC_DAPM_PIN_SWITCH("Analog"), 89 return -EINVAL; in rk_hw_params() [all …]
|
/linux-6.14.4/sound/soc/codecs/ |
D | hdac_hda.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright(c) 2015-18 Intel Corporation. 5 * hdac_hda.c - ASoC extensions to reuse the legacy HDA codec drivers 7 * codec drivers using hdac_ext_bus_ops ops. 43 …ESC(patch, "Patch file array for Intel HD audio interface. The array index is the codec address."); 74 .name = "Analog Codec DAI", 77 .stream_name = "Analog Codec Playback", 85 .stream_name = "Analog Codec Capture", 95 .name = "Digital Codec DAI", 98 .stream_name = "Digital Codec Playback", [all …]
|
D | twl4030.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ALSA SoC TWL4030 codec driver 28 #include <linux/mfd/twl4030-audio.h> 45 /* codec private data */ 67 u8 ctl_cache[TWL4030_REG_PRECKR_CTL - TWL4030_REG_EAR_CTL + 1]; 79 twl4030->ctl_cache[i - TWL4030_REG_EAR_CTL] = byte; in tw4030_init_ctl_cache() 89 return -EIO; in twl4030_read() 98 value = twl4030->ctl_cache[reg - TWL4030_REG_EAR_CTL]; in twl4030_read() 116 if (twl4030->earpiece_enabled) in twl4030_can_write_to_chip() 120 if (twl4030->predrivel_enabled) in twl4030_can_write_to_chip() [all …]
|
D | hda.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright(c) 2021-2022 Intel Corporation 16 static int hda_codec_create_dais(struct hda_codec *codec, int pcm_count, in hda_codec_create_dais() argument 19 struct device *dev = &codec->core.dev; in hda_codec_create_dais() 26 return -ENOMEM; in hda_codec_create_dais() 28 pcm = list_first_entry(&codec->pcm_list_head, struct hda_pcm, list); in hda_codec_create_dais() 34 dev_info(dev, "creating for %s %d\n", pcm->name, i); in hda_codec_create_dais() 36 drvs[i].name = pcm->name; in hda_codec_create_dais() 41 if (!pcm->stream[dir].substreams) { in hda_codec_create_dais() 42 dev_info(dev, "skipping playback dai for %s\n", pcm->name); in hda_codec_create_dais() [all …]
|
D | ak4619.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ak4619.c -- Asahi Kasei ALSA SoC Audio driver 40 #define ADC_AI 0x0b /* ADC Analog Input Setting */ 47 #define DAC_DEMP 0x13 /* DAC De-Emphasis Setting */ 99 /* Analog Input Select */ 126 /* DAC De-Emphasis Setting */ 151 /* Codec private data */ 165 * min : 0xFE : -115.0 dB 168 static const DECLARE_TLV_DB_SCALE(dac_tlv, -11550, 50, 1); 175 * min: 0x00 : -6.0 dB [all …]
|
/linux-6.14.4/Documentation/sound/cards/ |
D | sb-live-mixer.rst | 19 (index 0) for a given card) allows to forward 48kHz, stereo, 16-bit 22 to 8 raw PCM devices operating at 48kHz, 16-bit little endian. It would 24 but the conversion routines exist only for stereo (2-channel streams) 30 Digital mixer controls 33 These controls are built using the DSP instructions. They offer extended 34 functionality. Only the default built-in code in the ALSA driver is described 35 here. Note that the controls work as attenuators: the maximum value is the 37 is mentioned in multiple controls, the signal is accumulated and can be clipped 44 digital to analog converter 46 analog to digital converter [all …]
|
D | maya44.rst | 8 keep here as reference -- tiwai 22 … programming information, so I (Rainer Zimmermann) had to find out some card-specific information … 24 This is the first testing version of the Maya44 driver released to the alsa-devel mailing list (Feb… 29 - playback and capture at all sampling rates 30 - input/output level 31 - crossmixing 32 - line/mic switch 33 - phantom power switch 34 - analogue monitor a.k.a bypass 39 - Channel 3+4 analogue - S/PDIF input switching [all …]
|
/linux-6.14.4/sound/pci/hda/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "HD-Audio" 23 This option enables the HD-audio controller. Don't forget 24 to choose the appropriate codec options below. 27 will be called snd-hda-intel. 43 will be called snd-hda-tegra. 48 bool "Build hwdep interface for HD-audio driver" 51 Say Y here to build a hwdep interface for HD-audio driver. 52 This interface can be used for out-of-band communication 56 bool "Allow dynamic codec reconfiguration" [all …]
|
D | hda_generic.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Generic BIOS auto-parser helper functions for HD-audio 16 /* table entry for multi-io paths */ 18 hda_nid_t pin; /* multi-io widget pin NID */ 20 unsigned int ctl_in; /* cached input-pin control value */ 25 * For output, stored in the order of DAC -> ... -> pin, 26 * for input, pin -> ... -> ADC. 30 * multi[] indicates whether it's a selector widget with multi-connectors 56 /* mic/line-in auto switching entry */ 62 int idx; /* imux index, -1 = invalid */ [all …]
|
/linux-6.14.4/sound/soc/intel/boards/ |
D | cht_bsw_rt5645.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cht-bsw-rt5645.c - ASoc Machine driver for Intel Cherryview-based platforms 4 * Cherrytrail and Braswell, with RT5645 codec. 25 #include <sound/soc-acpi.h> 27 #include "../atom/sst-atom-controls.h" 28 #include "../common/soc-intel-quirks.h" 31 #define CHT_CODEC_DAI1 "rt5645-aif1" 32 #define CHT_CODEC_DAI2 "rt5645-aif2" 69 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control() 70 struct snd_soc_card *card = dapm->card; in platform_clock_control() [all …]
|
/linux-6.14.4/include/sound/ |
D | ac97_codec.h | 1 /* SPDX-License-Identifier: GPL-2.0+ 4 * Universal interface for Audio Codec '97 24 /* specific - SigmaTel */ 28 #define AC97_SIGMATEL_ANALOG 0x6c /* Analog Special */ 33 #define AC97_SIGMATEL_MULTICHN 0x74 /* Multi-Channel programming */ 37 /* specific - Analog Devices */ 41 #define AC97_AD_CODEC_CFG 0x70 /* codec configuration */ 47 /* specific - Cirrus Logic */ 56 /* specific - Conexant */ 64 /* specific - ALC */ [all …]
|
/linux-6.14.4/arch/arm/boot/dts/allwinner/ |
D | sun8i-a23.dtsi | 2 * Copyright 2014 Chen-Yu Tsai 4 * Chen-Yu Tsai <[email protected]> 6 * This file is dual-licensed: you can use it either under the terms 45 #include "sun8i-a23-a33.dtsi" 49 codec: codec@1c22c00 { label 50 #sound-dai-cells = <0>; 51 compatible = "allwinner,sun8i-a23-codec"; 55 clock-names = "apb", "codec"; 58 dma-names = "rx", "tx"; 59 allwinner,codec-analog-controls = <&codec_analog>; [all …]
|
/linux-6.14.4/drivers/regulator/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 managed regulators and simple non-configurable regulators. 44 current regulator API which provides sysfs controls for 64 the netlink mechanism. User-space applications can subscribe to these events 65 for real-time updates on various regulator events. 75 They provide two I2C-controlled DC/DC step-down converters with 101 tristate "Active-semi act8865 voltage regulator" 106 This driver controls a active-semi act8865 voltage output 110 tristate "Active-semi ACT8945A voltage regulator" 113 This driver controls a active-semi ACT8945A voltage regulator [all …]
|
/linux-6.14.4/sound/aoa/codecs/ |
D | onyx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Apple Onboard Audio driver for Onyx codec 7 * This is a driver for the pcm3052 codec chip (codenamed Onyx) 10 * The Onyx codec has the following connections (listed by the bit 12 * 0: analog output 17 * the digital output connected but not the analog, I have handled 24 * But snd-aoa assumes that there's at most one card, so 37 MODULE_DESCRIPTION("pcm3052 (onyx) codec driver for snd-aoa"); 44 #define PFX "snd-aoa-codec-onyx: " 47 /* cache registers 65 to 80, they are write-only! */ [all …]
|