| /kernel/linux/linux-5.10/sound/soc/rockchip/ |
| D | rockchip_spdif.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * ALSA SoC Audio Layer - Rockchip I2S Controller driver 7 * Author: Jianqun <jay.xu@rock-chips.com> 36 struct clk *mclk; member 45 { .compatible = "rockchip,rk3066-spdif", 47 { .compatible = "rockchip,rk3188-spdif", 49 { .compatible = "rockchip,rk3228-spdif", 51 { .compatible = "rockchip,rk3288-spdif", 53 { .compatible = "rockchip,rk3328-spdif", 55 { .compatible = "rockchip,rk3366-spdif", [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | rockchip-spdif.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/rockchip-spdif.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip SPDIF transceiver 15 - Heiko Stuebner <heiko@sntech.de> 20 - const: rockchip,rk3066-spdif 21 - const: rockchip,rk3228-spdif 22 - const: rockchip,rk3328-spdif 23 - const: rockchip,rk3366-spdif [all …]
|
| D | amlogic,axg-spdifout.txt | 1 * Amlogic Audio SPDIF Output 4 - compatible: 'amlogic,axg-spdifout' or 5 'amlogic,g12a-spdifout' or 6 'amlogic,sm1-spdifout' 7 - clocks: list of clock phandle, one for each entry clock-names. 8 - clock-names: should contain the following: 10 * "mclk" : master clock 11 - #sound-dai-cells: must be 0. 14 - resets: phandle to the dedicated reset line of the spdif output. 18 spdifout: audio-controller@480 { [all …]
|
| D | rt5659.txt | 7 - compatible : One of "realtek,rt5659" or "realtek,rt5658". 9 - reg : The I2C address of the device. 11 - interrupts : The CODEC's interrupt output. 15 - clocks: The phandle of the master clock to the CODEC 16 - clock-names: Should be "mclk" 18 - realtek,in1-differential 19 - realtek,in3-differential 20 - realtek,in4-differential 21 Boolean. Indicate MIC1/3/4 input are differential, rather than single-ended. 23 - realtek,dmic1-data-pin [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | sti-sas.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <sound/soc-dapm.h> 20 /* sysconf 5041: Audio-Gue-Control */ 22 /* sysconf 5042: Audio-DAC-Control */ 34 /* SPDIF definitions */ 56 int mclk; member 62 int mclk; member 80 struct sti_spdif_audio spdif; member 91 status = regmap_read(drvdata->dac.regmap, reg, &val); in sti_sas_read_reg() 104 status = regmap_write(drvdata->dac.regmap, reg, value); in sti_sas_write_reg() [all …]
|
| D | cs4265.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs4265.c -- CS4265 ALSA SoC audio driver 25 #include <sound/soc-dapm.h> 76 static DECLARE_TLV_DB_SCALE(pga_tlv, -1200, 50, 0); 78 static DECLARE_TLV_DB_SCALE(dac_tlv, -12750, 50, 0); 136 SOC_SINGLE("De-emp 44.1kHz Switch", CS4265_DAC_CTL, 1, 153 SOC_SINGLE("SPDIF Switch", CS4265_SPDIF_CTL2, 5, 1, 1), 156 SOC_ENUM("SPDIF Mono/Stereo", spdif_mono_stereo_enum), 177 SND_SOC_DAPM_PGA("Pre-amp MIC", CS4265_PWRCTL, 3, 185 SND_SOC_DAPM_MIXER("SPDIF Transmitter", SND_SOC_NOPM, 0, 0, NULL, 0), [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
| 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# 10 - patches@opensource.cirrus.com 15 Logic devices on mini-cards, as well as allowing connection of various 25 [1] Clock : ../clock/clock-bindings.txt 28 [2] include/dt-bindings/clock/lochnagar.h 36 - cirrus,lochnagar1-clk 37 - cirrus,lochnagar2-clk 39 '#clock-cells': [all …]
|
| /kernel/linux/linux-5.10/sound/soc/meson/ |
| D | aiu-encoder-spdif.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <sound/soc-dai.h> 50 struct snd_soc_component *component = dai->component; in aiu_encoder_spdif_trigger() 66 return -EINVAL; in aiu_encoder_spdif_trigger() 99 struct snd_soc_component *component = dai->component; in aiu_encoder_spdif_hw_params() 116 dev_err(dai->dev, "Unsupport physical width\n"); in aiu_encoder_spdif_hw_params() 117 return -EINVAL; in aiu_encoder_spdif_hw_params() 132 dev_err(dai->dev, "failed to set channel status word\n"); in aiu_encoder_spdif_hw_params() 144 ret = clk_set_rate(aiu->spdif.clks[MCLK].clk, mrate); in aiu_encoder_spdif_hw_params() 146 dev_err(dai->dev, "failed to set mclk rate\n"); in aiu_encoder_spdif_hw_params() [all …]
|
| D | axg-spdifout.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 11 #include <sound/soc-dai.h> 61 struct clk *mclk; member 97 axg_spdifout_enable(priv->map); in axg_spdifout_trigger() 103 axg_spdifout_disable(priv->map); in axg_spdifout_trigger() 107 return -EINVAL; in axg_spdifout_trigger() 115 /* Use spdif valid bit to perform digital mute */ in axg_spdifout_mute() 116 regmap_update_bits(priv->map, SPDIFOUT_CTRL0, SPDIFOUT_CTRL0_VSET, in axg_spdifout_mute() 137 dev_err(dai->dev, "too many channels for spdif dai: %u\n", in axg_spdifout_sample_fmt() 139 return -EINVAL; in axg_spdifout_sample_fmt() [all …]
|
| D | aiu.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <sound/soc-dai.h> 15 #include <dt-bindings/sound/meson-aiu.h> 17 #include "aiu-fifo.h" 22 "SPDIF", "I2S", 30 SOC_DAPM_ENUM("SPDIF Buffer Src", aiu_spdif_encode_sel_enum); 33 SND_SOC_DAPM_MUX("SPDIF SRC SEL", SND_SOC_NOPM, 0, 0, 39 { "SPDIF SRC SEL", "SPDIF", "SPDIF FIFO Playback" }, 40 { "SPDIF SRC SEL", "I2S", "I2S FIFO Playback" }, 41 { "SPDIF Encoder Playback", NULL, "SPDIF SRC SEL" }, [all …]
|
| D | aiu.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ 20 MCLK, enumerator 39 struct aiu_interface spdif; member
|
| /kernel/linux/linux-5.10/drivers/clk/ |
| D | clk-lochnagar.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2017-2018 Cirrus Logic, Inc. and 11 #include <linux/clk-provider.h> 22 #include <dt-bindings/clk/lochnagar.h> 49 LN_PARENT("ln-none"), 50 LN_PARENT("ln-spdif-mclk"), 51 LN_PARENT("ln-psia1-mclk"), 52 LN_PARENT("ln-psia2-mclk"), 53 LN_PARENT("ln-cdc-clkout"), 54 LN_PARENT("ln-dsp-clkout"), [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/bridge/ |
| D | sii902x.txt | 4 - compatible: "sil,sii9022" 5 - reg: i2c address of the bridge 8 - interrupts: describe the interrupt line used to inform the host 10 - reset-gpios: OF device-tree gpio specification for RST_N pin. 11 - iovcc-supply: I/O Supply Voltage (1.8V or 3.3V) 12 - cvcc12-supply: Digital Core Supply Voltage (1.2V) 15 - #sound-dai-cells: <0> or <1>. <0> if only i2s or spdif pin 18 - sil,i2s-data-lanes: Array of up to 4 integers with values of 0-3 23 pins (SD0 - SD3). Any i2s pin can be connected to any fifo, 28 - clocks: phandle and clock specifier for each clock listed in [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/platforms/512x/ |
| D | clock-commonclk.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 #include <linux/clk-provider.h> 21 #include <dt-bindings/clock/mpc512x-clock.h> 25 /* helpers to keep the MCLK intermediates "somewhere" in our table */ 61 /* intermediates for the mux+gate+div+mux MCLK generation */ 85 * MPC5125 has many more differences: no MBX, no AXE, no VIU, no SPDIF, 89 * interpretation, no CFM, different fourth PSC/CAN mux0 input -- yet 292 val &= (1 << len) - 1; in get_bit_field() 305 spmf = get_bit_field(&clkregs->spmr, 24, 4); in get_spmf_mult() 326 divcode = get_bit_field(&clkregs->scfr2, 26, 6); in get_sys_div_x2() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/sunxi/ |
| D | sun4i-spdif.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ALSA SoC SPDIF Audio Layer 168 * struct sun4i_spdif_quirks - Differences between SoC variants. 193 const struct sun4i_spdif_quirks *quirks = host->quirks; in sun4i_spdif_configure() 195 /* soft reset SPDIF */ in sun4i_spdif_configure() 196 regmap_write(host->regmap, SUN4I_SPDIF_CTL, SUN4I_SPDIF_CTL_RESET); in sun4i_spdif_configure() 199 regmap_update_bits(host->regmap, SUN4I_SPDIF_FCTL, in sun4i_spdif_configure() 200 quirks->val_fctl_ftx, quirks->val_fctl_ftx); in sun4i_spdif_configure() 203 regmap_write(host->regmap, SUN4I_SPDIF_TXCNT, 0); in sun4i_spdif_configure() 209 if (substream->runtime->channels == 1) in sun4i_snd_txctrl_on() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| 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# 10 - patches@opensource.cirrus.com 15 Logic devices on mini-cards, as well as allowing connection of various 26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt 29 [3] include/dt-bindings/pinctrl/lochnagar.h 37 - cirrus,lochnagar-pinctrl 39 gpio-controller: true 41 '#gpio-cells': [all …]
|
| /kernel/linux/patches/linux-5.10/yangfan_patch/ |
| D | sound.patch | 1 diff --git a/sound/Makefile b/sound/Makefile 3 --- a/sound/Makefile 5 @@ -5,7 +5,8 @@ 6 obj-$(CONFIG_SOUND) += soundcore.o 7 obj-$(CONFIG_DMASOUND) += oss/dmasound/ 8 obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ sh/ synth/ usb/ \ 9 - firewire/ sparc/ spi/ parisc/ pcmcia/ mips/ soc/ atmel/ hda/ x86/ xen/ 12 obj-$(CONFIG_SND_AOA) += aoa/ 15 diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c 17 --- a/sound/drivers/aloop.c [all …]
|
| /kernel/linux/linux-5.10/sound/soc/stm/ |
| D | stm32_sai_sub.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved 10 #include <linux/clk-provider.h> 41 #define STM_SAI_IS_PLAYBACK(ip) ((ip)->dir == SNDRV_PCM_STREAM_PLAYBACK) 42 #define STM_SAI_IS_CAPTURE(ip) ((ip)->dir == SNDRV_PCM_STREAM_CAPTURE) 47 #define STM_SAI_IS_SUB_A(x) ((x)->id == STM_SAI_A_ID) 48 #define STM_SAI_IS_SUB_B(x) ((x)->id == STM_SAI_B_ID) 49 #define STM_SAI_BLOCK_NAME(x) (((x)->id == STM_SAI_A_ID) ? "A" : "B") 55 #define STM_SAI_PROTOCOL_IS_SPDIF(ip) ((ip)->spdif) 56 #define STM_SAI_HAS_SPDIF(x) ((x)->pdata->conf.has_spdif_pdm) [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | sun5i-gr8.dtsi | 4 * Mylène Josserand <mylene.josserand@free-electrons.com> 6 * This file is dual-licensed: you can use it either under the terms 47 #include <dt-bindings/clock/sun5i-ccu.h> 48 #include <dt-bindings/dma/sun4i-a10.h> 49 #include <dt-bindings/reset/sun5i-ccu.h> 52 display-engine { 53 compatible = "allwinner,sun5i-a13-display-engine"; 59 compatible = "allwinner,sun5i-a10s-pwm"; 62 #pwm-cells = <3>; 66 spdif: spdif@1c21000 { label [all …]
|
| D | armada-370-db.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * (DB-88F6710-BP-DDR3) 9 * Gregory CLEMENT <gregory.clement@free-electrons.com> 10 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 15 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 22 /dts-v1/; 23 #include "armada-370.dtsi" 27 compatible = "marvell,a370-db", "marvell,armada370", "marvell,armada-370-xp"; 30 stdout-path = "serial0:115200n8"; 43 internal-regs { [all …]
|
| D | sun5i-gr8-evb.dts | 5 * Mylène Josserand <mylene.josserand@free-electrons.com> 7 * This file is dual-licensed: you can use it either under the terms 46 /dts-v1/; 47 #include "sun5i-gr8.dtsi" 48 #include "sunxi-common-regulators.dtsi" 50 #include <dt-bindings/gpio/gpio.h> 51 #include <dt-bindings/input/input.h> 52 #include <dt-bindings/interrupt-controller/irq.h> 55 model = "NextThing GR8-EVB"; 56 compatible = "nextthing,gr8-evb", "nextthing,gr8"; [all …]
|
| D | stihxxx-b2120.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <dt-bindings/clock/stih407-clks.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/media/c8sectpfe.h> 11 compatible = "gpio-leds"; 15 linux,default-trigger = "heartbeat"; 19 default-state = "off"; 24 compatible = "simple-audio-card"; 25 simple-audio-card,name = "STI-B2120"; 27 #address-cells = <1>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/amlogic/ |
| D | meson-g12b-gtking.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-g12b-w400.dtsi" 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 15 model = "Beelink GT-King"; 17 spdif_dit: audio-codec-1 { 18 #sound-dai-cells = <0>; 19 compatible = "linux,spdif-dit"; 21 sound-name-prefix = "DIT"; 25 compatible = "amlogic,axg-sound-card"; [all …]
|
| D | meson-g12b-ugoos-am6.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-g12b-w400.dtsi" 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 17 spdif_dit: audio-codec-1 { 18 #sound-dai-cells = <0>; 19 compatible = "linux,spdif-dit"; 21 sound-name-prefix = "DIT"; 25 compatible = "amlogic,axg-sound-card"; 26 model = "G12B-UGOOS-AM6"; [all …]
|
| /kernel/linux/linux-5.10/sound/soc/bcm/ |
| D | cygnus-ssp.c | 2 * Copyright (C) 2014-2015 Broadcom Corporation 24 #include <sound/soc-dai.h> 26 #include "cygnus-ssp.h" 197 u32 mclk; member 203 * the common MCLK frequencies used by audio driver 251 return &cygaud->portinfo[dai->id]; in cygnus_dai_get_portinfo() 259 switch (aio->port_type) { in audio_ssp_init_portregs() 261 value = readl(aio->cygaud->audio + aio->regs.i2s_stream_cfg); in audio_ssp_init_portregs() 265 writel(aio->portnum, in audio_ssp_init_portregs() 266 aio->cygaud->audio + aio->regs.bf_sourcech_grp); in audio_ssp_init_portregs() [all …]
|