/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | simple-card.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/simple-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Simple Audio Card Driver 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 14 frame-master: 15 description: Indicates dai-link frame master. 18 bitclock-master: 19 description: Indicates dai-link bit clock master [all …]
|
H A D | qcom,apq8096.txt | 3 This binding describes the APQ8096 sound card, which uses qdsp for audio. 5 - compatible: 8 Definition: must be "qcom,apq8096-sndcard" 10 - audio-routing: 13 Definition: A list of the connections between audio components. 37 Audio pins and MicBias on WCD9335 Codec: 53 - model: 56 Definition: The user-visible name of this sound card. 58 - aux-devs 63 links. Should be connected to another audio component [all …]
|
H A D | imx-audio-hdmi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/imx-audio-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX audio complex with HDMI 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 15 - fsl,imx-audio-hdmi 16 - fsl,imx-audio-sii902x 20 description: User specified audio sound card name 22 audio-cpu: [all …]
|
H A D | fsl-asoc-card.txt | 18 AC'97/I2S/PCM type sound cards, such as S/PDIF audio and HDMI audio, as 23 "fsl,imx-audio-ac97" 25 "fsl,imx-audio-cs42888" 27 "fsl,imx-audio-cs427x" 30 "fsl,imx-audio-wm8962" 32 "fsl,imx-audio-sgtl5000" 33 (compatible with Documentation/devicetree/bindings/sound/imx-audio-sgtl5000.txt) 35 "fsl,imx-audio-wm8960" 37 "fsl,imx-audio-mqs" 39 "fsl,imx-audio-wm8524" [all …]
|
H A D | loongson,ls-audio-card.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/loongson,ls-audio-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Loongson 7axxx/2kxxx ASoC audio sound card driver 10 - Yingkun Meng <mengyingkun@loongson.cn> 15 which uses Loongson I2S controller to transfer the audio data. 19 const: loongson,ls-audio-card 23 description: User specified audio sound card name 25 mclk-fs: [all …]
|
H A D | imx-audio-card.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/imx-audio-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX audio sound card. 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 13 - $ref: sound-card-common.yaml# 18 - fsl,imx-audio-card 21 ".*-dai-link$": 24 cpu/codec dais. [all …]
|
H A D | samsung,arndale.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: Insignal Arndale boards audio complex 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 16 - samsung,arndale-alc5631 17 - samsung,arndale-rt5631 18 - samsung,arndale-wm1811 20 samsung,audio-codec: [all …]
|
H A D | samsung,odroid.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung Exynos Odroid XU3/XU4 audio complex with MAX98090 codec 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 14 - $ref: sound-card-common.yaml# 19 - const: hardkernel,odroid-xu3-audio 21 - const: hardkernel,odroid-xu4-audio 24 - const: samsung,odroid-xu3-audio [all …]
|
H A D | samsung,midas-audio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/samsung,midas-audio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Samsung Midas audio complex with WM1811 codec 10 - Sylwester Nawrocki <s.nawrocki@samsung.com> 13 - $ref: sound-card-common.yaml# 17 const: samsung,midas-audio 19 cpu: 23 sound-dai: [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# 7 title: Google Snow audio complex with MAX9809x codec 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: [all …]
|
H A D | qcom,sm8250.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> 14 which uses LPASS internal codec for audio. 19 - items: 20 - enum: 21 - lenovo,yoga-c630-sndcard 22 - qcom,db845c-sndcard 23 - const: qcom,sdm845-sndcard [all …]
|
H A D | ux500-mop500.txt | 1 * MOP500 Audio Machine Driver 3 This node is responsible for linking together all ux500 Audio Driver components. 6 - compatible : "stericsson,snd-soc-mop500" 8 Non-standard properties: 9 - stericsson,cpu-dai : Phandle to the CPU-side DAI 10 - stericsson,audio-codec : Phandle to the Audio CODEC 11 - stericsson,card-name : Over-ride default card name 16 compatible = "stericsson,snd-soc-mop500"; 18 stericsson,cpu-dai = <&msp1 &msp3>; 19 stericsson,audio-codec = <&codec>; [all …]
|
H A D | qcom,lpass-cpu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/qcom,lpass-cpu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Technologies Inc. LPASS CPU dai driver 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 11 - Rohit kumar <quic_rohkumar@quicinc.com> 14 Qualcomm Technologies Inc. SOC Low-Power Audio SubSystem (LPASS) that consist 15 of MI2S interface for audio data transfer on external codecs. LPASS cpu driver 16 is a module to configure Low-Power Audio Interface(LPAIF) core registers [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 6 sti sound drivers allows to expose sti SoC audio interface through the 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 [all …]
|
/openbmc/linux/Documentation/sound/soc/ |
H A D | clocking.rst | 2 Audio Clocking 5 This text describes the audio clocking terms in ASoC and digital audio in 6 general. Note: Audio clocking can be complex! 10 ------------ 12 Every audio subsystem is driven by a master clock (sometimes referred to as MCLK 13 or SYSCLK). This audio master clock can be derived from a number of sources 14 (e.g. crystal, PLL, CPU clock) and is responsible for producing the correct 15 audio playback and capture sample rates. 17 Some master clocks (e.g. PLLs and CPU based clocks) are configurable in that 23 ---------- [all …]
|
H A D | machine.rst | 7 relationships between each component which include audio paths, GPIOs, 11 the audio subsystem with the kernel as a platform device and is represented by 12 the following struct:- 33 /* CPU <--> Codec DAI links */ 41 ---------------- 46 ------------------ 48 of any machine audio tasks that have to be done before or after the codec, DAIs 53 ------------------------- 54 The machine DAI configuration glues all the codec and CPU DAIs together. It can 56 initialisation e.g. the machine audio map can be connected to the codec audio [all …]
|
H A D | codec-to-codec.rst | 5 Mostly the flow of audio is always from CPU to codec so your system 9 --------- --------- 11 CPU -------> codec 13 --------- --------- 18 --------- 20 codec-2 22 --------- 24 dai-2 26 ---------- --------- 27 | | dai-1 | | [all …]
|
/openbmc/linux/sound/soc/samsung/ |
H A D | odroid.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/clk-provider.h> 13 #include "i2s-regs.h" 28 struct snd_pcm_runtime *runtime = substream->runtime; in odroid_card_fe_startup() 39 struct odroid_priv *priv = snd_soc_card_get_drvdata(rtd->card); in odroid_card_fe_hw_params() 43 spin_lock_irqsave(&priv->lock, flags); in odroid_card_fe_hw_params() 44 if (priv->be_active && priv->be_sample_rate != params_rate(params)) in odroid_card_fe_hw_params() 45 ret = -EINVAL; in odroid_card_fe_hw_params() 46 spin_unlock_irqrestore(&priv->lock, flags); in odroid_card_fe_hw_params() 60 struct odroid_priv *priv = snd_soc_card_get_drvdata(rtd->card); in odroid_card_be_hw_params() [all …]
|
H A D | snow.c | 1 // SPDX-License-Identifier: GPL-2.0 34 struct snow_priv *priv = snd_soc_card_get_drvdata(rtd->card); in snow_card_hw_params() 37 long int freq = -EINVAL; in snow_card_hw_params() 42 dev_err(rtd->card->dev, "Invalid bit-width: %d\n", bitwidth); in snow_card_hw_params() 47 dev_err(rtd->card->dev, "Unsupported bit-width: %d\n", bitwidth); in snow_card_hw_params() 48 return -EINVAL; in snow_card_hw_params() 73 return -EINVAL; in snow_card_hw_params() 80 if ((pll_rate[i] - rclk * psr) <= 2) { in snow_card_hw_params() 87 dev_err(rtd->card->dev, "Unsupported RCLK rate: %lu\n", rclk); in snow_card_hw_params() 88 return -EINVAL; in snow_card_hw_params() [all …]
|
/openbmc/linux/sound/soc/fsl/ |
H A D | fsl-asoc-card.c | 1 // SPDX-License-Identifier: GPL-2.0 23 #include "imx-audmux.h" 32 #define DRIVER_NAME "fsl-asoc-card" 43 * struct codec_priv - CODEC private data 61 * struct cpu_priv - CPU private data 79 * struct fsl_asoc_card_priv - Freescale Generic ASOC card private data 85 * @cpu_priv: CPU private data 90 * @asrc_rate: ASRC sample rate used by Back-Ends 91 * @asrc_format: ASRC sample format used by Back-Ends 92 * @dai_fmt: DAI format between CPU and CODEC [all …]
|
/openbmc/linux/arch/arm64/boot/dts/amlogic/ |
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 …]
|
/openbmc/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun8i-a33.dtsi | 2 * Copyright 2014 Chen-Yu Tsai 4 * Chen-Yu Tsai <wens@csie.org> 6 * This file is dual-licensed: you can use it either under the terms 45 #include "sun8i-a23-a33.dtsi" 46 #include <dt-bindings/thermal/thermal.h> 49 cpu0_opp_table: opp-table-cpu { 50 compatible = "operating-points-v2"; 51 opp-shared; 53 opp-120000000 { 54 opp-hz = /bits/ 64 <120000000>; [all …]
|
/openbmc/linux/sound/soc/generic/ |
H A D | audio-graph-card2-custom-sample.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * audio-graph-card2-custom-sample.dtsi 8 * This sample indicates how to use audio-graph-card2 and its 9 * custom driver. "audio-graph-card2-custom-sample" is the custome driver 10 * which is using audio-graph-card2. 15 * #include "../../../../../sound/soc/generic/audio-graph-card2-custom-sample.dtsi" 23 * "compatible" on each test-component. see below 26 * - compatible = "test-cpu"; 27 * + compatible = "test-cpu-verbose"; 32 * - compatible = "test-codec"; [all …]
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A 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 …]
|
/openbmc/linux/sound/soc/loongson/ |
H A D | loongson_card.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Loongson ASoC Audio Machine driver 11 #include <sound/soc-acpi.h> 26 struct snd_soc_pcm_runtime *rtd = substream->private_data; in loongson_card_hw_params() 29 struct loongson_card_data *ls_card = snd_soc_card_get_drvdata(rtd->card); in loongson_card_hw_params() 32 if (ls_card->mclk_fs) { in loongson_card_hw_params() 33 mclk = ls_card->mclk_fs * params_rate(params); in loongson_card_hw_params() 37 dev_err(codec_dai->dev, "cpu_dai clock not set\n"); in loongson_card_hw_params() 44 dev_err(codec_dai->dev, "codec_dai clock not set\n"); in loongson_card_hw_params() 56 DAILINK_COMP_ARRAY(COMP_CPU("loongson-i2s")), [all …]
|