/linux-6.14.4/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> 35 struct clk *mclk; member 44 { .compatible = "rockchip,rk3066-spdif", 46 { .compatible = "rockchip,rk3188-spdif", 48 { .compatible = "rockchip,rk3228-spdif", 50 { .compatible = "rockchip,rk3288-spdif", 52 { .compatible = "rockchip,rk3328-spdif", 54 { .compatible = "rockchip,rk3366-spdif", [all …]
|
/linux-6.14.4/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 */ 54 int mclk; member 59 int mclk; member 73 struct sti_spdif_audio spdif; member 84 status = regmap_read(drvdata->dac.regmap, reg, &val); in sti_sas_read_reg() 96 return 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, 155 SOC_ENUM("SPDIF Mono/Stereo", spdif_mono_stereo_enum), 176 SND_SOC_DAPM_PGA("Pre-amp MIC", CS4265_PWRCTL, 3, 184 SND_SOC_DAPM_MIXER("SPDIF Transmitter", SND_SOC_NOPM, 0, 0, NULL, 0), 188 SND_SOC_DAPM_SWITCH("SPDIF", CS4265_SPDIF_CTL2, 5, 1, [all …]
|
/linux-6.14.4/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 <[email protected]> 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.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/amlogic,axg-spdifout.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Amlogic Audio AXG SPDIF Output 10 - Jerome Brunet <[email protected]> 15 - const: amlogic,axg-spdifout 16 - items: 17 - enum: 18 - amlogic,g12a-spdifout [all …]
|
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 <[email protected]> 33 - items: 34 - enum: 35 - fsl,imx-sgtl5000 36 - fsl,imx25-pdk-sgtl5000 37 - fsl,imx53-cpuvo-sgtl5000 [all …]
|
/linux-6.14.4/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 - [email protected] 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 …]
|
/linux-6.14.4/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, "Unsupported 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 …]
|
/linux-6.14.4/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/clock/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 …]
|
/linux-6.14.4/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 …]
|
/linux-6.14.4/sound/soc/sunxi/ |
D | sun4i-spdif.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ALSA SoC SPDIF Audio Layer 169 * struct sun4i_spdif_quirks - Differences between SoC variants. 196 const struct sun4i_spdif_quirks *quirks = host->quirks; in sun4i_spdif_configure() 198 /* soft reset SPDIF */ in sun4i_spdif_configure() 199 regmap_write(host->regmap, SUN4I_SPDIF_CTL, SUN4I_SPDIF_CTL_RESET); in sun4i_spdif_configure() 202 regmap_update_bits(host->regmap, SUN4I_SPDIF_FCTL, in sun4i_spdif_configure() 203 quirks->val_fctl_ftx, quirks->val_fctl_ftx); in sun4i_spdif_configure() 206 regmap_update_bits(host->regmap, SUN4I_SPDIF_FCTL, in sun4i_spdif_configure() 210 regmap_write(host->regmap, SUN4I_SPDIF_TXCNT, 0); in sun4i_spdif_configure() [all …]
|
/linux-6.14.4/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 - [email protected] 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 …]
|
/linux-6.14.4/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) 53 #define STM_SAI_PROTOCOL_IS_SPDIF(ip) ((ip)->spdif) 54 #define STM_SAI_HAS_SPDIF(x) ((x)->pdata->conf.has_spdif_pdm) 55 #define STM_SAI_HAS_PDM(x) ((x)->pdata->conf.has_spdif_pdm) 56 #define STM_SAI_HAS_EXT_SYNC(x) (!STM_SAI_IS_F4((x)->pdata)) [all …]
|
/linux-6.14.4/sound/soc/fsl/ |
D | fsl-asoc-card.c | 1 // SPDX-License-Identifier: GPL-2.0 23 #include "imx-audmux.h" 33 #define DRIVER_NAME "fsl-asoc-card" 44 * struct codec_priv - CODEC private data 45 * @mclk: Main clock of the CODEC 46 * @mclk_freq: Clock rate of MCLK 47 * @free_freq: Clock rate of MCLK for hw_free() 48 * @mclk_id: MCLK (or main clock) id for set_sysclk() 53 struct clk *mclk; member 62 * struct cpu_priv - CPU private data [all …]
|
/linux-6.14.4/arch/arm/boot/dts/allwinner/ |
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 …]
|
/linux-6.14.4/arch/arm64/boot/dts/freescale/ |
D | imx8mm-emtop-baseboard.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 /dts-v1/; 11 #include "imx8mm-emtop-som.dtsi" 15 compatible = "ees,imx8mm-emtop-baseboard", "ees,imx8mm-emtop-som", 19 compatible = "usb-c-connector"; 20 label = "USB-C"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&pinctrl_usb_otg>; 23 id-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; 27 remote-endpoint = <&usb_hs_ep>; [all …]
|
/linux-6.14.4/arch/arm64/boot/dts/amlogic/ |
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 …]
|
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"; 22 spdif_dit: audio-codec-1 { 23 #sound-dai-cells = <0>; 24 compatible = "linux,spdif-dit"; 25 sound-name-prefix = "DIT"; 29 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"; 20 sound-name-prefix = "DIT"; 24 compatible = "amlogic,axg-sound-card"; 25 model = "UGOOS-AM6"; [all …]
|
D | meson-g12a-u200.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12a.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/meson-g12a-gpio.h> 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 12 #include <dt-bindings/sound/meson-g12a-toacodec.h> 23 dioo2133: audio-amplifier-0 { 24 compatible = "simple-audio-amplifier"; 25 enable-gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>; [all …]
|
/linux-6.14.4/arch/arm/boot/dts/marvell/ |
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 …]
|
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 …]
|
/linux-6.14.4/sound/soc/bcm/ |
D | cygnus-ssp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (C) 2014-2015 Broadcom Corporation 14 #include <sound/soc-dai.h> 16 #include "cygnus-ssp.h" 187 u32 mclk; member 193 * the common MCLK frequencies used by audio driver 241 return &cygaud->portinfo[dai->id]; in cygnus_dai_get_portinfo() 249 switch (aio->port_type) { in audio_ssp_init_portregs() 251 value = readl(aio->cygaud->audio + aio->regs.i2s_stream_cfg); in audio_ssp_init_portregs() 255 writel(aio->portnum, in audio_ssp_init_portregs() [all …]
|