Searched +full:rt5682 +full:- +full:dai +full:- +full:bclk (Results 1 – 10 of 10) sorted by relevance
/linux-6.14.4/sound/soc/amd/ |
D | acp-da7219-max98357a.c | 1 // SPDX-License-Identifier: MIT 3 // Machine driver for AMD ACP Audio engine using DA7219, RT5682 & MAX98357 codec 5 //Copyright 2017-2021 Advanced Micro Devices, Inc. 11 #include <sound/soc-dapm.h> 24 #include "../codecs/rt5682.h" 56 struct snd_soc_card *card = rtd->card; in cz_da7219_init() 58 struct snd_soc_component *component = codec_dai->component; in cz_da7219_init() 60 dev_info(rtd->dev, "codec dai name = %s\n", codec_dai->name); in cz_da7219_init() 65 dev_err(rtd->dev, "can't set codec sysclk: %d\n", ret); in cz_da7219_init() 72 dev_err(rtd->dev, "can't set codec pll: %d\n", ret); in cz_da7219_init() [all …]
|
D | acp3x-rt5682-max9836.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 #include <sound/soc-dapm.h> 23 #include "../codecs/rt5682.h" 48 RT5682 = 0, enumerator 56 struct snd_soc_card *card = rtd->card; in acp3x_5682_init() 58 struct snd_soc_component *component = codec_dai->component; in acp3x_5682_init() 60 dev_info(rtd->dev, "codec dai name = %s\n", codec_dai->name); in acp3x_5682_init() 62 /* set rt5682 dai fmt */ in acp3x_5682_init() 67 dev_err(rtd->card->dev, in acp3x_5682_init() 68 "Failed to set rt5682 dai fmt: %d\n", ret); in acp3x_5682_init() [all …]
|
/linux-6.14.4/sound/soc/amd/acp/ |
D | acp-mach-common.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 19 #include <sound/soc-dapm.h> 24 #include "../../codecs/rt5682.h" 29 #include "acp-mach.h" 35 #define NAU8821_CODEC_DAI "nau8821-hifi" 38 #define MAX98388_CODEC_DAI "max98388-aif1" 44 /* Google skyrim proto-0 */ 77 clk_set_rate(drvdata->wclk, srate); in acp_clk_enable() 78 clk_set_rate(drvdata->bclk, srate * bclk_ratio); in acp_clk_enable() 80 return clk_prepare_enable(drvdata->wclk); in acp_clk_enable() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/sound/ |
D | realtek,rt5682.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/realtek,rt5682.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Realtek rt5682 and rt5682i codecs 10 - Bard Liao <[email protected]> 13 - $ref: dai-common.yaml# 18 - realtek,rt5682 19 - realtek,rt5682i 29 realtek,dmic1-data-pin: [all …]
|
D | realtek,rt5682s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Derek Fang <[email protected]> 13 Rt5682s(ALC5682I-VS) is a rt5682i variant which supports I2C only. 16 - $ref: dai-common.yaml# 30 realtek,dmic1-data-pin: 33 - 0 # dmic1 data is not used 34 - 1 # using GPIO2 pin as dmic1 data pin 35 - 2 # using GPIO5 pin as dmic1 data pin [all …]
|
/linux-6.14.4/sound/soc/codecs/ |
D | rt5682.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // rt5682.c -- RT5682 ALSA SoC audio component driver 25 #include <sound/soc-dapm.h> 28 #include <sound/rt5682.h> 31 #include "rt5682.h" 38 "LDO1-IN", 56 void rt5682_apply_patch_list(struct rt5682_priv *rt5682, struct device *dev) in rt5682_apply_patch_list() argument 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); [all …]
|
D | rt5682-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // rt5682.c -- RT5682 ALSA SoC audio component driver 25 #include <sound/soc-dapm.h> 28 #include <sound/rt5682.h> 31 #include "rt5682.h" 38 .dai_clk_names[RT5682_DAI_WCLK_IDX] = "rt5682-dai-wclk", 39 .dai_clk_names[RT5682_DAI_BCLK_IDX] = "rt5682-dai-bclk", 57 struct rt5682_priv *rt5682 = container_of(work, struct rt5682_priv, in rt5682_jd_check_handler() local 60 if (snd_soc_component_read(rt5682->component, RT5682_AJD1_CTRL) & RT5682_JDH_RS_MASK) in rt5682_jd_check_handler() 63 &rt5682->jack_detect_work, 0); in rt5682_jd_check_handler() [all …]
|
D | rt5682s.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // rt5682s.c -- RT5682I-VS ALSA SoC audio component driver 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() 634 dev_dbg(component->dev, "%s btn_type=%x\n", __func__, btn_type); in rt5682s_button_detect() 651 mutex_lock(&rt5682s->sar_mutex); in rt5682s_sar_power_mode() [all …]
|
/linux-6.14.4/sound/soc/intel/boards/ |
D | sof_rt5682.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright(c) 2019-2020 Intel Corporation. 5 * Intel SOF Machine Driver with Realtek rt5682 Codec 20 #include <sound/rt5682.h> 22 #include <sound/soc-acpi.h> 23 #include "../../codecs/rt5682.h" 26 #include "../common/soc-intel-quirks.h" 31 /* Driver-specific board quirks: from bit 0 to 7 */ 40 sof_rt5682_quirk = (unsigned long)id->driver_data; in sof_rt5682_quirk_cb() 57 DMI_MATCH(DMI_PRODUCT_NAME, "UP-CHT01"), [all …]
|
/linux-6.14.4/sound/soc/mediatek/mt8188/ |
D | mt8188-mt6359.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * mt8188-mt6359.c -- MT8188-MT6359 ALSA SoC machine driver 17 #include "mt8188-afe-common.h" 20 #include "../../codecs/rt5682.h" 21 #include "../common/mtk-afe-platform-driver.h" 22 #include "../common/mtk-soundcard-driver.h" 23 #include "../common/mtk-dsp-sof-common.h" 24 #include "../common/mtk-soc-card.h" 42 #define MAX98390_CODEC_DAI "max98390-aif1" 43 #define MAX98390_DEV0_NAME "max98390.0-0038" /* rear right */ [all …]
|