Searched +full:rt5682 +full:- +full:dai +full:- +full:wclk (Results 1 – 6 of 6) sorted by relevance
/linux/Documentation/devicetree/bindings/sound/ |
H A D | rt5682.txt | 1 RT5682 audio CODEC 7 - compatible : "realtek,rt5682" or "realtek,rt5682i" 9 - reg : The I2C address of the device. 11 - AVDD-supply: phandle to the regulator supplying analog power through the 14 - MICVDD-supply: phandle to the regulator supplying power for the microphone 17 - VBAT-supply: phandle to the regulator supplying battery power through the 20 - DBVDD-supply: phandle to the regulator supplying I/O power through the DBVDD 23 - LDO1-IN-supply: phandle to the regulator supplying power to the digital core 28 - interrupts : The CODEC's interrupt output. 30 - realtek,dmic1-data-pin [all …]
|
H A 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 <derek.fang@realtek.com> 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/sound/soc/codecs/ |
H A 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() 749 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -6525, 75, 0); 750 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -1725, 75, 0); [all …]
|
H A 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 …]
|
H A 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/sound/soc/amd/acp/ |
H A 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 …]
|