/linux/Documentation/devicetree/bindings/sound/ |
H A D | tdm-slot.txt | 1 TDM slot: 3 This specifies audio DAI's TDM slot. 5 TDM slot properties: 6 dai-tdm-slot-num : Number of slots in use. 7 dai-tdm-slot-width : Width in bits for each slot. 8 dai-tdm-slot-tx-mask : Transmit direction slot mask, optional 9 dai-tdm-slot-rx-mask : Receive direction slot mask, optional 12 dai-tdm-slot-num = <2>; 13 dai-tdm-slot-width = <8>; 14 dai-tdm-slot-tx-mask = <0 1>; [all …]
|
H A D | fsl,qmc-audio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/fsl,qmc-audio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Herve Codina <herve.codina@bootlin.com> 15 It provides several DAIs. For each DAI, the DAI is working in interleaved mode 16 if only one QMC channel is used by the DAI or it is working in non-interleaved 17 mode if several QMC channels are used by the DAI. 20 - $ref: dai-common.yaml# 24 const: fsl,qmc-audio [all …]
|
H A D | renesas,idt821034.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Herve Codina <herve.codina@bootlin.com> 16 The time-slots used by the codec must be set and so, the properties 17 'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and 18 'dai-tdm-slot-rx-mask' must be present in the ALSA sound card node for 19 sub-nodes that involve the codec. The codec uses one 8bit time-slot per 21 'dai-tdm-tdm-slot-with' must be set to 8. 26 - $ref: /schemas/spi/spi-peripheral-props.yaml# [all …]
|
H A D | infineon,peb2466.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Herve Codina <herve.codina@bootlin.com> 13 The Infineon PEB2466 codec is a programmable DSP-based four channels codec 16 The time-slots used by the codec must be set and so, the properties 17 'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and 18 'dai-tdm-slot-rx-mask' must be present in the sound card node for sub-nodes 19 that involve the codec. The codec uses one 8bit time-slot per channel. 20 'dai-tdm-tdm-slot-with' must be set to 8. [all …]
|
H A D | amlogic,axg-sound-card.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/amlogic,axg-sound-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jerome Brunet <jbrunet@baylibre.com> 13 - $ref: sound-card-common.yaml# 17 const: amlogic,axg-sound-card 19 audio-aux-devs: 20 $ref: /schemas/types.yaml#/definitions/phandle-array 23 audio-widgets: [all …]
|
H A D | st,sti-asoc-card.txt | 3 The sti ASoC Sound Card can be used, for all sti SoCs using internal sti-sas 8 Documentation/devicetree/bindings/sound/simple-card.yaml. 10 1) sti-uniperiph-dai: audio dai device. 11 --------------------------------------- 14 - compatible: "st,stih407-uni-player-hdmi", "st,stih407-uni-player-pcm-out", 15 "st,stih407-uni-player-dac", "st,stih407-uni-player-spdif", 16 "st,stih407-uni-reader-pcm_in", "st,stih407-uni-reader-hdmi", 18 - st,syscfg: phandle to boot-device system configuration registers 20 - clock-names: name of the clocks listed in clocks property in the same order 22 - reg: CPU DAI IP Base address and size entries, listed in same [all …]
|
H A 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/Documentation/devicetree/bindings/net/ |
H A D | lantiq,pef2256.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Herve Codina <herve.codina@bootlin.com> 20 - const: lantiq,pef2256 27 - description: Master Clock 28 - description: System Clock Receive 29 - description: System Clock Transmit 31 clock-names: 33 - const: mclk [all …]
|
/linux/sound/soc/ |
H A 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/arch/arm64/boot/dts/renesas/ |
H A D | ulcb-kf-simple-audio-card.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 * (A) CPU0 <----> ak4613 10 * (B) CPU1 ----> HDMI 11 * (C) CPU2 ----> PCM3168A-p 12 * (D) CPU3 <---- PCM3168A-c 14 * (A) aplay -D plughw:0,0 xxx.wav 15 * (B) aplay -D plughw:0,1 xxx.wav 16 * (C) aplay -D plughw:1,0 xxx.wav 18 * (A) arecord -D plughw:0,0 xxx.wav 19 * (D) arecord -D plughw:1,1 xxx.wav [all …]
|
H A D | ulcb-kf-audio-graph-card.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 * (A) CPU0 <----> ak4613 10 * (B) CPU1 ----> HDMI 11 * (C) CPU2 ----> PCM3168A-p (8ch) 12 * (D) CPU3 <---- PCM3168A-c (6ch) 14 * (A) aplay -D plughw:0,0 xxx.wav 15 * (B) aplay -D plughw:0,1 xxx.wav 16 * (C) aplay -D plughw:1,0 xxx.wav 18 * (A) arecord -D plughw:0,0 xxx.wav 19 * (D) arecord -D plughw:1,1 xxx.wav [all …]
|
/linux/sound/soc/meson/ |
H A D | axg-card.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 9 #include <sound/soc-dai.h> 11 #include "axg-tdm.h" 12 #include "meson-card.h" 30 * Those will be over-written by the CPU side of the link 44 struct meson_card *priv = snd_soc_card_get_drvdata(rtd->card); in axg_card_tdm_be_hw_params() 46 (struct axg_dai_link_tdm_data *)priv->link_data[rtd->id]; in axg_card_tdm_be_hw_params() 48 return meson_card_i2s_set_sysclk(substream, params, be->mclk_fs); in axg_card_tdm_be_hw_params() 57 struct meson_card *priv = snd_soc_card_get_drvdata(rtd->card); in axg_card_tdm_dai_init() 59 (struct axg_dai_link_tdm_data *)priv->link_data[rtd->id]; in axg_card_tdm_dai_init() [all …]
|
/linux/sound/soc/qcom/qdsp6/ |
H A D | q6afe-dai.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2011-2017, The Linux Foundation. All rights reserved. 5 #include <dt-bindings/sound/qcom,q6afe.h> 15 #include "q6dsp-lpass-ports.h" 16 #include "q6dsp-common.h" 39 struct snd_soc_dai *dai) in q6slim_hw_params() argument 42 struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6slim_hw_params() 43 struct q6afe_slim_cfg *slim = &dai_data->port_config[dai->id].slim; in q6slim_hw_params() 45 slim->sample_rate = params_rate(params); in q6slim_hw_params() 50 slim->bit_width = 16; in q6slim_hw_params() [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-g12a-sei510.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/input/input.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; 21 io-channel-names = "buttons"; [all …]
|
H A D | meson-sm1-sei610.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-sm1.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 23 mono_dac: audio-codec-0 { 25 #sound-dai-cells = <0>; 26 sound-name-prefix = "U16"; [all …]
|
H A D | meson-axg-s400.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-axg.dtsi" 9 #include <dt-bindings/input/input.h> 12 compatible = "amlogic,s400", "amlogic,a113d", "amlogic,meson-axg"; 16 compatible = "adc-keys"; 17 io-channels = <&saradc 0>; 18 io-channel-names = "buttons"; 19 keyup-threshold-microvolt = <1800000>; 21 button-next { [all …]
|
/linux/sound/soc/generic/ |
H A 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 …]
|
H A D | test-component.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // test-component.c -- Test Audio Component driver 38 #define mile_stone(d) dev_info((d)->dev, "%s() : %s", __func__, (d)->driver->name) 41 static int test_dai_set_sysclk(struct snd_soc_dai *dai, in test_dai_set_sysclk() argument 44 mile_stone(dai); in test_dai_set_sysclk() 49 static int test_dai_set_pll(struct snd_soc_dai *dai, int pll_id, int source, in test_dai_set_pll() argument 52 mile_stone(dai); in test_dai_set_pll() 57 static int test_dai_set_clkdiv(struct snd_soc_dai *dai, int div_id, int div) in test_dai_set_clkdiv() argument 59 mile_stone(dai); in test_dai_set_clkdiv() 64 static int test_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in test_dai_set_fmt() argument [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mm-evk.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/phy/phy-imx8-pcie.h> 9 #include <dt-bindings/usb/pd.h> 14 stdout-path = &uart2; 22 hdmi-connector { 23 compatible = "hdmi-connector"; 29 remote-endpoint = <&adv7535_out>; 35 compatible = "gpio-leds"; 36 pinctrl-names = "default"; [all …]
|
H A D | imx943-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright 2024-2025 NXP 6 /dts-v1/; 11 compatible = "fsl,imx943-evk", "fsl,imx94"; 23 bt_sco_codec: bt-sco-codec { 24 compatible = "linux,bt-sco"; 25 #sound-dai-cells = <1>; 29 stdout-path = &lpuart1; 33 compatible = "dmic-codec"; 34 #sound-dai-cells = <0>; [all …]
|
H A D | imx95-19x19-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/pwm/pwm.h> 9 #include <dt-bindings/usb/pd.h> 15 #define BRD_SM_CTRL_SD3_WAKE 0x8000 /* PCAL6408A-0 */ 16 #define BRD_SM_CTRL_PCIE1_WAKE 0x8001 /* PCAL6408A-4 */ 17 #define BRD_SM_CTRL_BT_WAKE 0x8002 /* PCAL6408A-5 */ 18 #define BRD_SM_CTRL_PCIE2_WAKE 0x8003 /* PCAL6408A-6 */ 19 #define BRD_SM_CTRL_BUTTON 0x8004 /* PCAL6408A-7 */ 23 compatible = "fsl,imx95-19x19-evk", "fsl,imx95"; [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A 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 …]
|
H A 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/sound/soc/bcm/ |
H A 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" 173 #define INIT_SSP_REGS(num) (struct cygnus_ssp_regs){ \ argument 174 .i2s_stream_cfg = OUT_I2S_ ##num## _STREAM_CFG_OFFSET, \ 175 .i2s_cap_stream_cfg = IN_I2S_ ##num## _STREAM_CFG_OFFSET, \ 176 .i2s_cfg = OUT_I2S_ ##num## _CFG_OFFSET, \ 177 .i2s_cap_cfg = IN_I2S_ ##num## _CFG_OFFSET, \ 178 .i2s_mclk_cfg = OUT_I2S_ ##num## _MCLK_CFG_OFFSET, \ [all …]
|
/linux/sound/soc/renesas/rcar/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Renesas R-Car SRU/SCU/SSIU/SSI support 12 * Renesas R-Car sound device structure 17 * - SRC : Sampling Rate Converter 18 * - CMD 19 * - CTU : Channel Count Conversion Unit 20 * - MIX : Mixer 21 * - DVC : Digital Volume and Mute Function 22 * - SSI : Serial Sound Interface 27 * - SRC : Sampling Rate Converter [all …]
|