/linux/sound/soc/meson/ |
H A D | g12a-tohdmitx.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <sound/soc-dai.h> 15 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 16 #include "meson-codec-glue.h" 18 #define G12A_TOHDMITX_DRV_NAME "g12a-tohdmitx" 45 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in g12a_tohdmitx_i2s_mux_put_enum() 48 if (ucontrol->value.enumerated.item[0] >= e->items) in g12a_tohdmitx_i2s_mux_put_enum() 49 return -EINVAL; in g12a_tohdmitx_i2s_mux_put_enum() 51 mux = snd_soc_enum_item_to_val(e, ucontrol->value.enumerated.item[0]); in g12a_tohdmitx_i2s_mux_put_enum() 52 changed = snd_soc_component_test_bits(component, e->reg, in g12a_tohdmitx_i2s_mux_put_enum() [all …]
|
/linux/sound/soc/img/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 Say Y or M if you want to add support for I2S out driver for 21 Imagination Technologies I2S out device. 28 Say Y or M if you want to add support for parallel out driver for 29 Imagination Technologies parallel out device. 32 tristate "Imagination SPDIF Input Device Driver" 36 Say Y or M if you want to add support for SPDIF input driver for 37 Imagination Technologies SPDIF input device. 40 tristate "Imagination SPDIF Output Device Driver" 44 Say Y or M if you want to add support for SPDIF out driver for [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 obj-$(CONFIG_SND_SOC_IMG_I2S_IN) += img-i2s-in.o 3 obj-$(CONFIG_SND_SOC_IMG_I2S_OUT) += img-i2s-out.o 4 obj-$(CONFIG_SND_SOC_IMG_PARALLEL_OUT) += img-parallel-out.o 5 obj-$(CONFIG_SND_SOC_IMG_SPDIF_IN) += img-spdif-in.o 6 obj-$(CONFIG_SND_SOC_IMG_SPDIF_OUT) += img-spdif-out.o 8 obj-$(CONFIG_SND_SOC_IMG_PISTACHIO_INTERNAL_DAC) += pistachio-internal-dac.o
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | fsl-asoc-card.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/fsl-asoc-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 28 - Shengjiu Wang <shengjiu.wang@nxp.com> 33 - items: 34 - enum: 35 - fsl,imx-sgtl5000 36 - fsl,imx25-pdk-sgtl5000 37 - fsl,imx53-cpuvo-sgtl5000 [all …]
|
H A D | img,spdif-out.txt | 1 Imagination Technologies SPDIF Output Controller 5 - compatible : Compatible list, must contain "img,spdif-out" 7 - #sound-dai-cells : Must be equal to 0 9 - reg : Offset and length of the register set for the device 11 - dmas: Contains an entry for each entry in dma-names. 13 - dma-names: Must include the following entry: 16 - clocks : Contains an entry for each entry in clock-names. 18 - clock-names : Includes the following entries: 22 - resets: Contains a phandle to the spdif out reset signal 24 - reset-names: Contains the reset signal name "rst" [all …]
|
H A D | linux,spdif.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/linux,spdif.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Dummy SPDIF Transmitter/Receiver 10 - Mark Brown <broonie@kernel.org> 13 - $ref: dai-common.yaml# 18 - linux,spdif-dit 19 - linux,spdif-dir 21 "#sound-dai-cells": [all …]
|
H A D | nvidia,tegra20-spdif.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra20-spdif.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 16 - Thierry Reding <treding@nvidia.com> 17 - Jon Hunter <jonathanh@nvidia.com> 20 - $ref: dai-common.yaml# 24 const: nvidia,tegra20-spdif 38 clock-names: 40 - const: out [all …]
|
/linux/sound/pci/ca0106/ |
H A D | ca0106.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 50 * Implement support for Line-in capture on SB Live 24bit. 73 #define IPR_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 74 #define IPR_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ 75 #define IPR_SPDIF_IN_USER 0x00004000 /* SPDIF input user data has 16 more bits */ 76 #define IPR_SPDIF_OUT_USER 0x00002000 /* SPDIF output user data needs 16 more bits */ 77 #define IPR_SPDIF_OUT_FRAME 0x00001000 /* SPDIF frame about to start */ 84 #define IPR_SPDIF_STATUS 0x00000020 /* SPDIF status changed */ 87 #define IPR_MIDI_RX_A 0x00000004 /* MIDI UART-A Receive buffer non-empty */ [all …]
|
/linux/drivers/staging/vc04_services/bcm2835-audio/ |
H A D | bcm2835-pcm.c | 1 // SPDX-License-Identifier: GPL-2.0 49 kfree(runtime->private_data); in snd_bcm2835_playback_free() 55 struct snd_pcm_substream *substream = alsa_stream->substream; in bcm2835_playback_fifo() 58 if (!alsa_stream->period_size) in bcm2835_playback_fifo() 61 if (bytes >= alsa_stream->buffer_size) { in bcm2835_playback_fifo() 64 alsa_stream->draining ? in bcm2835_playback_fifo() 71 pos = atomic_read(&alsa_stream->pos); in bcm2835_playback_fifo() 73 pos %= alsa_stream->buffer_size; in bcm2835_playback_fifo() 74 atomic_set(&alsa_stream->pos, pos); in bcm2835_playback_fifo() 76 alsa_stream->period_offset += bytes; in bcm2835_playback_fifo() [all …]
|
/linux/Documentation/sound/cards/ |
H A D | cmipci.rst | 2 Brief Notes on C-Media 8338/8738/8768/8770 Driver 8 Front/Rear Multi-channel Playback 9 --------------------------------- 13 DACs, both streams are handled independently unlike the 4/6ch multi- 22 - The first DAC supports U8 and S16LE formats, while the second DAC 24 - The second DAC supports only two channel stereo. 51 control switch in the driver "Line-In As Rear", which you can change 52 via alsamixer or somewhat else. When this switch is on, line-in jack 60 4/6 Multi-Channel Playback 61 -------------------------- [all …]
|
/linux/sound/soc/spear/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 snd-soc-spear-pcm-y := spear_pcm.o 4 snd-soc-spear-spdif-in-y := spdif_in.o 5 snd-soc-spear-spdif-out-y := spdif_out.o 7 obj-$(CONFIG_SND_SPEAR_SOC) += snd-soc-spear-pcm.o 8 obj-$(CONFIG_SND_SPEAR_SPDIF_IN) += snd-soc-spear-spdif-in.o 9 obj-$(CONFIG_SND_SPEAR_SPDIF_OUT) += snd-soc-spear-spdif-out.o
|
/linux/sound/soc/codecs/ |
H A D | spdif_transmitter.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ALSA SoC SPDIF DIT driver 22 #define DRV_NAME "spdif-dit" 32 SND_SOC_DAPM_OUTPUT("spdif-out"), 36 { "spdif-out", NULL, "Playback" }, 50 .name = "dit-hifi", 62 return devm_snd_soc_register_component(&pdev->dev, in spdif_dit_probe() 69 { .compatible = "linux,spdif-dit", }, 86 MODULE_DESCRIPTION("SPDIF dummy codec driver");
|
/linux/Documentation/sound/hd-audio/ |
H A D | models.rst | 2 HD-Audio Codec-Specific Models 8 3-jack in back and a headphone out 9 3stack-digout 10 3-jack in back, a HP out and a SPDIF out 12 5-jack in back, 2-jack in front 13 5stack-digout 14 5-jack in back, 2-jack in front, a SPDIF out 16 6-jack in back, 2-jack in front 17 6stack-digout 18 6-jack with a SPDIF out [all …]
|
/linux/arch/arm/boot/dts/socionext/ |
H A D | uniphier-pxs2-vodka.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 // Copyright (C) 2015-2016 Socionext Inc. 8 /dts-v1/; 9 #include "uniphier-pxs2.dtsi" 13 compatible = "socionext,uniphier-pxs2-vodka", "socionext,uniphier-pxs2"; 16 stdout-path = "serial0:115200n8"; 36 compatible = "audio-graph-card"; 42 spdif-out { 43 compatible = "linux,spdif-dit"; 44 #sound-dai-cells = <0>; [all …]
|
/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun6i-a31s-sina31s.dts | 2 * Copyright 2015 Chen-Yu Tsai <wens@csie.org> 4 * This file is dual-licensed: you can use it either under the terms 39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 44 #include "sun6i-a31s-sina31s-core.dtsi" 46 #include <dt-bindings/input/input.h> 50 compatible = "sinlinx,sina31s-sdk", "allwinner,sun6i-a31s"; 53 stdout-path = "serial0:115200n8"; 56 hdmi-connector { 57 compatible = "hdmi-connector"; 62 remote-endpoint = <&hdmi_out_con>; [all …]
|
H A D | sun7i-a20-itead-ibox.dts | 2 * Copyright 2015 - Marcus Cooper <codekipper@gmail.com> 4 * This file is dual-licensed: you can use it either under the terms 39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 43 /dts-v1/; 44 #include "sun7i-a20.dtsi" 45 #include "sunxi-itead-core-common.dtsi" 49 compatible = "itead,itead-ibox-a20", "allwinner,sun7i-a20"; 52 compatible = "gpio-leds"; 53 pinctrl-names = "default"; 54 pinctrl-0 = <&led_pins_itead_core>; [all …]
|
H A D | sun6i-a31-i7.dts | 4 * This file is dual-licensed: you can use it either under the terms 39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 43 /dts-v1/; 44 #include "sun6i-a31.dtsi" 45 #include "sunxi-common-regulators.dtsi" 47 #include <dt-bindings/gpio/gpio.h> 51 compatible = "mele,i7", "allwinner,sun6i-a31"; 58 stdout-path = "serial0:115200n8"; 61 hdmi-connector { 62 compatible = "hdmi-connector"; [all …]
|
/linux/sound/pci/emu10k1/ |
H A D | p16v.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) by James Courtier-Dutton <James@superbug.demon.co.uk> 11 /* Audigy2 P16V pointer-offset register set, accessed through the PTR2 and DATA2 registers … 14 /* The sample rate of the SPDIF outputs is set by modifying a register in the EMU10K2 PTR register … 25 #define PLAYBACK_LIST_SIZE 0x01 /* Size of list in bytes << 16. E.g. 8 periods -> 0x00380000 */ 75 * [26:24] FX engine channel capture 0 = 0x60-0x67. 76 * 1 = 0x68-0x6f. 77 * 2 = 0x70-0x77. 78 * 3 = 0x78-0x7f. 79 * 4 = 0x80-0x87. [all …]
|
/linux/sound/pci/ice1712/ |
H A D | juli.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 36 * supplied by external clock provided by Xilinx array and MK73-1 PLL frequency 42 * ice1724+ak4114-based cards, detects spdif input rate correctly. 46 * Juli uses the remaining three stereo-channels of its DAC to optionally 120 * Initial setup of the conversion array GPIO <-> rate 163 * If SPDIF capture and slaved to SPDIF-IN, setting runtime rate 169 struct juli_spec *spec = ice->spec; in juli_spdif_in_open() 170 struct snd_pcm_runtime *runtime = substream->runtime; in juli_spdif_in_open() 173 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK || in juli_spdif_in_open() 174 !ice->is_spdif_master(ice)) in juli_spdif_in_open() [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6sx-sabreauto.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 /dts-v1/; 11 compatible = "fsl,imx6sx-sabreauto", "fsl,imx6sx"; 19 compatible = "gpio-leds"; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&pinctrl_led>; 23 led-user { 26 linux,default-trigger = "heartbeat"; 30 vcc_sd3: regulator-vcc-sd3 { 31 compatible = "regulator-fixed"; [all …]
|
H A D | imx6qdl-cubox-i.dtsi | 4 * This file is dual-licensed: you can use it either under the terms 38 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 41 #include <dt-bindings/input/input.h> 42 #include <dt-bindings/gpio/gpio.h> 51 ir_recv: ir-receiver { 52 compatible = "gpio-ir-receiver"; 54 pinctrl-names = "default"; 55 pinctrl-0 = <&pinctrl_cubox_i_ir>; 58 led-controller { 59 compatible = "pwm-leds"; [all …]
|
H A D | imx6q-cm-fx6.dts | 6 * This file is dual-licensed: you can use it either under the terms 40 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 44 /dts-v1/; 45 #include <dt-bindings/gpio/gpio.h> 46 #include <dt-bindings/sound/fsl-imx-audmux.h> 50 model = "CompuLab CM-FX6"; 51 compatible = "compulab,cm-fx6", "fsl,imx6q"; 59 compatible = "gpio-leds"; 61 heartbeat-led { 64 linux,default-trigger = "heartbeat"; [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-g12b-dreambox.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "meson-g12b-w400.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 12 cvbs-connector { 16 sdio_pwrseq: sdio-pwrseq { 17 compatible = "mmc-pwrseq-simple"; 18 reset-gpios = <&gpio GPIOA_11 GPIO_ACTIVE_LOW>; 20 clock-names = "ext_clock"; [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-388-db.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * (DB-88F6820) 8 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 11 /dts-v1/; 12 #include "armada-388.dtsi" 16 compatible = "marvell,a385-db", "marvell,armada388", 20 stdout-path = "serial0:115200n8"; 35 internal-regs { 38 clock-frequency = <100000>; 39 audio_codec: audio-codec@4a { [all …]
|
/linux/arch/arm64/boot/dts/socionext/ |
H A D | uniphier-ld20-akebi96.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 // Derived from uniphier-ld20-global.dts. 7 // Copyright (C) 2015-2017 Socionext Inc. 8 // Copyright (C) 2019-2020 Linaro Ltd. 10 /dts-v1/; 11 #include <dt-bindings/gpio/uniphier-gpio.h> 12 #include "uniphier-ld20.dtsi" 16 compatible = "socionext,uniphier-ld20-akebi96", 17 "socionext,uniphier-ld20"; 20 stdout-path = "serial0:115200n8"; [all …]
|