/linux/Documentation/devicetree/bindings/sound/ |
H A D | qcom,apq8016-sbc-sndcard.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/sound/qcom,apq8016-sbc-sndcard.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 11 - Stephan Gerhold <stephan@gerhold.net> 16 - qcom,apq8016-sbc-sndcard 17 - qcom,msm8916-qdsp6-sndcard 21 - description: Microphone I/O mux register address 22 - description: Speaker I/O mux register address [all …]
|
/linux/sound/soc/sof/ |
H A D | ipc4-pcm.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 11 #include "sof-audio.h" 12 #include "sof-priv.h" 14 #include "ipc4-priv.h" 15 #include "ipc4-topolog 63 u32 primary, ipc_size; sof_ipc4_set_multi_pipeline_state() local 90 u32 primary; sof_ipc4_set_pipeline_state() local 562 struct snd_sof_dai *dai; ipc4_ssp_dai_config_pcm_params_match() local 647 struct snd_sof_dai *dai = snd_sof_find_dai(component, rtd->dai_link->name); sof_ipc4_pcm_dai_link_fixup() local 819 struct snd_sof_dai *dai; sof_ipc4_build_time_info() local [all...] |
H A D | ipc4-topology.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 13 #include <sound/intel-nhlt.h> 14 #include "sof-priv.h" 15 #include "sof-audio.h" 16 #include "ipc4-priv.h" 17 #include "ipc4-topology.h" 148 [SOF_DAI_TOKENS] = {"DAI tokens", dai_tokens, ARRAY_SIZE(dai_tokens)}, 175 list_for_each_entry(swidget, &sdev->widget_list, list) { in sof_ipc4_find_swidget_by_ids() 176 struct sof_ipc4_fw_module *fw_module = swidget->module_info; in sof_ipc4_find_swidget_by_ids() 179 if (!swidget->use_count) in sof_ipc4_find_swidget_by_ids() [all …]
|
H A D | sof-priv.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 36 * on primary core 48 #define SOF_DBG_FORCE_NOCODEC BIT(10) /* ignore all codec-related 79 /* convenience constructor for DAI driver streams */ 87 /* So far the primary core on all DSPs has ID 0 */ 95 u32 substate; /* platform-specific */ 134 * struct snd_sof_platform_stream_params - platform dependent stream parameters 151 * struct sof_firmware - Container struct for SOF firmware 267 * the DSP on the DAI side (link/codec/DMIC/etc). 357 /* DAI ops */ [all …]
|
/linux/sound/soc/samsung/ |
H A D | odroid.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/clk-provider.h> 12 #include "i2s-regs.h" 27 struct snd_pcm_runtime *runtime = substream->runtime; in odroid_card_fe_startup() 38 struct odroid_priv *priv = snd_soc_card_get_drvdata(rtd->card); in odroid_card_fe_hw_params() 42 spin_lock_irqsave(&priv->lock, flags); in odroid_card_fe_hw_params() 43 if (priv->be_active && priv->be_sample_rate != params_rate(params)) in odroid_card_fe_hw_params() 44 ret = -EINVAL; in odroid_card_fe_hw_params() 45 spin_unlock_irqrestore(&priv->lock, flags); in odroid_card_fe_hw_params() 59 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 33 struct snow_priv *priv = snd_soc_card_get_drvdata(rtd->card); in snow_card_hw_params() 36 long int freq = -EINVAL; in snow_card_hw_params() 41 dev_err(rtd->card->dev, "Invalid bit-width: %d\n", bitwidth); in snow_card_hw_params() 46 dev_err(rtd->card->dev, "Unsupported bit-width: %d\n", bitwidth); in snow_card_hw_params() 47 return -EINVAL; in snow_card_hw_params() 72 return -EINVAL; in snow_card_hw_params() 79 if ((pll_rate[i] - rclk * psr) <= 2) { in snow_card_hw_params() 86 dev_err(rtd->card->dev, "Unsupported RCLK rate: %lu\n", rclk); in snow_card_hw_params() 87 return -EINVAL; in snow_card_hw_params() [all …]
|
H A D | tm2_wm5110.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Copyright (C) 2015 - 2016 Samsung Electronics Co., Ltd. 37 struct snd_soc_component *component = priv->component; in tm2_start_sysclk() 43 priv->sysclk_rate); in tm2_start_sysclk() 45 dev_err(component->dev, "Failed to set FLL1 source: %d\n", ret); in tm2_start_sysclk() 52 priv->sysclk_rate); in tm2_start_sysclk() 54 dev_err(component->dev, "Failed to start FLL1: %d\n", ret); in tm2_start_sysclk() 60 priv->sysclk_rate, in tm2_start_sysclk() 63 dev_err(component->dev, "Failed to set SYSCLK source: %d\n", ret); in tm2_start_sysclk() 73 struct snd_soc_component *component = priv->component; in tm2_stop_sysclk() [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8916-modem-qdsp6.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 3 * msm8916-modem-qdsp6.dtsi describes the typical modem setup on MSM8916 devices 6 * but boards can define additional codecs by adding additional backend DAI links. 9 #include <dt-bindings/sound/qcom,q6afe.h> 10 #include <dt-bindings/sound/qcom,q6asm.h> 49 dai@16 { 51 qcom,sd-lines = <0 1>; 53 dai@20 { 55 qcom,sd-lines = <0 1>; 60 dai@0 { [all …]
|
H A D | sc7180-acer-aspire1.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/sound/qcom,q6asm.h> 7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 14 /delete-node/ &tz_mem; 15 /delete-node/ &ipa_fw_mem; 20 chassis-type = "laptop"; 30 stdout-path = "serial0:115200n8"; 33 reserved-memory { [all …]
|
H A D | msm8996-oneplus-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 12 #include <dt-bindings/sound/qcom,q6afe.h> 13 #include <dt-bindings/sound/qcom,q6asm.h> 14 #include <dt-bindings/sound/qcom,wcd9335.h> 23 compatible = "simple-battery"; 25 constant-charge-current-max-microamp = <3000000>; 26 voltage-min-design-microvolt = <3400000>; 30 stdout-path = "serial1:115200n8"; [all …]
|
H A D | apq8016-schneider-hmibsc.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 7 /dts-v1/; 9 #include "msm8916-pm8916.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 14 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 15 #include <dt-bindings/sound/apq8016-lpass.h> 19 compatible = "schneider,apq8016-hmibsc", "qcom,apq8016"; [all …]
|
H A D | msm8916-huawei-g7.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 8 #include "msm8916-pm8916.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/sound/apq8016-lpass.h> 16 * Note: The original firmware from Huawei can only boot 32-bit kernels. 17 * To boot this device tree using arm64 it is necessary to flash 64-bit TZ/HYP [all …]
|
H A D | msm8916-alcatel-idol347.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include "msm8916-modem-qdsp6.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 15 chassis-type = "handset"; 24 stdout-path = "serial0"; 27 reserved-memory { [all …]
|
H A D | apq8016-sbc.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 8 #include "msm8916-pm8916.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 13 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 14 #include <dt-bindings/sound/apq8016-lpass.h> 18 compatible = "qcom,apq8016-sbc", "qcom,apq8016"; [all …]
|
H A D | apq8096-db820c.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. 6 /dts-v1/; 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 15 #include <dt-bindings/sound/qcom,q6afe.h> 16 #include <dt-bindings/sound/qcom,q6asm.h> 17 #include <dt-bindings/sound/qcom,wcd9335.h> [all …]
|
/linux/sound/soc/mediatek/mt8192/ |
H A D | mt8192-mt6359-rt1015-rt5682.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // mt8192-mt6359-rt1015-rt5682.c -- 4 // MT8192-MT6359-RT1015-RT6358 ALSA SoC machine driver 22 #include "../common/mtk-afe-platform-driver.h" 23 #include "../common/mtk-soc-card.h" 24 #include "../common/mtk-soundcard-driver.h" 25 #include "mt8192-afe-common.h" 26 #include "mt8192-afe-clk.h" 27 #include "mt8192-afe-gpio.h" 31 #define RT1015_CODEC_DAI "rt1015-aif" [all …]
|
/linux/sound/soc/mediatek/mt8186/ |
H A D | mt8186-mt6366.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // mt8186-mt6366.c 4 // -- MT8186-MT6366 ALSA SoC machine driver 25 #include "../common/mtk-afe-platform-driver.h" 26 #include "../common/mtk-dsp-sof-common.h" 27 #include "../common/mtk-soc-card.h" 28 #include "../common/mtk-soundcard-driver.h" 29 #include "mt8186-afe-common.h" 30 #include "mt8186-afe-clk.h" 31 #include "mt8186-afe-gpio.h" [all …]
|
/linux/sound/soc/sof/intel/ |
H A D | hda-dsp.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 21 #include <sound/hda-mlink.h> 24 #include "../sof-audio.h" 28 #include "hda-ipc.h" 49 chip = get_chip_info(sdev->pdata); in hda_get_interfaces() 50 switch (chip->hw_ip_version) { in hda_get_interfaces() 91 return interface_mask[sdev->dspless_mode_selected]; in hda_get_interface_mask() 100 if (sdev->dspless_mode_selected) in hda_is_chain_dma_supported() 115 chip = get_chip_info(sdev->pdata); in hda_is_chain_dma_supported() 116 if (chip->hw_ip_version < SOF_INTEL_ACE_2_0) in hda_is_chain_dma_supported() [all …]
|