| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | realtek,rt5514.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Animesh Agarwal <animeshagarwal28@gmail.com> 24 - $ref: /schemas/spi/spi-peripheral-props.yaml# 25 - $ref: dai-common.yaml# 36 - description: Master clock to the CODEC 38 clock-names: 40 - const: mclk 46 realtek,dmic-init-delay-ms: [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | ab8500-codec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2012 8 * for ST-Ericsson. 14 * for ST-Ericsson. 22 #include <linux/init.h> 23 #include <linux/delay.h> 29 #include <linux/mfd/abx500/ab8500-sysctrl.h> 30 #include <linux/mfd/abx500/ab8500-codec.h> 39 #include <sound/soc-dapm.h> 42 #include "ab8500-codec.h" [all …]
|
| H A D | tlv320aic3x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * ------ 1196 int delay = 0; aic3x_prepare() local [all...] |
| H A D | cs42l73.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs42l73.c -- CS42L73 ALSA Soc Audio driver 11 #include <linux/delay.h> 14 #include <linux/init.h> 26 #include <sound/soc-dapm.h> 54 { 6, 0xF1 }, /* r06 - Power Ctl 1 */ 55 { 7, 0xDF }, /* r07 - Power Ctl 2 */ 56 { 8, 0x3F }, /* r08 - Power Ctl 3 */ 57 { 9, 0x50 }, /* r09 - Charge Pump Freq */ 58 { 10, 0x53 }, /* r0A - Output Load MicBias Short Detect */ [all …]
|
| H A D | lpass-va-macro.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 5 #include <linux/clk-provider.h> 6 #include <linux/init.h> 16 #include <sound/soc-dapm.h> 19 #include "lpass-macro-common.h" 165 static const DECLARE_TLV_DB_SCALE(digital_gain, -8400, 100, -8400); 454 struct regmap *regmap = va->regmap; in va_clk_rsc_fs_gen_request() 487 struct regmap *regmap = va->regmap; in va_macro_mclk_enable() 503 struct snd_soc_component *comp = snd_soc_dapm_to_component(w->dapm); in va_macro_mclk_event() [all …]
|
| H A D | wcd934x.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/clk-provider.h> 21 #include <sound/soc-dapm.h> 23 #include "wcd-clsh-v2.h" 24 #include "wcd-common.h" 25 #include "wcd-mbhc-v 2142 struct clk_init_data init; wcd934x_register_mclk_output() local 4696 wcd934x_get_dmic_sample_rate(struct snd_soc_component * comp,unsigned int dmic,struct wcd934x_codec * wcd) wcd934x_get_dmic_sample_rate() argument 4800 unsigned int dmic; wcd934x_codec_enable_dmic() local [all...] |
| H A D | rt5682s.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // rt5682s.c -- RT5682I-VS ALSA SoC audio component driver 11 #include <linux/init.h> 12 #include <linux/delay.h> 25 #include <sound/soc-dapm.h> 38 .dai_clk_names[RT5682S_DAI_WCLK_IDX] = "rt5682-dai-wclk", 39 .dai_clk_names[RT5682S_DAI_BCLK_IDX] = "rt5682-dai-bclk", 46 [RT5682S_SUPPLY_LDO1_IN] = "LDO1-IN", 69 ret = regmap_multi_reg_write(rt5682s->regmap, patch_list, ARRAY_SIZE(patch_list)); in rt5682s_apply_patch_list() 624 regmap_write(rt5682s->regmap, RT5682S_RESET, 0); in rt5682s_reset() [all …]
|
| H A D | lpass-tx-macro.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 5 #include <linux/init.h> 12 #include <sound/soc-dapm.h> 15 #include <linux/clk-provider.h> 17 #include "lpass-macro-common.h" 41 /* Default divider for AMIC and DMIC clock: DIV2 */ 201 #define TX_ADC_TO_DMIC(n) ((n - TX_ADC_MAX)/2) 291 static const DECLARE_TLV_DB_SCALE(digital_gain, -8400, 100, -8400); 616 struct regmap *regmap = tx->regmap; in tx_macro_mclk_enable() [all …]
|
| H A D | rt5514.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5514.c -- RT5514 ALSA SoC audio codec driver 13 #include <linux/init.h> 14 #include <linux/delay.h> 24 #include <sound/soc-dapm.h> 31 #include "rt5514-spi.h" 120 regmap_write(rt5514->i2c_regmap, 0x18002000, 0x000010ec); in rt5514_enable_dsp_prepare() 122 regmap_write(rt5514->i2c_regmap, 0x18002200, 0x00028604); in rt5514_enable_dsp_prepare() 124 regmap_write(rt5514->i2c_regmap, 0xfafafafa, 0x00000001); in rt5514_enable_dsp_prepare() 125 /* mini-core reset */ in rt5514_enable_dsp_prepare() [all …]
|
| H A D | rt5682.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // rt5682.c -- RT5682 ALSA SoC audio component driver 11 #include <linux/init.h> 12 #include <linux/delay.h> 25 #include <sound/soc-dapm.h> 38 "LDO1-IN", 60 ret = regmap_multi_reg_write(rt5682->regmap, patch_list, in rt5682_apply_patch_list() 751 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -6525, 75, 0); 752 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -1725, 75, 0); 819 regmap_write(rt5682->regmap, RT5682_RESET, 0); in rt5682_reset() [all …]
|
| H A D | wcd9335.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. 3 // Copyright (c) 2017-2018, Linaro Limited 6 #include <linux/init.h> 14 #include <linux/delay.h> 19 #include <sound/soc-dapm.h> 26 #include "wcd-clsh-v2.h" 28 #include <dt-bindings/sound/qcom,wcd9335.h> 99 #define WCD9335_CALCULATE_VOUT_D(req_mv) (((req_mv - 650) * 10) / 25) 147 {"ADC MUX" #id, "DMIC", "DMIC MUX" #id}, \ [all …]
|
| H A D | wcd939x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2018-2021, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved. 12 #include <linux/delay.h> 25 #include <sound/soc-dapm.h> 30 #include "wcd-clsh-v 1119 wcd939x_tx_channel_config(struct snd_soc_component * component,int channel,bool init) wcd939x_tx_channel_config() argument [all...] |
| H A D | wm8903.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8903.c -- WM8903 ALSA SoC Audio driver 5 * Copyright 2008-12 Wolfson Microelectronics 6 * Copyright 2011-2012 NVIDIA, Inc. 11 * - TDM mode configuration. 16 #include <linux/init.h> 18 #include <linux/delay.h> 41 { 4, 0x0018 }, /* R4 - Bias Control 0 */ 42 { 5, 0x0000 }, /* R5 - VMID Control 0 */ 43 { 6, 0x0000 }, /* R6 - Mic Bias Control 0 */ [all …]
|
| H A D | rt5668.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5668.c -- RT5668B ALSA SoC audio component driver 11 #include <linux/init.h> 12 #include <linux/delay.h> 26 #include <sound/soc-dapm.h> 746 static const DECLARE_TLV_DB_SCALE(hp_vol_tlv, -2250, 150, 0); 747 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -65625, 375, 0); 748 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -17625, 375, 0); 844 * rt5668_headset_detect - Detect headset. 879 rt5668->jack_type = SND_JACK_HEADSET; in rt5668_headset_detect() [all …]
|
| H A D | wcd938x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 8 #include <linux/delay.h> 20 #include <sound/soc-dapm.h> 24 #include "wcd-clsh-v2.h" 25 #include "wcd-commo [all...] |
| H A D | rt5665.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5665.c -- RT5665/RT5658 ALSA SoC audio codec driver 11 #include <linux/init.h> 12 #include <linux/delay.h> 26 #include <sound/soc-dapm.h> 884 static const DECLARE_TLV_DB_SCALE(hp_vol_tlv, -2250, 150, 0); 885 static const DECLARE_TLV_DB_SCALE(mono_vol_tlv, -1400, 150, 0); 886 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 887 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -65625, 375, 0); 888 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); [all …]
|
| H A D | wcd937x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. 5 #include <linux/delay.h> 19 #include <sound/soc-dapm.h> 23 #include "wcd-clsh-v2.h" 24 #include "wcd-commo [all...] |
| H A D | wm8962.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8962.c -- WM8962 ALSA SoC Audio driver 5 * Copyright 2010-2 Wolfson Microelectronics plc 12 #include <linux/init.h> 14 #include <linux/delay.h> 99 regcache_mark_dirty(wm8962->regmap); \ 114 { 0, 0x009F }, /* R0 - Left Input volume */ 115 { 1, 0x049F }, /* R1 - Right Input volume */ 116 { 2, 0x0000 }, /* R2 - HPOUTL volume */ 117 { 3, 0x0000 }, /* R3 - HPOUTR volume */ [all …]
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3399-gru-scarlet.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-scarlet board device tree source 8 #include "rk3399-gru.dtsi" 11 chassis-type = "tablet"; 16 pp1250_s3: regulator-pp1250-s3 { 17 compatible = "regulator-fixed"; 18 regulator-name = "pp1250_s3"; 21 regulator-always-on; 22 regulator-boot-on; 23 regulator-min-microvolt = <1250000>; [all …]
|
| H A D | rk3399-gru-chromebook.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Google Gru-Chromebook shared properties 8 #include "rk3399-gru.dtsi" 11 pp900_ap: regulator-pp900-ap { 12 compatible = "regulator-fixed"; 13 regulator-name = "pp900_ap"; 16 regulator-always-on; 17 regulator-boot-on; 18 regulator-min-microvolt = <900000>; 19 regulator-max-microvolt = <900000>; [all …]
|
| /linux/sound/hda/codecs/cirrus/ |
| H A D | cs8409.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #include <linux/init.h> 24 struct cs8409_spec *spec = codec->spec; in cs8409_parse_auto_config() 28 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs8409_parse_auto_config() 32 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs8409_parse_auto_config() 37 if (spec->ge in cs8409_parse_auto_config() [all...] |
| /linux/sound/soc/sof/ |
| H A D | ipc4-topology.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 14 #include <sound/intel-nhlt.h> 15 #include "sof-priv.h" 16 #include "sof-audio.h" 17 #include "ipc4-priv.h" 18 #include "ipc4-topology.h" 216 list_for_each_entry(swidget, &sdev->widget_list, list) { in sof_ipc4_find_swidget_by_ids() 217 struct sof_ipc4_fw_module *fw_module = swidget->module_info; in sof_ipc4_find_swidget_by_ids() 220 if (!swidget->use_count) in sof_ipc4_find_swidget_by_ids() 223 if (fw_module && fw_module->man4_module_entry.id == module_id && in sof_ipc4_find_swidget_by_ids() [all …]
|
| /linux/sound/hda/codecs/ |
| H A D | sigmatel.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #include <linux/init.h> 15 #include <linux/delay.h> 59 STAC_92HD73XX_NO_JD, /* no jack-detection */ 149 STAC_D965_REF_NO_JD, /* no jack-detection */ 175 unsigned int headset_jack:1; /* 4-pin headset jack (hp + mono mic) */ 176 unsigned int volknob_init:1; /* special volume-knob initialization */ 188 unsigned int vref_mute_led_nid; /* pin NID for mute-LED vref control */ 214 /* SPDIF-out mux */ 246 struct sigmatel_spec *spec = codec->spec; in stac_playback_pcm_hook() [all …]
|
| /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 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 88 F: drivers/scsi/3w-* [all …]
|