/openbmc/linux/Documentation/devicetree/bindings/sound/ |
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> 19 - items: 20 - enum: 21 - lenovo,yoga-c630-sndcard 22 - qcom,db845c-sndcard 23 - const: qcom,sdm845-sndcard 24 - enum: [all …]
|
/openbmc/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-topology.h" 16 #include "ipc4-fw-reg.h" 22 u32 primary, ipc_size; in sof_ipc4_set_multi_pipeline_state() local 25 if (trigger_list->count == 1) in sof_ipc4_set_multi_pipeline_state() 26 return sof_ipc4_set_pipeline_state(sdev, trigger_list->pipeline_instance_ids[0], in sof_ipc4_set_multi_pipeline_state() 29 primary = state; in sof_ipc4_set_multi_pipeline_state() [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" 146 [SOF_DAI_TOKENS] = {"DAI tokens", dai_tokens, ARRAY_SIZE(dai_tokens)}, 177 pin_fmt[i].pin_index, fmt->sampling_frequency, fmt->bit_depth, fmt->ch_map, in sof_ipc4_dbg_audio_format() 178 fmt->ch_cfg, fmt->interleaving_style, fmt->fmt_cfg, in sof_ipc4_dbg_audio_format() 190 if (swidget->id != snd_soc_dapm_effect) { in sof_ipc4_get_input_pin_audio_fmt() [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 150 * struct sof_firmware - Container struct for SOF firmware 256 * optional callback to retrieve the link DMA position for the substream 258 * instead from a host-accessible hardware counter. [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 …]
|
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 …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
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 | 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 | 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 …]
|
/openbmc/linux/sound/soc/mediatek/mt8186/ |
H A D | mt8186-mt6366-da7219-max98357.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // mt8186-mt6366-da7219-max98357.c 4 // -- MT8186-MT6366-DA7219-MAX98357 ALSA SoC machine driver 19 #include "../common/mtk-afe-platform-driver.h" 20 #include "../common/mtk-dsp-sof-common.h" 21 #include "../common/mtk-soc-card.h" 22 #include "mt8186-afe-common.h" 23 #include "mt8186-afe-clk.h" 24 #include "mt8186-afe-gpio.h" 25 #include "mt8186-mt6366-common.h" [all …]
|
H A D | mt8186-mt6366-rt1019-rt5682s.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // mt8186-mt6366-rt1019-rt5682s.c 4 // -- MT8186-MT6366-RT1019-RT5682S ALSA SoC machine driver 22 #include "../common/mtk-afe-platform-driver.h" 23 #include "../common/mtk-dsp-sof-common.h" 24 #include "../common/mtk-soc-card.h" 25 #include "mt8186-afe-common.h" 26 #include "mt8186-afe-clk.h" 27 #include "mt8186-afe-gpio.h" 28 #include "mt8186-mt6366-common.h" [all …]
|
/openbmc/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 "mt8192-afe-common.h" 24 #include "mt8192-afe-clk.h" 25 #include "mt8192-afe-gpio.h" 29 #define RT1015_CODEC_DAI "rt1015-aif" 30 #define RT1015_DEV0_NAME "rt1015.1-0028" 31 #define RT1015_DEV1_NAME "rt1015.1-0029" [all …]
|
/openbmc/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> 23 #include "../sof-audio.h" 26 #include "hda-ipc.h" 58 dev_err(sdev->dev, in hda_dsp_core_reset_enter() 69 dev_err(sdev->dev, in hda_dsp_core_reset_enter() 72 ret = -EIO; in hda_dsp_core_reset_enter() 99 dev_err(sdev->dev, in hda_dsp_core_reset_leave() 109 dev_err(sdev->dev, in hda_dsp_core_reset_leave() 112 ret = -EIO; in hda_dsp_core_reset_leave() [all …]
|
/openbmc/linux/ |
H A D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 24 filing info, a direct bug tracker link, or a mailto: URI. 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-scsi@vger.kernel.org [all …]
|