| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | qcom,q6afe.txt | 7 - compatible: 10 Definition: must be "qcom,q6afe-v<MAJOR-NUMBER>.<MINOR-NUMBER>" 20 - compatible: 23 Definition: must be "qcom,q6afe-dais" 25 - #sound-dai-cells 30 - #address-cells 35 - #size-cells 43 - reg 48 - qcom,sd-lines 50 Value type: <prop-encoded-array> [all …]
|
| D | fsl-sai.txt | 5 serial interfaces with frame synchronization such as I2S, AC97, TDM, and 10 - compatible : Compatible list, contains "fsl,vf610-sai", 11 "fsl,imx6sx-sai", "fsl,imx6ul-sai", 12 "fsl,imx7ulp-sai", "fsl,imx8mq-sai" or 13 "fsl,imx8qm-sai". 15 - reg : Offset and length of the register set for the device. 17 - clocks : Must contain an entry for each entry in clock-names. 19 - clock-names : Must include the "bus" for register access and 22 - dmas : Generic dma devicetree binding as described in 25 - dma-names : Two dmas have to be defined, "tx" and "rx". [all …]
|
| D | st,stm32-sai.txt | 4 as I2S standards, LSB or MSB-justified, PCM/DSP, TDM, and AC'97. 5 The SAI contains two independent audio sub-blocks. Each sub-block has 9 - compatible: Should be "st,stm32f4-sai" or "st,stm32h7-sai" 10 - reg: Base address and size of SAI common register set. 11 - clocks: Must contain phandle and clock specifier pairs for each entry 12 in clock-names. 13 - clock-names: Must contain "pclk" "x8k" and "x11k" 15 Mandatory for "st,stm32h7-sai" compatible. 16 Not used for "st,stm32f4-sai" compatible. 19 - interrupts: cpu DAI interrupt line shared by SAI sub-blocks [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | qcom,q6dsp-lpass-ports.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/qcom,q6dsp-lpass-ports.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 18 - qcom,q6afe-dais 20 '#sound-dai-cells': 23 '#address-cells': 26 '#size-cells': 31 '^dai@[0-9]+$': [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 …]
|
| /kernel/linux/linux-6.6/drivers/soc/fsl/qe/ |
| D | tsa.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <dt-bindings/soc/cpm1-fsl,tsa.h> 33 /* SI mode register (32 bits) */ 54 /* SI global mode register (8 bits) */ 125 struct tsa_tdm tdm[2]; /* TDMa and TDMb */ member 135 return container_of(tsa_serial, struct tsa, serials[tsa_serial->id]); in tsa_serial_get_tsa() 170 switch (tsa_serial->id) { in tsa_serial_connect() 184 dev_err(tsa->dev, "Unsupported serial id %u\n", tsa_serial->id); in tsa_serial_connect() 185 return -EINVAL; in tsa_serial_connect() 188 spin_lock_irqsave(&tsa->lock, flags); in tsa_serial_connect() [all …]
|
| D | ucc_fast.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * QE UCC Fast API Set - UCC Fast specific routines implementations. 28 printk(KERN_INFO "UCC%u Fast registers:\n", uccf->uf_info->ucc_num); in ucc_fast_dump_regs() 29 printk(KERN_INFO "Base address: 0x%p\n", uccf->uf_regs); in ucc_fast_dump_regs() 32 &uccf->uf_regs->gumr, ioread32be(&uccf->uf_regs->gumr)); in ucc_fast_dump_regs() 34 &uccf->uf_regs->upsmr, ioread32be(&uccf->uf_regs->upsmr)); in ucc_fast_dump_regs() 36 &uccf->uf_regs->utodr, ioread16be(&uccf->uf_regs->utodr)); in ucc_fast_dump_regs() 38 &uccf->uf_regs->udsr, ioread16be(&uccf->uf_regs->udsr)); in ucc_fast_dump_regs() 40 &uccf->uf_regs->ucce, ioread32be(&uccf->uf_regs->ucce)); in ucc_fast_dump_regs() 42 &uccf->uf_regs->uccm, ioread32be(&uccf->uf_regs->uccm)); in ucc_fast_dump_regs() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/ti/ |
| D | davinci-mcasp.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * Author: Nirmal Pandey <n-pandey@ti.com>, 70 /* Left(even TDM Slot) Channel Status Register File */ 72 /* Right(odd TDM slot) Channel Status Register File */ 74 /* Left(even TDM slot) User Data Register File */ 76 /* Right(odd TDM Slot) User Data Register File */ 100 * DAVINCI_MCASP_PWREMUMGT_REG - Power Down and Emulation Management 107 * DAVINCI_MCASP_PFUNC_REG - Pin Function / GPIO Enable Register Bits 108 * DAVINCI_MCASP_PDIR_REG - Pin Direction Register Bits 109 * DAVINCI_MCASP_PDOUT_REG - Pin output in GPIO mode [all …]
|
| D | davinci-mcasp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Multi-channel Audio Serial Port Driver 7 * Author: Nirmal Pandey <n-pandey@ti.com>, 39 #include "edma-pcm.h" 40 #include "sdma-pcm.h" 41 #include "udma-pcm.h" 42 #include "davinci-mcasp.h" 136 void __iomem *reg = mcasp->base + offset; in mcasp_set_bits() 143 void __iomem *reg = mcasp->base + offset; in mcasp_clr_bits() 150 void __iomem *reg = mcasp->base + offset; in mcasp_mod_bits() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/ti/ |
| D | davinci-mcasp.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * Author: Nirmal Pandey <n-pandey@ti.com>, 70 /* Left(even TDM Slot) Channel Status Register File */ 72 /* Right(odd TDM slot) Channel Status Register File */ 74 /* Left(even TDM slot) User Data Register File */ 76 /* Right(odd TDM Slot) User Data Register File */ 100 * DAVINCI_MCASP_PWREMUMGT_REG - Power Down and Emulation Management 107 * DAVINCI_MCASP_PFUNC_REG - Pin Function / GPIO Enable Register Bits 108 * DAVINCI_MCASP_PDIR_REG - Pin Direction Register Bits 109 * DAVINCI_MCASP_PDOUT_REG - Pin output in GPIO mode [all …]
|
| D | davinci-mcasp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Multi-channel Audio Serial Port Driver 7 * Author: Nirmal Pandey <n-pandey@ti.com>, 39 #include "edma-pcm.h" 40 #include "sdma-pcm.h" 41 #include "udma-pcm.h" 42 #include "davinci-mcasp.h" 131 void __iomem *reg = mcasp->base + offset; in mcasp_set_bits() 138 void __iomem *reg = mcasp->base + offset; in mcasp_clr_bits() 145 void __iomem *reg = mcasp->base + offset; in mcasp_mod_bits() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/qcom/qdsp6/ |
| D | q6afe-dai.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2011-2017, The Linux Foundation. All rights reserved. 14 #include "q6dsp-lpass-ports.h" 15 #include "q6dsp-common.h" 41 struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6slim_hw_params() 42 struct q6afe_slim_cfg *slim = &dai_data->port_config[dai->id].slim; in q6slim_hw_params() 44 slim->sample_rate = params_rate(params); in q6slim_hw_params() 49 slim->bit_width = 16; in q6slim_hw_params() 52 slim->bit_width = 24; in q6slim_hw_params() 55 slim->bit_width = 32; in q6slim_hw_params() [all …]
|
| /kernel/linux/linux-6.6/Documentation/sound/soc/ |
| D | dai.rst | 35 I2S has several different operating modes:- 51 flexible protocol. It has bit clock (BCLK) and sync (SYNC) lines that are used 54 while sync runs at the sample rate. PCM also supports Time Division 55 Multiplexing (TDM) in that several devices can use the bus simultaneously (this 56 is sometimes referred to as network mode). 58 Common PCM operating modes:- 60 Mode A 61 MSB is transmitted on falling edge of first BCLK after FRAME/SYNC. 63 Mode B 64 MSB is transmitted on rising edge of FRAME/SYNC.
|
| /kernel/linux/linux-5.10/Documentation/sound/soc/ |
| D | dai.rst | 35 I2S has several different operating modes:- 51 flexible protocol. It has bit clock (BCLK) and sync (SYNC) lines that are used 54 while sync runs at the sample rate. PCM also supports Time Division 55 Multiplexing (TDM) in that several devices can use the bus simultaneously (this 56 is sometimes referred to as network mode). 58 Common PCM operating modes:- 60 Mode A 61 MSB is transmitted on falling edge of first BCLK after FRAME/SYNC. 63 Mode B 64 MSB is transmitted on rising edge of FRAME/SYNC.
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| 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 23 #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). */ 57 struct snd_soc_component *component = dai->component; in tas5720_hw_params() 72 dev_err(component->dev, "unsupported sample rate: %u\n", rate); in tas5720_hw_params() 73 return -EINVAL; in tas5720_hw_params() 79 dev_err(component->dev, "error setting sample rate: %d\n", ret); in tas5720_hw_params() [all …]
|
| D | pcm3168a.c | 1 // SPDX-License-Identifier: GPL-2.0-only 111 static const char *const pcm3168a_con[] = { "Differential", "Single-Ended" }; 129 /* -100db to 0db, register values 0-54 cause mute */ 130 static const DECLARE_TLV_DB_SCALE(pcm3168a_dac_tlv, -10050, 50, 1); 132 /* -100db to 20db, register values 0-14 cause mute */ 133 static const DECLARE_TLV_DB_SCALE(pcm3168a_adc_tlv, -10050, 50, 1); 136 SOC_SINGLE("DAC Power-Save Switch", PCM3168A_DAC_PWR_MST_FMT, 138 SOC_ENUM("DAC1 Digital Filter roll-off", pcm3168a_d1_roll_off), 139 SOC_ENUM("DAC2 Digital Filter roll-off", pcm3168a_d2_roll_off), 140 SOC_ENUM("DAC3 Digital Filter roll-off", pcm3168a_d3_roll_off), [all …]
|
| /kernel/linux/linux-6.6/sound/soc/mediatek/mt8186/ |
| D | mt8186-dai-tdm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // MediaTek ALSA SoC Audio DAI TDM Control 11 #include "mt8186-afe-clk.h" 12 #include "mt8186-afe-common.h" 13 #include "mt8186-afe-gpio.h" 14 #include "mt8186-interconnection.h" 60 unsigned int mode) in get_tdm_lrck_width() argument 62 if (mode == TDM_IN_DSP_A || mode == TDM_IN_DSP_B) in get_tdm_lrck_width() 65 return snd_pcm_format_physical_width(format) - 1; in get_tdm_lrck_width() 78 static unsigned int get_tdm_ch_per_sdata(unsigned int mode, in get_tdm_ch_per_sdata() argument [all …]
|
| /kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/ |
| D | q6afe-dai.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2011-2017, The Linux Foundation. All rights reserved. 18 .stream_name = pre" TDM"#num" Playback", \ 39 .stream_name = pre" TDM"#num" Capture", \ 122 struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); in q6slim_hw_params() 123 struct q6afe_slim_cfg *slim = &dai_data->port_config[dai->id].slim; in q6slim_hw_params() 125 slim->sample_rate = params_rate(params); in q6slim_hw_params() 130 slim->bit_width = 16; in q6slim_hw_params() 133 slim->bit_width = 24; in q6slim_hw_params() 136 slim->bit_width = 32; in q6slim_hw_params() [all …]
|
| /kernel/linux/linux-5.10/drivers/soc/fsl/qe/ |
| D | ucc_fast.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * QE UCC Fast API Set - UCC Fast specific routines implementations. 28 printk(KERN_INFO "UCC%u Fast registers:\n", uccf->uf_info->ucc_num); in ucc_fast_dump_regs() 29 printk(KERN_INFO "Base address: 0x%p\n", uccf->uf_regs); in ucc_fast_dump_regs() 32 &uccf->uf_regs->gumr, qe_ioread32be(&uccf->uf_regs->gumr)); in ucc_fast_dump_regs() 34 &uccf->uf_regs->upsmr, qe_ioread32be(&uccf->uf_regs->upsmr)); in ucc_fast_dump_regs() 36 &uccf->uf_regs->utodr, qe_ioread16be(&uccf->uf_regs->utodr)); in ucc_fast_dump_regs() 38 &uccf->uf_regs->udsr, qe_ioread16be(&uccf->uf_regs->udsr)); in ucc_fast_dump_regs() 40 &uccf->uf_regs->ucce, qe_ioread32be(&uccf->uf_regs->ucce)); in ucc_fast_dump_regs() 42 &uccf->uf_regs->uccm, qe_ioread32be(&uccf->uf_regs->uccm)); in ucc_fast_dump_regs() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| 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). */ 57 struct snd_soc_component *component = dai->component; in tas5720_hw_params() 72 dev_err(component->dev, "unsupported sample rate: %u\n", rate); in tas5720_hw_params() 73 return -EINVAL; in tas5720_hw_params() 79 dev_err(component->dev, "error setting sample rate: %d\n", ret); in tas5720_hw_params() [all …]
|
| D | pcm3168a.c | 1 // SPDX-License-Identifier: GPL-2.0-only 109 static const char *const pcm3168a_con[] = { "Differential", "Single-Ended" }; 127 /* -100db to 0db, register values 0-54 cause mute */ 128 static const DECLARE_TLV_DB_SCALE(pcm3168a_dac_tlv, -10050, 50, 1); 130 /* -100db to 20db, register values 0-14 cause mute */ 131 static const DECLARE_TLV_DB_SCALE(pcm3168a_adc_tlv, -10050, 50, 1); 134 SOC_SINGLE("DAC Power-Save Switch", PCM3168A_DAC_PWR_MST_FMT, 136 SOC_ENUM("DAC1 Digital Filter roll-off", pcm3168a_d1_roll_off), 137 SOC_ENUM("DAC2 Digital Filter roll-off", pcm3168a_d2_roll_off), 138 SOC_ENUM("DAC3 Digital Filter roll-off", pcm3168a_d3_roll_off), [all …]
|
| /kernel/linux/linux-6.6/sound/soc/rockchip/ |
| D | rockchip_i2s_tdm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // ALSA SoC Audio Layer - Rockchip I2S/TDM Controller driver 5 // Author: Sugar Zhang <sugar.zhang@rock-chips.com> 9 #include <linux/clk-provider.h> 25 #define DRV_NAME "rockchip-i2s-tdm" 94 clk_disable_unprepare(i2s_tdm->mclk_tx); in i2s_tdm_disable_unprepare_mclk() 95 clk_disable_unprepare(i2s_tdm->mclk_rx); in i2s_tdm_disable_unprepare_mclk() 99 * i2s_tdm_prepare_enable_mclk - prepare to enable all mclks, disable them on 112 ret = clk_prepare_enable(i2s_tdm->mclk_tx); in i2s_tdm_prepare_enable_mclk() 115 ret = clk_prepare_enable(i2s_tdm->mclk_rx); in i2s_tdm_prepare_enable_mclk() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| 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> 16 reserved-memory { 17 #address-cells = <1>; 18 #size-cells = <1>; 22 compatible = "shared-dma-pool"; 24 no-map; 28 compatible = "shared-dma-pool"; [all …]
|
| /kernel/linux/linux-5.10/sound/soc/fsl/ |
| D | fsl_audmix.c | 1 // SPDX-License-Identifier: GPL-2.0 52 /* DIS->DIS, do nothing */ 54 /* DIS->TDM1*/ 55 { .tdms = 1, .clk = 1, .msg = "DIS->TDM1: TDM1 not started!\n" }, 56 /* DIS->TDM2*/ 57 { .tdms = 2, .clk = 2, .msg = "DIS->TDM2: TDM2 not started!\n" }, 58 /* DIS->MIX */ 59 { .tdms = 3, .clk = 0, .msg = "DIS->MIX: Please start both TDMs!\n" } 60 }, { /* TDM1->DIS */ 61 { .tdms = 1, .clk = 0, .msg = "TDM1->DIS: TDM1 not started!\n" }, [all …]
|