| /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 …]
|
| /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/arm64/boot/dts/rockchip/ |
| H A D | rk3399-roc-pc-plus.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2017 T-Chip Intelligent Technology Co., Ltd 6 /dts-v1/; 7 #include "rk3399-roc-pc.dtsi" 11 * 1. rk3399-roc-pc-plus is powered by dc_12v directly. 12 * 2. rk3399-roc-pc-plus has only vcc_bus_typec0 in schematic, which is coresponding 13 * to vcc_vbus_typec1 in rk3399-roc-pc. 18 /delete-node/ &fusb1; 19 /delete-node/ &hub_rst; 20 /delete-node/ &mp8859; [all …]
|
| H A D | rk3588-orangepi-5-plus.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 10 #include <dt-bindings/soc/rockchip,vop2.h> 11 #include <dt-bindings/usb/pd.h> 12 #include "rk3588-orangepi-5.dtsi" 16 compatible = "xunlong,orangepi-5-plus", "rockchip,rk3588"; 18 hdmi0-con { 19 compatible = "hdmi-connector"; [all …]
|
| H A D | rk3566-pinenote.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 12 chassis-type = "tablet"; 19 stdout-path = "serial2:1500000n8"; 22 adc-keys { 23 compatible = "adc-keys"; [all …]
|
| H A D | rk3326-gameforce-chi.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 16 chassis-type = "handset"; 24 stdout-path = "serial2:115200n8"; 27 adc_joystick: adc-joystick { 28 compatible = "adc-joystick"; [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 26 #include <sound/soc-dapm.h> 54 { 6, 0xF1 }, /* r06 - Power Ctl 1 */ 55 { 7, 0xDF }, /* r07 - Power Ctl 2 */ 56 { 8, 0x3F }, /* r08 - Power Ctl 3 */ 57 { 9, 0x50 }, /* r09 - Charge Pump Freq */ 58 { 10, 0x53 }, /* r0A - Output Load MicBias Short Detect */ 59 { 11, 0x00 }, /* r0B - DMIC Master Clock Ctl */ 60 { 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 | 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/Documentation/sound/codecs/ |
| H A D | cs35l56.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 4 Audio drivers for Cirrus Logic CS35L54/56/57/63 Boosted Smart Amplifiers 14 The high-level summary of this document is: 16 **If you have a laptop that uses CS35L54/56/57/63 amplifiers but audio is not 30 --------------------------------- 52 Firmware is distributed in the linux-firmware repository: 53 https://gitlab.com/kernel-firmware/linux-firmware.git 56 produce audio. However this will be 63 receive their audio from the CS42L43 instead of directly from the host 66 the firmware is *mandatory* to enable receiving the audio from the CS42L43. [all …]
|
| /linux/sound/hda/common/ |
| H A D | codec.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Universal Interface for Intel High Definition Audio Codec 28 #define codec_in_pm(codec) snd_hdac_is_in_pm(&codec->core) 29 #define hda_codec_is_power_on(codec) snd_hdac_is_power_on(&codec->core) 31 ((codec)->core.power_caps & AC_PWRST_EPSS) 33 ((codec)->cor [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 …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx8mq-librem5-devkit.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2019 Purism SPC 6 /dts-v1/; 8 #include "dt-bindings/input/input.h" 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/leds/common.h> 11 #include "dt-bindings/pwm/pwm.h" 12 #include "dt-bindings/usb/pd.h" 17 compatible = "purism,librem5-devkit", "fsl,imx8mq"; 19 backlight_dsi: backlight-dsi { [all …]
|