/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-g12.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-g12-common.dtsi" 8 #include <dt-bindings/clock/axg-audio-clkc.h> 9 #include <dt-bindings/power/meson-g12a-power.h> 10 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 11 #include <dt-bindings/reset/amlogic,meson-g12a-audio-reset.h> 14 tdmif_a: audio-controller-0 { 15 compatible = "amlogic,axg-tdm-iface"; 16 #sound-dai-cells = <0>; 17 sound-name-prefix = "TDM_A"; [all …]
|
H A D | meson-sm1.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-g12-common.dtsi" 8 #include <dt-bindings/clock/axg-audio-clkc.h> 9 #include <dt-bindings/power/meson-sm1-power.h> 10 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 11 #include <dt-bindings/reset/amlogic,meson-g12a-audio-reset.h> 16 tdmif_a: audio-controller-0 { 17 compatible = "amlogic,axg-tdm-iface"; 18 #sound-dai-cells = <0>; 19 sound-name-prefix = "TDM_A"; [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
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> 14 Controller) channels to transfer the audio data. 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# [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 | hisilicon,hi6210-i2s.txt | 1 * Hisilicon 6210 i2s controller 5 - compatible: should be one of the following: 6 - "hisilicon,hi6210-i2s" 7 - reg: physical base address of the i2s controller unit and length of 9 - interrupts: should contain the i2s interrupt. 10 - clocks: a list of phandle + clock-specifier pairs, one for each entry 11 in clock-names. 12 - clock-names: should contain following: 13 - "dacodec" 14 - "i2s-base" [all …]
|
H A D | samsung,snow.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 16 - google,snow-audio-max98090 17 - google,snow-audio-max98091 18 - google,snow-audio-max98095 24 sound-dai: 27 - description: Phandle to the MAX98090, MAX98091 or MAX98095 CODEC. [all …]
|
H A D | nxp,lpc3220-i2s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nxp,lpc3220-i2s.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP LPC32XX I2S Controller 10 The I2S controller in LPC32XX SoCs, ASoC DAI. 13 - J.M.B. Downing <jonathan.downing@nautel.com> 14 - Piotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com> 17 - $ref: dai-common.yaml# 22 - nxp,lpc3220-i2s [all …]
|
H A D | qcom,wcd9335.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 13 Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC with in-built 14 Soundwire controller and interrupt mux. It supports both I2S/I2C and SLIMbus 27 clock-names: 29 - const: mclk 30 - const: slimbus 35 interrupt-names: [all …]
|
H A D | rockchip,pdm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip PDM controller 10 The Pulse Density Modulation Interface Controller (PDMC) is 11 a PDM interface controller and decoder that support PDM format. 17 - Heiko Stuebner <heiko@sntech.de> 20 - $ref: dai-common.yaml# 25 - rockchip,pdm 26 - rockchip,px30-pdm [all …]
|
H A D | mikroe,mikroe-proto.txt | 1 Mikroe-PROTO audio board 4 - compatible: "mikroe,mikroe-proto" 5 - dai-format: Must be "i2s". 6 - i2s-controller: The phandle of the I2S controller. 7 - audio-codec: The phandle of the WM8731 audio codec. 9 - model: The user-visible name of this sound complex. 10 - bitclock-master: Indicates dai-link bit clock master; for details see simple-card.txt (1). 11 - frame-master: Indicates dai-link frame master; for details see simple-card.txt (1). 17 compatible = "mikroe,mikroe-proto"; 19 i2s-controller = <&i2s0>; [all …]
|
H A D | ingenic,aic.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Ingenic SoCs AC97 / I2S Controller (AIC) 10 - Paul Cercueil <paul@crapouillou.net> 13 - $ref: dai-common.yaml# 17 pattern: '^audio-controller@' 21 - enum: 22 - ingenic,jz4740-i2s 23 - ingenic,jz4760-i2s [all …]
|
H A 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# 23 and PCM DAI formats. However, it'll be also possible to support those non 28 - Shengjiu Wang <shengjiu.wang@nxp.com> 33 - items: 34 - enum: 35 - fsl,imx-sgtl5000 36 - fsl,imx25-pdk-sgtl5000 [all …]
|
H A D | nvidia,tegra20-spdif.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra20-spdif.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NVIDIA Tegra20 S/PDIF Controller 10 The S/PDIF controller supports both input and output in serial audio 11 digital interface format. The input controller can digitally recover 12 a clock from the received stream. The S/PDIF controller is also used 16 - Thierry Reding <treding@nvidia.com> 17 - Jon Hunter <jonathanh@nvidia.com> [all …]
|
H A D | amlogic,aiu.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Amlogic AIU audio output controller 10 - Jerome Brunet <jbrunet@baylibre.com> 13 - $ref: dai-common.yaml# 17 pattern: "^audio-controller@.*" 19 "#sound-dai-cells": 24 - enum: 25 - amlogic,aiu-gxbb [all …]
|
H A D | qcom,q6usb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm ASoC DPCM USB backend DAI 10 - Wesley Cheng <quic_wcheng@quicinc.com> 14 backend DAI will communicate the required settings to initialize the 15 XHCI host controller properly for enabling the offloaded audio stream. 18 the XHCI host controller. 21 - $ref: dai-common.yaml# 26 - qcom,q6usb [all …]
|
H A D | snps,designware-i2s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/snps,designware-i2s.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: DesignWare I2S controller 10 - Jose Abreu <joabreu@synopsys.com> 15 - items: 16 - const: canaan,k210-i2s 17 - const: snps,designware-i2s 18 - enum: [all …]
|
H A D | amlogic,axg-spdifin.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/amlogic,axg-spdifin.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jerome Brunet <jbrunet@baylibre.com> 15 - const: amlogic,axg-spdifin 16 - items: 17 - enum: 18 - amlogic,g12a-spdifin 19 - amlogic,sm1-spdifin [all …]
|
H A D | starfive,jh7110-pwmdac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/starfive,jh7110-pwmdac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: StarFive JH7110 PWM-DAC Controller 10 The PWM-DAC Controller uses PWM square wave generators plus RC filters to 11 form a DAC for audio play in StarFive JH7110 SoC. This audio play controller 16 - Hal Feng <hal.feng@starfivetech.com> 19 - $ref: dai-common.yaml# 23 const: starfive,jh7110-pwmdac [all …]
|
H A D | mscc,zl38060.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Jaroslav Kysela <perex@perex.cz> 16 - Takashi Iwai <tiwai@suse.com> 19 - $ref: dai-common.yaml# 30 spi-max-frequency: 33 reset-gpios: 39 '#gpio-cells': 42 gpio-controller: true [all …]
|
H A D | marvell,mmp-sspa.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/marvell,mmp-sspa.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lubomir Rintel <lkundrak@v3.sk> 13 - $ref: dai-common.yaml# 17 pattern: "^audio-controller(@.*)?$" 20 const: marvell,mmp-sspa 24 - description: RX block 25 - description: TX block [all …]
|
/linux/sound/soc/fsl/ |
H A D | p1022_rdk.c | 1 // SPDX-License-Identifier: GPL-2.0 28 /* P1022-specific PMUXCR and DMUXCR bit definitions */ 37 #define CCSR_GUTS_DMUXCR_PAD 1 /* DMA controller/channel set to pad */ 38 #define CCSR_GUTS_DMUXCR_SSI 2 /* DMA controller/channel set to SSI */ 44 * channel on each DMA controller. Rather than have a bunch of repetitive 49 * co: The DMA controller (0 or 1) 50 * ch: The channel on the DMA controller (0, 1, 2, or 3) 56 unsigned int shift = 16 + (8 * (1 - co) + 2 * (3 - ch)); in guts_set_dmuxcr() 58 clrsetbits_be32(&guts->dmuxcr, 3 << shift, device << shift); in guts_set_dmuxcr() 65 * machine_data: machine-specific ASoC device data [all …]
|
H A D | p1022_ds.c | 1 // SPDX-License-Identifier: GPL-2.0 21 /* P1022-specific PMUXCR and DMUXCR bit definitions */ 30 #define CCSR_GUTS_DMUXCR_PAD 1 /* DMA controller/channel set to pad */ 31 #define CCSR_GUTS_DMUXCR_SSI 2 /* DMA controller/channel set to SSI */ 37 * channel on each DMA controller. Rather than have a bunch of repetitive 42 * co: The DMA controller (0 or 1) 43 * ch: The channel on the DMA controller (0, 1, 2, or 3) 49 unsigned int shift = 16 + (8 * (1 - co) + 2 * (3 - ch)); in guts_set_dmuxcr() 51 clrsetbits_be32(&guts->dmuxcr, 3 << shift, device << shift); in guts_set_dmuxcr() 58 * machine_data: machine-specific ASoC device data [all …]
|
/linux/sound/soc/atmel/ |
H A D | mikroe-proto.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 struct snd_soc_card *card = rtd->card; in snd_proto_init() 30 dev_err(card->dev, "Failed to set WM8731 SYSCLK: %d\n", in snd_proto_init() 65 struct snd_soc_dai_link *dai; in snd_proto_probe() local 67 struct device_node *np = pdev->dev.of_node; in snd_proto_probe() 75 dev_err(&pdev->dev, "No device node supplied\n"); in snd_proto_probe() 76 return -EINVAL; in snd_proto_probe() 79 snd_proto.dev = &pdev->dev; in snd_proto_probe() 84 dai = devm_kzalloc(&pdev->dev, sizeof(*dai), GFP_KERNEL); in snd_proto_probe() 85 if (!dai) in snd_proto_probe() [all …]
|
/linux/sound/soc/samsung/ |
H A D | i2s.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // ALSA SoC Audio Layer - Samsung I2S Controller driver 8 #include <dt-bindings/sound/samsung-i2s.h> 12 #include <linux/clk-provider.h> 21 #include <linux/platform_data/asoc-s3c.h> 26 #include "i2s-regs.h" 52 struct snd_soc_dai *dai); 54 struct snd_soc_dai *dai); 58 /* Platform device for this DAI */ 73 #define DAI_OPENED (1 << 0) /* DAI is opened */ [all …]
|