/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | imx-audio-spdif.txt | 5 - compatible : "fsl,imx-audio-spdif" 7 - model : The user-visible name of this sound complex 9 - spdif-controller : The phandle of the i.MX S/PDIF controller 14 - spdif-out : This is a boolean property. If present, the 16 indicating there's a physical S/PDIF out connector 19 display-controller. 21 - spdif-in : This is a boolean property. If present, the receiving 30 sound-spdif { 31 compatible = "fsl,imx-audio-spdif"; 32 model = "imx-spdif"; [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-dit.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/linux,spdif-dit.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Dummy SPDIF Transmitter 10 - Mark Brown <broonie@kernel.org> 13 - $ref: dai-common.yaml# 17 const: linux,spdif-dit 19 "#sound-dai-cells": 22 sound-name-prefix: true [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 …]
|
/openbmc/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 …]
|
/openbmc/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 | img-spdif-out.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * IMG SPDIF output controller driver 54 struct img_spdif_out *spdif = dev_get_drvdata(dev); in img_spdif_out_runtime_suspend() local 56 clk_disable_unprepare(spdif->clk_ref); in img_spdif_out_runtime_suspend() 57 clk_disable_unprepare(spdif->clk_sys); in img_spdif_out_runtime_suspend() 64 struct img_spdif_out *spdif = dev_get_drvdata(dev); in img_spdif_out_runtime_resume() local 67 ret = clk_prepare_enable(spdif->clk_sys); in img_spdif_out_runtime_resume() 73 ret = clk_prepare_enable(spdif->clk_ref); in img_spdif_out_runtime_resume() 76 clk_disable_unprepare(spdif->clk_sys); in img_spdif_out_runtime_resume() 83 static inline void img_spdif_out_writel(struct img_spdif_out *spdif, u32 val, in img_spdif_out_writel() argument [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
|
/openbmc/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 …]
|
/openbmc/linux/sound/soc/tegra/ |
H A D | tegra20_spdif.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * tegra20_spdif.c - Tegra20 SPDIF driver 6 * Copyright (C) 2011-2012 - NVIDIA, Inc. 30 struct tegra20_spdif *spdif = dev_get_drvdata(dev); in tegra20_spdif_runtime_suspend() local 32 regcache_cache_only(spdif->regmap, true); in tegra20_spdif_runtime_suspend() 34 clk_disable_unprepare(spdif->clk_spdif_out); in tegra20_spdif_runtime_suspend() 41 struct tegra20_spdif *spdif = dev_get_drvdata(dev); in tegra20_spdif_runtime_resume() local 44 ret = reset_control_assert(spdif->reset); in tegra20_spdif_runtime_resume() 48 ret = clk_prepare_enable(spdif->clk_spdif_out); in tegra20_spdif_runtime_resume() 56 ret = reset_control_deassert(spdif->reset); in tegra20_spdif_runtime_resume() [all …]
|
/openbmc/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 …]
|
/openbmc/linux/sound/soc/spear/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 snd-soc-spear-pcm-objs := spear_pcm.o 4 snd-soc-spear-spdif-in-objs := spdif_in.o 5 snd-soc-spear-spdif-out-objs := 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
|
/openbmc/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" 31 SND_SOC_DAPM_OUTPUT("spdif-out"), 35 { "spdif-out", NULL, "Playback" }, 49 .name = "dit-hifi", 61 return devm_snd_soc_register_component(&pdev->dev, in spdif_dit_probe() 68 { .compatible = "linux,spdif-dit", }, 85 MODULE_DESCRIPTION("SPDIF dummy codec driver");
|
/openbmc/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 …]
|
/openbmc/u-boot/arch/arm/dts/ |
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 …]
|
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"; 35 compatible = "audio-graph-card"; 41 spdif-out { 42 compatible = "linux,spdif-dit"; 43 #sound-dai-cells = <0>; [all …]
|
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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/sound/soc/fsl/ |
H A D | imx-spdif.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 struct device_node *spdif_np, *np = pdev->dev.of_node; in imx_spdif_audio_probe() 21 spdif_np = of_parse_phandle(np, "spdif-controller", 0); in imx_spdif_audio_probe() 23 dev_err(&pdev->dev, "failed to find spdif-controller\n"); in imx_spdif_audio_probe() 24 ret = -EINVAL; in imx_spdif_audio_probe() 28 data = devm_kzalloc(&pdev->dev, sizeof(*data), GFP_KERNEL); in imx_spdif_audio_probe() 29 comp = devm_kzalloc(&pdev->dev, sizeof(*comp), GFP_KERNEL); in imx_spdif_audio_probe() 31 ret = -ENOMEM; in imx_spdif_audio_probe() 37 * platform is using soc-generic-dmaengine-pcm in imx_spdif_audio_probe() 39 data->dai.cpus = in imx_spdif_audio_probe() [all …]
|
/openbmc/linux/sound/soc/kirkwood/ |
H A D | armada-370-db.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 15 #include <linux/platform_data/asoc-kirkwood.h> 46 SND_SOC_DAPM_HP("Out Jack", NULL), 51 { "Out Jack", NULL, "HPL" }, 52 { "Out Jack", NULL, "HPR" }, 59 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "cs42l51-hifi")), 63 DAILINK_COMP_ARRAY(COMP_CPU("spdif")), 64 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "dit-hifi")), 68 DAILINK_COMP_ARRAY(COMP_CPU("spdif")), [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
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 …]
|