/linux-6.15/Documentation/devicetree/bindings/sound/ |
D | fsl,audmix.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 11 - Frank Li <Frank.Li@nxp.com> 14 The Audio Mixer is a on-chip functional module that allows mixing of two 18 frame in TDM manner. Mixer mixes audio samples of corresponding channels 22 the same TDM frame format. This output is used to drive the serial DAC TDM 27 - serial audio input 1 28 - serial audio input 2 [all …]
|
D | fsl,sai.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 15 serial interfaces with frame synchronization such as I2S, AC97, TDM, and 21 - items: 22 - enum: 23 - fsl,imx6ul-sai 24 - fsl,imx7d-sai 25 - const: fsl,imx6sx-sai [all …]
|
D | audio-graph-port.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/audio-graph-port.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 15 port-base: 17 - $ref: /schemas/graph.yaml#/$defs/port-base 18 - $ref: /schemas/sound/dai-params.yaml# 20 mclk-fs: 21 $ref: simple-card.yaml#/definitions/mclk-fs [all …]
|
/linux-6.15/arch/arm64/boot/dts/amlogic/ |
D | meson-khadas-vim3.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/gpio/meson-g12a-gpio.h> 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 22 stdout-path = "serial0:115200n8"; 30 adc-keys { 31 compatible = "adc-keys"; 32 io-channels = <&saradc 2>; 33 io-channel-names = "buttons"; [all …]
|
D | meson-g12b-odroid-n2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-g12b-odroid.dtsi" 14 dio2133: audio-amplifier-0 { 15 compatible = "simple-audio-amplifier"; 16 enable-gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>; 17 VCC-supply = <&vcc_5v>; 18 sound-name-prefix = "U19"; 22 hub_5v: regulator-hub-5v { 23 compatible = "regulator-fixed"; 24 regulator-name = "HUB_5V"; [all …]
|
D | meson-g12a-x96-max.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> 14 compatible = "amediatech,x96-max", "amlogic,g12a"; 22 spdif_dit: audio-codec-1 { 23 #sound-dai-cells = <0>; 24 compatible = "linux,spdif-dit"; [all …]
|
/linux-6.15/sound/soc/ |
D | soc-dai.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // soc-dai.c 10 #include <sound/soc-dai.h> 11 #include <sound/soc-link.h> 13 #define soc_dai_ret(dai, ret) _soc_dai_ret(dai, __func__, ret) argument 14 static inline int _soc_dai_ret(const struct snd_soc_dai *dai, in _soc_dai_ret() argument 17 return snd_soc_ret(dai->dev, ret, in _soc_dai_ret() 18 "at %s() on %s\n", func, dai->name); in _soc_dai_ret() 25 #define soc_dai_mark_push(dai, substream, tgt) ((dai)->mark_##tgt = substream) argument 26 #define soc_dai_mark_pop(dai, tgt) ((dai)->mark_##tgt = NULL) argument [all …]
|
/linux-6.15/arch/arm/boot/dts/st/ |
D | stm32mp157c-phycore-stm32mp15-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) 2022-2023 Steffen Trumtrar <kernel@pengutronix.de> 4 * Copyright (C) Phytec GmbH 2019-2020 - All Rights Reserved 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/leds/leds-pca9532.h> 14 #include <dt-bindings/mfd/st,stpmic1.h> [all …]
|
D | stm32mp15xx-dkx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2019 - All Rights Reserved 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/mfd/st,stpmic1.h> 22 reserved-memory { 23 #address-cells = <1>; 24 #size-cells = <1>; 28 compatible = "shared-dma-pool"; 30 no-map; 34 compatible = "shared-dma-pool"; [all …]
|
/linux-6.15/arch/arm64/boot/dts/freescale/ |
D | imx8ulp-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 12 compatible = "fsl,imx8ulp-evk", "fsl,imx8ulp"; 14 bt_sco_codec: bt-sco-codec { 15 #sound-dai-cells = <1>; 16 compatible = "linux,bt-sco"; 20 stdout-path = &lpuart5; 28 reserved-memory { 29 #address-cells = <2>; 30 #size-cells = <2>; [all …]
|
D | imx93-9x9-qsb.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/usb/pd.h> 13 compatible = "fsl,imx93-9x9-qsb", "fsl,imx93"; 15 bt_sco_codec: bt-sco-codec { 16 #sound-dai-cells = <1>; 17 compatible = "linux,bt-sco"; 21 stdout-path = &lpuart1; 24 reserved-memory { 25 #address-cells = <2>; [all …]
|
D | imx93-11x11-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/usb/pd.h> 13 compatible = "fsl,imx93-11x11-evk", "fsl,imx93"; 16 stdout-path = &lpuart1; 19 reserved-memory { 20 #address-cells = <2>; 21 #size-cells = <2>; 25 compatible = "shared-dma-pool"; 27 alloc-ranges = <0 0x80000000 0 0x40000000>; [all …]
|
D | imx8mp-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/phy/phy-imx8-pcie.h> 13 compatible = "fsl,imx8mp-evk", "fsl,imx8mp"; 16 stdout-path = &uart2; 19 backlight_lvds: backlight-lvds { 20 compatible = "pwm-backlight"; 22 brightness-levels = <0 100>; 23 num-interpolated-steps = <100>; 24 default-brightness-level = <100>; [all …]
|
D | imx8qxp-mek.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 9 #include <dt-bindings/usb/pd.h> 13 compatible = "fsl,imx8qxp-mek", "fsl,imx8qxp"; 15 bt_sco_codec: audio-codec-bt { 16 compatible = "linux,bt-sco"; 17 #sound-dai-cells = <1>; 21 stdout-path = &lpuart0; 24 imx8x_cm4: imx8x-cm4 { 25 compatible = "fsl,imx8qxp-cm4"; [all …]
|
D | imx95-15x15-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/i3c/i3c.h> 9 #include <dt-bindings/leds/common.h> 10 #include <dt-bindings/phy/phy-imx8-pcie.h> 11 #include <dt-bindings/pwm/pwm.h> 12 #include <dt-bindings/usb/pd.h> 25 compatible = "fsl,imx95-15x15-evk", "fsl,imx95"; 34 bt_sco_codec: bt-sco-codec { 35 compatible = "linux,bt-sco"; [all …]
|
D | imx8qm-mek.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2018-2019 NXP 7 /dts-v1/; 9 #include <dt-bindings/usb/pd.h> 14 compatible = "fsl,imx8qm-mek", "fsl,imx8qm"; 17 stdout-path = &lpuart0; 21 /delete-node/ cpu-map; 22 /delete-node/ cpu@100; 23 /delete-node/ cpu@101; 26 thermal-zones { [all …]
|
D | imx8dxl-evk.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 12 compatible = "fsl,imx8dxl-evk", "fsl,imx8dxl"; 24 stdout-path = &lpuart0; 27 imx8dxl-cm4 { 28 compatible = "fsl,imx8qxp-cm4"; 30 mbox-names = "tx", "rx", "rxdb"; 32 memory-region = <&vdevbuffer>, <&vdev0vring0>, <&vdev0vring1>, 34 power-domains = <&pd IMX_SC_R_M4_0_PID0>, <&pd IMX_SC_R_M4_0_MU_1A>; 35 fsl,resource-id = <IMX_SC_R_M4_0_PID0>; [all …]
|
/linux-6.15/sound/soc/codecs/ |
D | adau7118.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Analog Devices ADAU7118 8 channel PDM-to-I2S/TDM Converter driver 36 struct regmap *map; member 123 static int adau7118_set_channel_map(struct snd_soc_dai *dai, in adau7118_set_channel_map() argument 130 snd_soc_component_get_drvdata(dai->component); in adau7118_set_channel_map() 133 dev_dbg(st->dev, "Set channel map, %d", tx_num); in adau7118_set_channel_map() 136 ret = snd_soc_component_update_bits(dai->component, in adau7118_set_channel_map() 147 static int adau7118_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in adau7118_set_fmt() argument 150 snd_soc_component_get_drvdata(dai->component); in adau7118_set_fmt() 154 dev_dbg(st->dev, "Set format, fmt:%d\n", fmt); in adau7118_set_fmt() [all …]
|
D | tas6424.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ALSA SoC Texas Instruments TAS6424 Quad-Channel Audio Amplifier 5 * Copyright (C) 2016-2017 Texas Instruments Incorporated - https://www.ti.com/ 23 #include <sound/soc-dapm.h> 32 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */ 34 "pvdd", /* Class-D amp output FETs supply. */ 52 * DAC digital volumes. From -103.5 to 24 dB in 0.5 dB steps. Note that 53 * setting the gain below -100 dB (register value <0x7) is effectively a MUTE 56 static DECLARE_TLV_DB_SCALE(dac_tlv, -10350, 50, 0); 74 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in tas6424_dac_event() [all …]
|
D | ab8500-codec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2012 8 * for ST-Ericsson. 14 * for ST-Ericsson. 29 #include <linux/mfd/abx500/ab8500-sysctrl.h> 30 #include <linux/mfd/abx500/ab8500-codec.h> 39 #include <sound/soc-dapm.h> 42 #include "ab8500-codec.h" 56 /* Nr of FIR/IIR-coeff banks in ANC-block */ 114 /* Private data for AB8500 device-driver */ [all …]
|
D | tas5720.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * tas5720.c - ALSA SoC Texas Instruments TAS5720 Mono Audio Amplifier 5 * Copyright (C)2015-2016 Texas Instruments Incorporated - https://www.ti.com 22 #include <sound/soc-dapm.h> 37 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */ 38 "pvdd", /* Class-D amp and analog power supply (connected). */ 54 struct snd_soc_dai *dai) in tas5720_hw_params() argument 56 struct snd_soc_component *component = dai->component; in tas5720_hw_params() 71 dev_err(component->dev, "unsupported sample rate: %u\n", rate); in tas5720_hw_params() 72 return -EINVAL; in tas5720_hw_params() [all …]
|
/linux-6.15/sound/soc/meson/ |
D | axg-tdmout.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 10 #include <sound/soc-dai.h> 12 #include "axg-tdm-formatter.h" 62 if (!p->connect) in axg_tdmout_get_be() 65 if (p->sink->id == snd_soc_dapm_dai_in) in axg_tdmout_get_be() 66 return (struct snd_soc_dai *)p->sink->priv; in axg_tdmout_get_be() 68 be = axg_tdmout_get_be(p->sink); in axg_tdmout_get_be() 87 static void axg_tdmout_enable(struct regmap *map) in axg_tdmout_enable() argument 90 regmap_update_bits(map, TDMOUT_CTRL0, in axg_tdmout_enable() 94 regmap_update_bits(map, TDMOUT_CTRL0, in axg_tdmout_enable() [all …]
|
D | axg-tdmin.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 10 #include <sound/soc-dai.h> 12 #include "axg-tdm-formatter.h" 64 if (!p->connect) in axg_tdmin_get_be() 67 if (p->source->id == snd_soc_dapm_dai_out) in axg_tdmin_get_be() 68 return (struct snd_soc_dai *)p->source->priv; in axg_tdmin_get_be() 70 be = axg_tdmin_get_be(p->source); in axg_tdmin_get_be() 89 static void axg_tdmin_enable(struct regmap *map) in axg_tdmin_enable() argument 92 regmap_update_bits(map, TDMIN_CTRL, in axg_tdmin_enable() 96 regmap_update_bits(map, TDMIN_CTRL, in axg_tdmin_enable() [all …]
|
/linux-6.15/sound/soc/generic/ |
D | simple-card-utils.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // simple-card-utils.c 7 #include <dt-bindings/sound/audio-graph.h> 28 int val = -EINVAL; in simple_util_get_sample_fmt() 42 if (!strcmp(data->convert_sample_format, in simple_util_get_sample_fmt() 79 snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-rate"); in simple_util_parse_convert() 80 of_property_read_u32(np, prop, &data->convert_rate); in simple_util_parse_convert() 83 snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-channels"); in simple_util_parse_convert() 84 of_property_read_u32(np, prop, &data->convert_channels); in simple_util_parse_convert() 87 snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-sample-format"); in simple_util_parse_convert() [all …]
|
/linux-6.15/sound/soc/atmel/ |
D | mchp-i2s-mcc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Driver for Microchip I2S Multi-channel controller 29 * ---- I2S Controller Register map ---- 75 * ---- Control Register (Write-only) ---- 86 * ---- Mode Register A (Read/Write) ---- 135 /* Number of TDM Channels - 1 */ 138 ((((ch) - 1) << 13) & MCHP_I2SMCC_MRA_NBCHAN_MASK) 145 /* TDM Frame Synchronization */ 163 /* Slot Width */ 164 /* 0: slot is 32 bits wide for DATALENGTH = 18/20/24 bits. */ [all …]
|