/linux/Documentation/devicetree/bindings/sound/ |
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 | da7218.txt | 1 Dialog Semiconductor DA7218 Audio Codec bindings 3 DA7218 is an audio codec with HP detect feature. 8 - compatible : Should be "dlg,da7217" or "dlg,da7218" 9 - reg: Specifies the I2C slave address 11 - VDD-supply: VDD power supply for the device 12 - VDDMIC-supply: VDDMIC power supply for the device 13 - VDDIO-supply: VDDIO power supply for the device 18 - interrupts: IRQ line info for DA7218 chip. 19 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for 21 - interrupt-names : Name associated with interrupt line. Should be "wakeup" if [all …]
|
H A D | ti,tlv320dac3100.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: Texas Instruments - tlv320aic31xx Codec module 10 - Shenghao Ding <shenghao-ding@ti.com> 16 * SPL, devices with stereo speaker amp 17 * SPR, devices with stereo speaker amp 18 * SPK, devices with mono speaker amp 28 The pins can be used in referring sound node's audio-routing property. 33 - ti,tlv320aic310x # - Generic TLV320AIC31xx with mono speaker amp [all …]
|
H A D | cs35l36.txt | 5 - compatible : "cirrus,cs35l36" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VP-supply : power supplies for the device, 13 - cirrus,boost-ctl-millivolt : Boost Voltage Value. Configures the boost 18 - cirrus,boost-peak-milliamp : Boost-converter peak current limit in mA. 24 - cirrus,boost-ind-nanohenry : Inductor estimation LBST reference value. 32 - cirrus,multi-amp-mode : Boolean to determine if there are more than 33 one amplifier in the system. If more than one it is best to Hi-Z the ASP 36 - cirrus,boost-ctl-select : Boost converter control source selection. 39 0x00 - Control Port Value [all …]
|
H A D | qcom,apq8016-sbc-sndcard.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/sound/qcom,apq8016-sbc-sndcard.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 11 - Stephan Gerhold <stephan@gerhold.net> 16 - qcom,apq8016-sbc-sndcard 17 - qcom,msm8916-qdsp6-sndcard 21 - description: Microphone I/O mux register address 22 - description: Speaker I/O mux register address [all …]
|
H A 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# 7 title: Cirrus Logic Lochnagar Audio Development Board 10 - patches@opensource.cirrus.com 14 Smart CODEC and Amp devices. It allows the connection of most Cirrus 15 Logic devices on mini-cards, as well as allowing connection of various 17 Audio system topology, clocking and power can all be controlled through 21 This binding document describes the binding for the audio portion of the 28 - $ref: dai-common.yaml# [all …]
|
H A D | awinic,aw8738.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: Awinic AW8738 Audio Amplifier 10 - Stephan Gerhold <stephan@gerhold.net> 13 The Awinic AW8738 is a simple audio amplifier with different operation modes 14 (set using one-wire pulse control). The mode configures the speaker-guard 18 - $ref: dai-common.yaml# 24 mode-gpios: 26 GPIO used for one-wire pulse control. The pin is typically called SHDN [all …]
|
/linux/include/sound/ |
H A D | hda_regmap.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * HD-audio regmap helpers 13 #define AC_AMP_FAKE_MUTE 0x10 /* fake mute bit set to amp verbs */ 32 * snd_hdac_regmap_encode_verb - encode the verb to a pseudo register 42 * snd_hdac_regmap_encode_amp - encode the AMP verb to a pseudo register 57 * snd_hdac_regmap_encode_amp_stereo - encode a pseudo register for stereo AMPs 71 * snd_hdac_regmap_write - Write a verb with caching 76 * For writing an amp value, use snd_hdac_regmap_update_amp(). 88 * snd_hda_regmap_update - Update a verb value with caching 94 * For updating an amp value, use snd_hdac_regmap_update_amp(). [all …]
|
H A D | hda_verbs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * HD-audio codec verbs 26 AC_WID_AUD_OUT, /* Audio Out */ 27 AC_WID_AUD_IN, /* Audio In */ 28 AC_WID_AUD_MIX, /* Audio Mixer */ 29 AC_WID_AUD_SEL, /* Audio Selector */ 59 /* f10-f1a: GPIO */ 155 /* Audio Function Group Capabilities */ 160 /* Audio Widget Capabilities */ 162 #define AC_WCAP_IN_AMP (1<<1) /* AMP-in present */ [all …]
|
/linux/arch/mips/boot/dts/ingenic/ |
H A D | gcw0.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 5 #include <dt-bindings/clock/ingenic,tcu.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/iio/adc/ingenic,adc.h> 9 #include <dt-bindings/input/input.h> 29 stdout-path = "serial2:57600n8"; 33 compatible = "regulator-fixed"; 34 regulator-name = "vcc"; 36 regulator-min-microvolt = <3300000>; [all …]
|
H A D | rs90.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/iio/adc/ingenic,adc.h> 8 #include <dt-bindings/input/linux-event-codes.h> 12 model = "RS-90"; 19 reserved-memory { 20 #address-cells = <1>; 21 #size-cells = <1>; 24 vmem: video-memory@1f00000 { [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8916-wingtech-wt86528.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-wingtech-wt865x8.dtsi" 10 chassis-type = "handset"; 13 speaker_amp_left: audio-amplifier-left { 16 pinctrl-0 = <&spk_ext_pa_left_default>; 17 pinctrl-names = "default"; 19 mode-gpios = <&tlmm 119 GPIO_ACTIVE_HIGH>; 20 sound-name-prefix = "Speaker Amp L"; 25 speaker_amp_right: audio-amplifier-right { [all …]
|
H A D | msm8916-wingtech-wt88047.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 8 #include "msm8916-pm8916.dtsi" 9 #include "msm8916-modem-qdsp6.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/leds/common.h> 18 chassis-type = "handset"; 27 stdout-path = "serial0"; 30 speaker_amp: audio-amplifier { [all …]
|
H A D | msm8916-wingtech-wt86518.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-wingtech-wt865x8.dtsi" 10 chassis-type = "handset"; 12 speaker_amp: audio-amplifier { 15 pinctrl-0 = <&spk_ext_pa_default>; 16 pinctrl-names = "default"; 18 mode-gpios = <&tlmm 119 GPIO_ACTIVE_HIGH>; 19 sound-name-prefix = "Speaker Amp"; 29 vdd-supply = <&pm8916_l6>; [all …]
|
/linux/sound/soc/codecs/ |
H A D | cs42l73.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs42l73.c -- CS42L73 ALSA Soc Audio driver 25 #include <sound/soc-dapm.h> 47 { 6, 0xF1 }, /* r06 - Power Ctl 1 */ 48 { 7, 0xDF }, /* r07 - Power Ctl 2 */ 49 { 8, 0x3F }, /* r08 - Power Ctl 3 */ 50 { 9, 0x50 }, /* r09 - Charge Pump Freq */ 51 { 10, 0x53 }, /* r0A - Output Load MicBias Short Detect */ 52 { 11, 0x00 }, /* r0B - DMIC Master Clock Ctl */ 53 { 12, 0x00 }, /* r0C - Aux PCM Ctl */ [all …]
|
H A D | tlv320aic26.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Texas Instruments TLV320AIC26 low power audio CODEC 61 /* --------------------------------------------------------------------- 62 * Digital Audio Interface Operations 68 struct snd_soc_component *component = dai->component; in aic26_hw_params() 73 dev_dbg(&aic26->spi->dev, "aic26_hw_params(substream=%p, params=%p)\n", in aic26_hw_params() 75 dev_dbg(&aic26->spi->dev, "rate=%i width=%d\n", params_rate(params), in aic26_hw_params() 89 dev_dbg(&aic26->spi->dev, "bad rate\n"); return -EINVAL; in aic26_hw_params() 99 dev_dbg(&aic26->spi->dev, "bad format\n"); return -EINVAL; in aic26_hw_params() 109 jval = fsref / (aic26->mclk / 2048); in aic26_hw_params() [all …]
|
H A D | rt5616.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5616.c -- RT5616 ALSA SoC audio codec driver 22 #include <sound/soc-dapm.h> 287 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 288 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -65625, 375, 0); 289 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 290 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -17625, 375, 0); 351 val = snd_soc_component_read(snd_soc_dapm_to_component(source->dapm), RT5616_GLB_CLK); in is_sys_clk_from_pll() 466 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt5616_adc_event() 490 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt5616_charge_pump_event() [all …]
|
H A D | alc5623.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * alc5623.c -- alc562[123] ALSA Soc Audio driver 8 * Copyright 2010 Arnaud Patard <arnaud.patard@rtp-net.org> 53 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in amp_mixer_event() 55 /* to power-o in amp_mixer_event() [all...] |
H A D | cs35l35.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * cs35l35.h -- CS35L35 ALSA SoC audio driver 31 #define CS35L35_AMP_INP_DRV_CTL 0x14 /* Amp Input Drive Ctl */ 35 #define CS35L35_PROTECT_CTL 0x18 /* Amp Gain - Prot Ctl Param */ 36 #define CS35L35_AMP_GAIN_AUD_CTL 0x19 /* Amp Serial Port Gain Ctl */ 60 #define CS35L35_AUDIN_RXLOC_CTL 0x52 /* Audio Input RX Loc Ctl */ 68 #define CS35L35_AUDIN_DEPTH_CTL 0x5A /* Audio Input Depth Ctl */
|
/linux/arch/arm64/boot/dts/allwinner/ |
H A D | sun50i-a64-pinetab.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "sun50i-a64.dtsi" 10 #include "sun50i-a64-cpu-opp.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/pwm/pwm.h> 18 compatible = "pine64,pinetab", "allwinner,sun50i-a64"; 19 chassis-type = "tablet"; 27 compatible = "pwm-backlight"; [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-echo.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 5 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 14 compatible = "amazon,omap3-echo", "ti,omap3630", "ti,omap3"; 18 cpu0-supply = <&vdd1_reg>; 28 compatible = "regulator-fixed"; 29 regulator-name = "vcc5v"; 30 regulator-min-microvolt = <5000000>; 31 regulator-max-microvolt = <5000000>; [all …]
|
/linux/arch/arm/boot/dts/microchip/ |
H A D | at91-nattis-2-natte-2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * at91-nattis-2-natte-2.dts - Device Tree file for the Linea/Nattis board 9 /dts-v1/; 10 #include "at91-linea.dtsi" 11 #include "at91-natte.dtsi" 14 model = "Axentia Linea-Nattis v2 Natte v2"; 15 compatible = "axentia,nattis-2", "axentia,natte-2", "axentia,linea", 18 gpio-keys { 19 compatible = "gpio-keys"; 21 key-wakeup { [all …]
|
/linux/sound/pci/hda/ |
H A D | hda_codec.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Universal Interface for Intel High Definition Audio Codec 27 #define codec_in_pm(codec) snd_hdac_is_in_pm(&codec->core) 28 #define hda_codec_is_power_on(codec) snd_hdac_is_power_on(&codec->core) 30 ((codec)->core.power_caps & AC_PWRST_EPSS) 32 ((codec)->core.power_caps & AC_PWRST_CLKSTOP) 35 * Send and receive a verb - passed to exec_verb override for hdac_device 41 struct hda_bus *bus = codec->bus; in codec_exec_verb() 45 return -1; in codec_exec_verb() 49 mutex_lock(&bus->core.cmd_mutex); in codec_exec_verb() [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_lpe_audio.c | 24 * Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> 31 * DOC: LPE Audio integration for HDMI or DP playback 34 * Atom platforms (e.g. valleyview and cherryTrail) integrates a DMA-based 36 * mode is unrelated to the LPE aka SST audio engine, the documentation refers 41 * subsystems, a bridge is setup between the hdmi-lpe-audio and i915: 44 * 3. Create IRQ chip to forward the LPE audio irqs. 45 * the hdmi-lpe-audio driver probes the lpe audio device and creates a new 50 * uninstall the hdmi-lpe-audio driver before uninstalling i915 module, 51 * otherwise we might run into use-after-free issues after i915 removes the 52 * platform device: even though hdmi-lpe-audio driver is released, the modules [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:- 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 22 recording) audio. This is fine for a PC, but tends to waste a lot of 31 features :- 36 * Easy I2S/PCM audio interface setup between codec and SoC. Each SoC [all …]
|