/linux/sound/pci/hda/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "HD-Audio" 15 tristate "HD Audio PCI" 21 Audio" (Azalia) and its compatible devices. 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. 30 tristate "NVIDIA Tegra HD Audio" 38 This options enables support for the HD Audio controller 39 present in some NVIDIA Tegra SoCs, used to communicate audio [all …]
|
/linux/sound/soc/codecs/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # modular, meaning we can't build the codec driver in with I2C support. 5 # setting - SPI can't be modular so that case doesn't need to be covered. 12 menu "CODEC drivers" 15 tristate "Build all ASoC CODEC drivers" 365 Normally ASoC codec drivers are only built if a machine driver which 429 tristate "Build generic ASoC AC97 CODEC driver" 466 tristate "Analog Devices ADAU1372 CODEC (I2C)" 472 tristate "Analog Devices ADAU1372 CODEC (SPI)" 478 tristate "Analog Devices ADAU1373 CODEC" [all …]
|
/linux/Documentation/sound/soc/ |
H A D | overview.rst | 6 provide better ALSA support for embedded system-on-chip processors (e.g. 7 pxa2xx, au1x00, iMX, etc) and portable audio codecs. Prior to the ASoC 8 subsystem there was some support in the kernel for SoC audio, however it 9 had some limitations:- 11 * Codec drivers were often tightly coupled to the underlying SoC 12 CPU. This is not ideal and leads to code duplication - for example, 15 * There was no standard method to signal user initiated audio events (e.g. 18 machine specific code to re-route audio, enable amps, etc., after such an 21 * Drivers tended to power up the entire codec when playing (or 22 recording) audio. This is fine for a PC, but tends to waste a lot of [all …]
|
H A D | codec.rst | 2 ASoC Codec Class Driver 5 The codec class driver is generic and hardware independent code that configures 6 the codec, FM, MODEM, BT or external DSP to provide audio capture and playback. 11 Each codec class driver *must* provide the following features:- 13 1. Codec DAI and PCM configuration 14 2. Codec control IO - using RegMap API 15 3. Mixers and audio controls 16 4. Codec audio operations 20 Optionally, codec drivers can also provide:- 24 Its probably best to use this guide in conjunction with the existing codec [all …]
|
/linux/sound/soc/intel/boards/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 has an audio controller with a DSP and I2S or DMIC port, then 50 tristate "Haswell with RT5640 I2S codec" 56 This adds support for the Lynxpoint Audio DSP on Intel(R) Haswell 66 tristate "Broadwell with RT5650 codec" 73 the RT5650 codec. 78 tristate "Broadwell with RT5677 codec" 89 the RT5677 audio codec. This is a recommended option. 94 tristate "Broadwell with RT286 I2S codec" 100 This adds support for the Wilcatpoint Audio DSP on Intel(R) Broadwell [all …]
|
/linux/sound/soc/tegra/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "SoC Audio for the Tegra System-on-Chip" 10 Say Y or M here if you want support for SoC audio on Tegra. 63 Config to enable Audio Hub (AHUB) module, which comprises of a 64 switch called Audio Crossbar (AXBAR) used to configure or modify 65 the audio routing path between various HW accelerators present in 83 Config to enable the Inter-IC Sound (I2S) Controller which 84 implements full-duplex and bidirectional and single direction 85 point-to-point serial interfaces. It can interface with I2S 114 converts the multi-bit Pulse Code Modulation (PCM) audio input to [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | rockchip-max98090.txt | 1 ROCKCHIP with MAX98090 CODEC 4 - compatible: "rockchip,rockchip-audio-max98090" 5 - rockchip,model: The user-visible name of this sound complex 6 - rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's 7 connected to the CODEC 10 - rockchip,audio-codec: The phandle of the MAX98090 audio codec. 11 - rockchip,headset-codec: The phandle of Ext chip for jack detection. This is 12 required if there is rockchip,audio-codec. 13 - rockchip,hdmi-codec: The phandle of HDMI device for HDMI codec. 17 /* For max98090-only board. */ [all …]
|
H A D | ti,j721e-cpb-ivi-audio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 --- 6 $id: http://devicetree.org/schemas/sound/ti,j721e-cpb-ivi-audio.yaml# 7 $schema: http://devicetree.org/meta-schemas/core.yaml# 9 title: Texas Instruments J721e Common Processor Board Audio Support 12 - Peter Ujfalusi <peter.ujfalusi@gmail.com> 16 extension board is extending the CPB audio support, described in: 17 sound/ti,j721e-cpb-audio.txt 19 The audio support on the Infotainment Expansion Board consists of McASP0 28 Note: the same PLL4 and PLL15 is used by the audio support on the CPB! [all …]
|
H A D | davinci-evm-audio.txt | 1 * Texas Instruments SoC audio setups with TLV320AIC3X Codec 4 - compatible : "ti,da830-evm-audio" : forDM365/DA8xx/OMAPL1x/AM33xx 5 - ti,model : The user-visible name of this sound complex. 6 - ti,audio-codec : The phandle of the TLV320AIC3x audio codec 7 - ti,mcasp-controller : The phandle of the McASP controller 8 - ti,audio-routing : A list of the connections between audio components. 11 sinks are the codec's pins, and the jacks on the board: 14 - ti,codec-clock-rate : The Codec Clock rate (in Hz) applied to the Codec. 15 - clocks : Reference to the master clock 16 - clock-names : The clock should be named "mclk" [all …]
|
H A D | ti,j721e-cpb-audio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 --- 6 $id: http://devicetree.org/schemas/sound/ti,j721e-cpb-audio.yaml# 7 $schema: http://devicetree.org/meta-schemas/core.yaml# 9 title: Texas Instruments J721e Common Processor Board Audio Support 12 - Peter Ujfalusi <peter.ujfalusi@gmail.com> 15 The audio support on the board is using pcm3168a codec connected to McASP10 25 PLL4 ---> PLL4_HSDIV0 ---> MCASP10_AUXCLK ---> McASP10.auxclk 26 |-> PLL4_HSDIV2 ---> AUDIO_REFCLK2 ---> pcm3168a.SCKI 29 PLL15 ---> PLL15_HSDIV0 ---> MCASP10_AUXCLK ---> McASP10.auxclk [all …]
|
H A D | atmel,asoc-wm8904.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/atmel,asoc-wm8904.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Atmel wm8904 audio codec complex 10 - Dharma Balasubiramani <dharma.b@microchip.com> 13 The ASoC audio complex configuration for Atmel with WM8904 audio codec. 17 const: atmel,asoc-wm8904 21 description: The user-visible name of this sound complex. 23 atmel,ssc-controller: [all …]
|
H A D | atmel,sam9x5-wm8731-audio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/atmel,sam9x5-wm8731-audio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Atmel at91sam9x5ek wm8731 audio complex 10 - Dharma Balasubiramani <dharma.b@microchip.com> 13 The audio complex configuration for Atmel at91sam9x5ek with WM8731 audio codec. 17 const: atmel,sam9x5-wm8731-audio 21 description: The user-visible name of this sound complex. 23 atmel,ssc-controller: [all …]
|
H A D | fsl,imx-audio-es8328.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/fsl,imx-audio-es8328.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale i.MX audio complex with ES8328 codec 10 - Shawn Guo <shawnguo@kernel.org> 11 - Sascha Hauer <s.hauer@pengutronix.de> 14 - $ref: sound-card-common.yaml# 18 const: fsl,imx-audio-es8328 22 description: The user-visible name of this sound complex [all …]
|
H A D | samsung,snow.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: Google Snow audio complex with MAX9809x codec 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 16 - google,snow-audio-max98090 17 - google,snow-audio-max98091 18 - google,snow-audio-max98095 20 codec: [all …]
|
H A D | sirf-audio.txt | 1 * SiRF atlas6 and prima2 internal audio codec and port based audio setups 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: 24 SiRF internal audio codec pins: 34 compatible = "sirf,sirf-audio-card"; [all …]
|
H A D | samsung,odroid.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung Exynos Odroid XU3/XU4 audio complex with MAX98090 codec 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 14 - $ref: sound-card-common.yaml# 19 - const: hardkernel,odroid-xu3-audio 21 - const: hardkernel,odroid-xu4-audio 24 - const: samsung,odroid-xu3-audio [all …]
|
H A D | mt2701-cs42448.txt | 1 MT2701 with CS42448 CODEC 4 - compatible: "mediatek,mt2701-cs42448-machine" 5 - mediatek,platform: the phandle of MT2701 ASoC platform 6 - audio-routing: a list of the connections between audio 7 - mediatek,audio-codec: the phandles of cs42448 codec 8 - mediatek,audio-codec-bt-mrg the phandles of bt-sco dummy codec 9 - pinctrl-names: Should contain only one value - "default" 10 - pinctrl-0: Should specify pin control groups used for this controller. 11 - i2s1-in-sel-gpio1, i2s1-in-sel-gpio2: Should specify two gpio pins to 12 control I2S1-in mux. [all …]
|
H A D | st,sti-asoc-card.txt | 3 The sti ASoC Sound Card can be used, for all sti SoCs using internal sti-sas 4 codec or external codecs. 6 sti sound drivers allows to expose sti SoC audio interface through the 8 Documentation/devicetree/bindings/sound/simple-card.yaml. 10 1) sti-uniperiph-dai: audio dai device. 11 --------------------------------------- 14 - compatible: "st,stih407-uni-player-hdmi", "st,stih407-uni-player-pcm-out", 15 "st,stih407-uni-player-dac", "st,stih407-uni-player-spdif", 16 "st,stih407-uni-reader-pcm_in", "st,stih407-uni-reader-hdmi", 18 - st,syscfg: phandle to boot-device system configuration registers [all …]
|
H A D | samsung,tm2.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: Samsung Exynos5433 TM2(E) audio complex with WM5110 codec 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 14 - $ref: sound-card-common.yaml# 18 const: samsung,tm2-audio 20 audio-amplifier: 24 audio-codec: [all …]
|
H A D | mt8195-mt6359.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/mt8195-mt6359.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Trevor Wu <trevor.wu@mediatek.com> 16 - $ref: sound-card-common.yaml# 21 - mediatek,mt8195_mt6359_rt1019_rt5682 22 - mediatek,mt8195_mt6359_rt1011_rt5682 23 - mediatek,mt8195_mt6359_max98390_rt5682 24 - mediatek,mt8195_mt6359 [all …]
|
/linux/sound/soc/mediatek/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 17 tristate "ASoc Audio driver for MT2701 with CS42448 codec" 28 tristate "ASoc Audio driver for MT2701 with WM8960 codec" 48 tristate "ASoc Audio driver for MT6797 with MT6351 codec" 68 tristate "ASoc Audio driver for MT7986 with WM8960 codec" 88 tristate "ASoC Audio driver for MT8173 with MAX98090 codec" 93 with the MAX98090 audio codec. 98 tristate "ASoC Audio driver for MT8173 with RT5650 codec" 104 with the RT5650 audio codec. 109 tristate "ASoC Audio driver for MT8173 with RT5650 RT5514 codecs" [all …]
|
/linux/sound/soc/intel/avs/boards/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 21 This adds support for AVS with DA7219 I2S codec configuration. 39 This adds support for AVS with ES8336 I2S codec configuration. 44 tristate "HD-Audio generic board" 47 This adds support for AVS with HDAudio codec configuration. 54 This adds support for I2S test-board which can be used to verify 63 This adds support for AVS with MAX98927 I2S codec configuration. 73 This adds support for AVS with MAX98357A I2S codec configuration. 83 This adds support for AVS with MAX98373 I2S codec configuration. 93 This adds support for ASoC machine driver with NAU8825 I2S audio codec. [all …]
|
/linux/sound/soc/sunxi/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "Allwinner SoC Audio support" 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" 31 the codec embedded in newer Allwinner SoCs. 34 tristate "Allwinner sun50i Codec Analog Controls Support" [all …]
|
/linux/drivers/mfd/ |
H A D | twl4030-audio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * MFD driver for twl4030 audio submodule, which contains an audio codec, and 21 #include <linux/mfd/twl4030-audio.h> 46 struct twl4030_audio *audio = platform_get_drvdata(twl4030_audio_dev); in twl4030_audio_set_resource() local 50 audio->resource[id].reg); in twl4030_audio_set_resource() 53 val |= audio->resource[id].mask; in twl4030_audio_set_resource() 55 val &= ~audio->resource[id].mask; in twl4030_audio_set_resource() 58 val, audio->resource[id].reg); in twl4030_audio_set_resource() 65 struct twl4030_audio *audio = platform_get_drvdata(twl4030_audio_dev); in twl4030_audio_get_resource() local 69 audio->resource[id].reg); in twl4030_audio_get_resource() [all …]
|
/linux/include/sound/ |
H A D | hda_regmap.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * HD-audio regmap helpers 15 int snd_hdac_regmap_init(struct hdac_device *codec); 16 void snd_hdac_regmap_exit(struct hdac_device *codec); 17 int snd_hdac_regmap_add_vendor_verb(struct hdac_device *codec, 19 int snd_hdac_regmap_read_raw(struct hdac_device *codec, unsigned int reg, 21 int snd_hdac_regmap_read_raw_uncached(struct hdac_device *codec, 23 int snd_hdac_regmap_write_raw(struct hdac_device *codec, unsigned int reg, 25 int snd_hdac_regmap_update_raw(struct hdac_device *codec, unsigned int reg, 27 int snd_hdac_regmap_update_raw_once(struct hdac_device *codec, unsigned int reg, [all …]
|