| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | everest,es8326.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Yang <yangxiaohua@everest-semi.com> 21 - description: clock for master clock (MCLK) 23 clock-names: 25 - const: mclk 27 "#sound-dai-cells": 30 everest,jack-pol: 40 everest,mic1-src: [all …]
|
| D | rt5665.txt | 7 - compatible : One of "realtek,rt5665", "realtek,rt5666". 9 - reg : The I2C address of the device. 11 - interrupts : The CODEC's interrupt output. 15 - realtek,in1-differential 16 - realtek,in2-differential 17 - realtek,in3-differential 18 - realtek,in4-differential 19 Boolean. Indicate MIC1/2/3/4 input are differential, rather than single-ended. 21 - realtek,dmic1-data-pin 26 - realtek,dmic2-data-pin [all …]
|
| D | rt5659.txt | 7 - compatible : One of "realtek,rt5659" or "realtek,rt5658". 9 - reg : The I2C address of the device. 11 - interrupts : The CODEC's interrupt output. 15 - clocks: The phandle of the master clock to the CODEC 16 - clock-names: Should be "mclk" 18 - realtek,in1-differential 19 - realtek,in3-differential 20 - realtek,in4-differential 21 Boolean. Indicate MIC1/3/4 input are differential, rather than single-ended. 23 - realtek,dmic1-data-pin [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | rt5631.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5631.c -- RT5631 ALSA Soc Audio driver 22 #include <sound/soc-dapm.h> 68 * rt5631_write_index - write index register of 2nd layer 78 * rt5631_read_index - read index register of 2nd layer 169 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 170 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -95625, 375, 0); 171 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 189 ucontrol->value.integer.value[0] = rt5631->dmic_used_flag; in rt5631_dmic_get() 200 rt5631->dmic_used_flag = ucontrol->value.integer.value[0]; in rt5631_dmic_put() [all …]
|
| D | es8326.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // es8326.c -- es8326 ALSA SoC audio driver 6 // Authors: David Yang <yangxiaohua@everest-semi.com> 17 #include <sound/soc-dapm.h> 48 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(dac_vol_tlv, -9550, 50, 0); 49 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(adc_vol_tlv, -9550, 50, 0); 53 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(drc_target_tlv, -3200, 200, 0); 54 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(drc_recovery_tlv, -125, 250, 0); 108 SND_SOC_DAPM_INPUT("MIC1"), 140 {"ADC L1", NULL, "MIC1"}, [all …]
|
| D | nau8540.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 #include <sound/soc-dapm.h> 71 { 32, 3 }, /* OSR 32, SRC 1/8 */ 72 { 64, 2 }, /* OSR 64, SRC 1/4 */ 73 { 128, 1 }, /* OSR 128, SRC 1/2 */ 74 { 256, 0 }, /* OSR 256, SRC 1 */ 183 static const DECLARE_TLV_DB_MINMAX(adc_vol_tlv, -12800, 3600); 184 static const DECLARE_TLV_DB_MINMAX(fepga_gain_tlv, -100, 3600); 187 SOC_SINGLE_TLV("Mic1 Volume", NAU8540_REG_DIGITAL_GAIN_CH1, 236 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in adc_power_control() [all …]
|
| D | lm49453.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * lm49453.c - LM49453 ALSA Soc Audio driver 23 #include <sound/soc-dapm.h> 208 static const char *lm49453_adcl_mux_text[] = { "MIC1", "Aux_L" }; 491 static const DECLARE_TLV_DB_SCALE(adc_dac_tlv, -7650, 150, 1); 493 static const DECLARE_TLV_DB_SCALE(port_tlv, -1800, 600, 0); 494 static const DECLARE_TLV_DB_SCALE(stn_tlv, -7200, 150, 0); 513 /* mic1 and mic2 supports mono only */ 514 SOC_SINGLE_TLV("Mic1 Volume", LM49453_P0_MICL_REG, 0, 15, 0, mic_tlv), 528 SOC_DAPM_ENUM("DMIC12 SRC", lm49453_dmic12_cfg_enum), [all …]
|
| D | nau8824.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 static int quirk_override = -1; 37 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 91 { 64, 2 }, /* OSR 64, SRC 1/4 */ 92 { 256, 0 }, /* OSR 256, SRC 1 */ 93 { 128, 1 }, /* OSR 128, SRC 1/2 */ 95 { 32, 3 }, /* OSR 32, SRC 1/8 */ 99 { 32, 3 }, /* OSR 32, SRC 1/8 */ 100 { 64, 2 }, /* OSR 64, SRC 1/4 */ 101 { 128, 1 }, /* OSR 128, SRC 1/2 */ [all …]
|
| D | wm8994.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8994.c -- WM8994 ALSA SoC Audio driver 5 * Copyright 2009-12 Wolfson Microelectronics plc 114 struct wm8994 *control = wm8994->wm8994; in wm8958_micd_set_rate() 120 idle = !wm8994->jack_mic; in wm8958_micd_set_rate() 124 sysclk = wm8994->aifclk[1]; in wm8958_micd_set_rate() 126 sysclk = wm8994->aifclk[0]; in wm8958_micd_set_rate() 128 if (control->pdata.micd_rates) { in wm8958_micd_set_rate() 129 rates = control->pdata.micd_rates; in wm8958_micd_set_rate() 130 num_rates = control->pdata.num_micd_rates; in wm8958_micd_set_rate() [all …]
|
| D | mt6351.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // mt6351.c -- mt6351 ALSA SoC audio codec driver 8 #include <linux/dma-mapping.h> 202 regmap_update_bits(cmpnt->regmap, MT6351_ZCD_CON2, in set_hp_gain_zero() 204 regmap_update_bits(cmpnt->regmap, MT6351_ZCD_CON2, in set_hp_gain_zero() 225 dev_warn(cmpnt->dev, "%s(), error rate %d, return 3", in get_cap_reg_val() 256 dev_warn(cmpnt->dev, "%s(), error rate %d, return 8", in get_play_reg_val() 266 struct snd_soc_component *cmpnt = dai->component; in mt6351_codec_dai_hw_params() 270 dev_dbg(priv->dev, "%s(), substream->stream %d, rate %d\n", in mt6351_codec_dai_hw_params() 271 __func__, substream->stream, rate); in mt6351_codec_dai_hw_params() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | rt5631.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5631.c -- RT5631 ALSA Soc Audio driver 22 #include <sound/soc-dapm.h> 68 * rt5631_write_index - write index register of 2nd layer 78 * rt5631_read_index - read index register of 2nd layer 169 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 170 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -95625, 375, 0); 171 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 189 ucontrol->value.integer.value[0] = rt5631->dmic_used_flag; in rt5631_dmic_get() 200 rt5631->dmic_used_flag = ucontrol->value.integer.value[0]; in rt5631_dmic_put() [all …]
|
| D | nau8540.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 #include <sound/soc-dapm.h> 71 { 32, 3 }, /* OSR 32, SRC 1/8 */ 72 { 64, 2 }, /* OSR 64, SRC 1/4 */ 73 { 128, 1 }, /* OSR 128, SRC 1/2 */ 74 { 256, 0 }, /* OSR 256, SRC 1 */ 183 static const DECLARE_TLV_DB_MINMAX(adc_vol_tlv, -12800, 3600); 184 static const DECLARE_TLV_DB_MINMAX(fepga_gain_tlv, -100, 3600); 187 SOC_SINGLE_TLV("Mic1 Volume", NAU8540_REG_DIGITAL_GAIN_CH1, 236 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in adc_power_control() [all …]
|
| D | lm49453.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * lm49453.c - LM49453 ALSA Soc Audio driver 23 #include <sound/soc-dapm.h> 208 static const char *lm49453_adcl_mux_text[] = { "MIC1", "Aux_L" }; 491 static const DECLARE_TLV_DB_SCALE(adc_dac_tlv, -7650, 150, 1); 493 static const DECLARE_TLV_DB_SCALE(port_tlv, -1800, 600, 0); 494 static const DECLARE_TLV_DB_SCALE(stn_tlv, -7200, 150, 0); 513 /* mic1 and mic2 supports mono only */ 514 SOC_SINGLE_TLV("Mic1 Volume", LM49453_P0_MICL_REG, 0, 15, 0, mic_tlv), 528 SOC_DAPM_ENUM("DMIC12 SRC", lm49453_dmic12_cfg_enum), [all …]
|
| D | nau8824.c | 1 // SPDX-License-Identifier: GPL-2.0-only 34 static int quirk_override = -1; 36 MODULE_PARM_DESC(quirk, "Board-specific quirk override"); 90 { 64, 2 }, /* OSR 64, SRC 1/4 */ 91 { 256, 0 }, /* OSR 256, SRC 1 */ 92 { 128, 1 }, /* OSR 128, SRC 1/2 */ 94 { 32, 3 }, /* OSR 32, SRC 1/8 */ 98 { 32, 3 }, /* OSR 32, SRC 1/8 */ 99 { 64, 2 }, /* OSR 64, SRC 1/4 */ 100 { 128, 1 }, /* OSR 128, SRC 1/2 */ [all …]
|
| D | wm8994.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8994.c -- WM8994 ALSA SoC Audio driver 5 * Copyright 2009-12 Wolfson Microelectronics plc 114 struct wm8994 *control = wm8994->wm8994; in wm8958_micd_set_rate() 120 idle = !wm8994->jack_mic; in wm8958_micd_set_rate() 124 sysclk = wm8994->aifclk[1]; in wm8958_micd_set_rate() 126 sysclk = wm8994->aifclk[0]; in wm8958_micd_set_rate() 128 if (control->pdata.micd_rates) { in wm8958_micd_set_rate() 129 rates = control->pdata.micd_rates; in wm8958_micd_set_rate() 130 num_rates = control->pdata.num_micd_rates; in wm8958_micd_set_rate() [all …]
|
| D | mt6351.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // mt6351.c -- mt6351 ALSA SoC audio codec driver 8 #include <linux/dma-mapping.h> 202 regmap_update_bits(cmpnt->regmap, MT6351_ZCD_CON2, in set_hp_gain_zero() 204 regmap_update_bits(cmpnt->regmap, MT6351_ZCD_CON2, in set_hp_gain_zero() 225 dev_warn(cmpnt->dev, "%s(), error rate %d, return 3", in get_cap_reg_val() 256 dev_warn(cmpnt->dev, "%s(), error rate %d, return 8", in get_play_reg_val() 266 struct snd_soc_component *cmpnt = dai->component; in mt6351_codec_dai_hw_params() 270 dev_dbg(priv->dev, "%s(), substream->stream %d, rate %d\n", in mt6351_codec_dai_hw_params() 271 __func__, substream->stream, rate); in mt6351_codec_dai_hw_params() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | rt5665.txt | 7 - compatible : One of "realtek,rt5665", "realtek,rt5666". 9 - reg : The I2C address of the device. 11 - interrupts : The CODEC's interrupt output. 15 - realtek,in1-differential 16 - realtek,in2-differential 17 - realtek,in3-differential 18 - realtek,in4-differential 19 Boolean. Indicate MIC1/2/3/4 input are differential, rather than single-ended. 21 - realtek,dmic1-data-pin 26 - realtek,dmic2-data-pin [all …]
|
| D | rt5659.txt | 7 - compatible : One of "realtek,rt5659" or "realtek,rt5658". 9 - reg : The I2C address of the device. 11 - interrupts : The CODEC's interrupt output. 15 - clocks: The phandle of the master clock to the CODEC 16 - clock-names: Should be "mclk" 18 - realtek,in1-differential 19 - realtek,in3-differential 20 - realtek,in4-differential 21 Boolean. Indicate MIC1/3/4 input are differential, rather than single-ended. 23 - realtek,dmic1-data-pin [all …]
|
| /kernel/linux/linux-6.6/sound/pci/ac97/ |
| D | ac97_codec.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 38 MODULE_PARM_DESC(power_save, "Automatic power-saving timeout " 62 * currently used by the AC97 emulation of the almost-AC97 PCI168 card. 65 { 0x434d4900, 0xffffff00, "C-Media Electronics", NULL, NULL }, 139 { 0x43585430, 0xffffffff, "Cx20468-31", patch_conexant, NULL }, 152 { 0x4e534300, 0xffffffff, "LM4540,43,45,46,48", NULL, NULL }, // only guess --jk 161 { 0x54524123, 0xffffffff, "TR28602", NULL, NULL }, // only guess --jk [TR28023 = eMicro EM28023 (… 197 ((ac97->scaps & AC97_SCAP_POWER_SAVE) && power_save) 203 dev_err((ac97)->bus->card->dev, fmt, ##args) 205 dev_warn((ac97)->bus->card->dev, fmt, ##args) [all …]
|
| /kernel/linux/linux-5.10/sound/pci/ac97/ |
| D | ac97_codec.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 38 MODULE_PARM_DESC(power_save, "Automatic power-saving timeout " 62 * currently used by the AC97 emulation of the almost-AC97 PCI168 card. 65 { 0x434d4900, 0xffffff00, "C-Media Electronics", NULL, NULL }, 139 { 0x43585430, 0xffffffff, "Cx20468-31", patch_conexant, NULL }, 152 { 0x4e534300, 0xffffffff, "LM4540,43,45,46,48", NULL, NULL }, // only guess --jk 162 { 0x54524123, 0xffffffff, "TR28602", NULL, NULL }, // only guess --jk [TR28023 = eMicro EM28023 (… 198 ((ac97->scaps & AC97_SCAP_POWER_SAVE) && power_save) 204 dev_err((ac97)->bus->card->dev, fmt, ##args) 206 dev_warn((ac97)->bus->card->dev, fmt, ##args) [all …]
|
| /kernel/linux/linux-6.6/sound/pci/hda/ |
| D | patch_ca0132.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 74 #define DESKTOP_EFX_FILE "ctefx-desktop.bin" 75 #define R3DI_EFX_FILE "ctefx-r3di.bin" 115 #define VNODES_COUNT (VNODE_END_NID - VNODE_START_NID) 126 #define OUT_EFFECTS_COUNT (OUT_EFFECT_END_NID - OUT_EFFECT_START_NID) 134 #define IN_EFFECTS_COUNT (IN_EFFECT_END_NID - IN_EFFECT_START_NID) 154 #define EFFECTS_COUNT (EFFECT_END_NID - EFFECT_START_NID) 163 * X-bass. 182 int params; /* number of default non-on/off params */ 223 { .name = "X-Bass", [all …]
|
| /kernel/linux/linux-5.10/sound/pci/hda/ |
| D | patch_ca0132.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 74 #define DESKTOP_EFX_FILE "ctefx-desktop.bin" 75 #define R3DI_EFX_FILE "ctefx-r3di.bin" 115 #define VNODES_COUNT (VNODE_END_NID - VNODE_START_NID) 126 #define OUT_EFFECTS_COUNT (OUT_EFFECT_END_NID - OUT_EFFECT_START_NID) 134 #define IN_EFFECTS_COUNT (IN_EFFECT_END_NID - IN_EFFECT_START_NID) 154 #define EFFECTS_COUNT (EFFECT_END_NID - EFFECT_START_NID) 163 * X-bass. 182 int params; /* number of default non-on/off params */ 223 { .name = "X-Bass", [all …]
|
| /kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/ |
| D | linux-5.10.patch | 1 diff -Naur a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile 2 --- a/arch/arm/boot/Makefile 2022-05-27 17:20:13.781877650 +0800 3 +++ b/arch/arm/boot/Makefile 2022-05-31 11:56:47.693259679 +0800 4 @@ -16,6 +16,7 @@ 12 @@ -24,10 +25,12 @@ 13 ZRELADDR := $(zreladdr-y) 14 PARAMS_PHYS := $(params_phys-y) 15 INITRD_PHYS := $(initrd_phys-y) 16 +DTB_OBJS ?= $(dtb-y) 21 -targets := Image zImage xipImage bootpImage uImage [all …]
|