Home
last modified time | relevance | path

Searched refs:rt5682 (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.6.21/sound/soc/codecs/
Drt5682-i2c.c57 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()
65 schedule_delayed_work(&rt5682->jd_check_work, 500); in rt5682_jd_check_handler()
70 struct rt5682_priv *rt5682 = data; in rt5682_irq() local
73 &rt5682->jack_detect_work, msecs_to_jiffies(rt5682->irq_work_delay_time)); in rt5682_irq()
114 struct rt5682_priv *rt5682 = data; in rt5682_i2c_disable_regulators() local
116 regulator_bulk_disable(ARRAY_SIZE(rt5682->supplies), rt5682->supplies); in rt5682_i2c_disable_regulators()
122 struct rt5682_priv *rt5682; in rt5682_i2c_probe() local
126 rt5682 = devm_kzalloc(&i2c->dev, sizeof(struct rt5682_priv), in rt5682_i2c_probe()
[all …]
Drt5682-sdw.c42 struct rt5682_priv *rt5682 = dev_get_drvdata(dev); in rt5682_sdw_read() local
45 regmap_write(rt5682->sdw_regmap, RT5682_SDW_CMD, 0); in rt5682_sdw_read()
46 regmap_write(rt5682->sdw_regmap, RT5682_SDW_ADDR_H, (reg >> 8) & 0xff); in rt5682_sdw_read()
47 regmap_write(rt5682->sdw_regmap, RT5682_SDW_ADDR_L, (reg & 0xff)); in rt5682_sdw_read()
48 regmap_read(rt5682->sdw_regmap, RT5682_SDW_DATA_H, &data_h); in rt5682_sdw_read()
49 regmap_read(rt5682->sdw_regmap, RT5682_SDW_DATA_L, &data_l); in rt5682_sdw_read()
61 struct rt5682_priv *rt5682 = dev_get_drvdata(dev); in rt5682_sdw_write() local
63 regmap_write(rt5682->sdw_regmap, RT5682_SDW_CMD, 1); in rt5682_sdw_write()
64 regmap_write(rt5682->sdw_regmap, RT5682_SDW_ADDR_H, (reg >> 8) & 0xff); in rt5682_sdw_write()
65 regmap_write(rt5682->sdw_regmap, RT5682_SDW_ADDR_L, (reg & 0xff)); in rt5682_sdw_write()
[all …]
Drt5682.c56 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()
815 void rt5682_reset(struct rt5682_priv *rt5682) in rt5682_reset() argument
817 regmap_write(rt5682->regmap, RT5682_RESET, 0); in rt5682_reset()
818 if (!rt5682->is_sdw) in rt5682_reset()
819 regmap_write(rt5682->regmap, RT5682_I2C_MODE, 1); in rt5682_reset()
883 struct rt5682_priv *rt5682 = snd_soc_component_get_drvdata(component); in rt5682_enable_push_button_irq() local
894 if (rt5682->is_sdw) in rt5682_enable_push_button_irq()
928 struct rt5682_priv *rt5682 = snd_soc_component_get_drvdata(component); in rt5682_headset_detect() local
966 rt5682->jack_type = SND_JACK_HEADSET; in rt5682_headset_detect()
[all …]
Drt5682.h1475 void rt5682_apply_patch_list(struct rt5682_priv *rt5682, struct device *dev);
1483 void rt5682_calibrate(struct rt5682_priv *rt5682);
1484 void rt5682_reset(struct rt5682_priv *rt5682);
1485 int rt5682_parse_dt(struct rt5682_priv *rt5682, struct device *dev);
1486 int rt5682_get_ldo1(struct rt5682_priv *rt5682, struct device *dev);
1488 int rt5682_register_dai_clks(struct rt5682_priv *rt5682);
DMakefile235 snd-soc-rt5682-objs := rt5682.o
236 snd-soc-rt5682-sdw-objs := rt5682-sdw.o
237 snd-soc-rt5682-i2c-objs := rt5682-i2c.o
617 obj-$(CONFIG_SND_SOC_RT5682) += snd-soc-rt5682.o
618 obj-$(CONFIG_SND_SOC_RT5682_I2C) += snd-soc-rt5682-i2c.o
619 obj-$(CONFIG_SND_SOC_RT5682_SDW) += snd-soc-rt5682-sdw.o
/linux-6.6.21/sound/soc/amd/
DMakefile6 snd-soc-acp-rt5682-mach-objs := acp3x-rt5682-max9836.o
14 obj-$(CONFIG_SND_SOC_AMD_RV_RT5682_MACH) += snd-soc-acp-rt5682-mach.o
Dacp-da7219-max98357a.c528 SND_SOC_DAILINK_DEF(rt5682,
604 SND_SOC_DAILINK_REG(designware1, rt5682, platform),
614 SND_SOC_DAILINK_REG(designware2, rt5682, platform),
Dacp3x-rt5682-max9836.c287 SND_SOC_DAILINK_DEF(rt5682,
323 SND_SOC_DAILINK_REG(acp3x_i2s, rt5682, platform),
/linux-6.6.21/arch/arm64/boot/dts/mediatek/
Dmt8192-asurada-audio-rt1015p-rt5682.dtsi6 #include "mt8192-asurada-audio-rt5682.dtsi"
17 sound-dai = <&rt5682 0>;
Dmt8192-asurada-audio-rt5682.dtsi7 rt5682: audio-codec@1a { label
Dmt8192-asurada-spherion-r0.dts7 #include "mt8192-asurada-audio-rt1015p-rt5682.dtsi"
Dmt8192-asurada-hayato-r1.dts7 #include "mt8192-asurada-audio-rt1015p-rt5682.dtsi"
/linux-6.6.21/sound/soc/intel/avs/boards/
DMakefile17 snd-soc-avs-rt5682-objs := rt5682.o
34 obj-$(CONFIG_SND_SOC_INTEL_AVS_MACH_RT5682) += snd-soc-avs-rt5682.o
/linux-6.6.21/Documentation/devicetree/bindings/sound/
Drt5682.txt7 - compatible : "realtek,rt5682" or "realtek,rt5682i"
76 rt5682 {
89 clock-output-names = "rt5682-dai-wclk", "rt5682-dai-bclk";
Dmt8192-mt6359-rt1015-rt5682.yaml4 $id: http://devicetree.org/schemas/sound/mt8192-mt6359-rt1015-rt5682.yaml#
75 sound-dai = <&rt5682>;
Drealtek,rt5682s.yaml140 clock-output-names = "rt5682-dai-wclk", "rt5682-dai-bclk";
Dgoogle,sc7180-trogdor.yaml91 model = "sc7180-rt5682-max98357a-2mic";
/linux-6.6.21/arch/arm64/boot/dts/qcom/
Dsc7280-herobrine-audio-rt5682.dtsi5 * using rt5682 codec.
14 model = "sc7280-rt5682-max98360a-1mic";
Dsc7280-herobrine-audio-rt5682-3mic.dtsi5 * using rt5682 codec and having 3 dmics connected to sc7280.
14 model = "sc7280-rt5682-max98360a-3mic";
Dsc7280-herobrine-zombie.dtsi9 #include "sc7280-herobrine-audio-rt5682.dtsi"
Dsc7180-trogdor-pompom.dtsi175 model = "sc7180-rt5682-max98357a-2mic";
Dsc7280-herobrine-evoker.dtsi9 #include "sc7280-herobrine-audio-rt5682-3mic.dtsi"
Dsc7280-herobrine-herobrine-r1.dts11 #include "sc7280-herobrine-audio-rt5682.dtsi"
/linux-6.6.21/sound/soc/mediatek/mt8192/
DMakefile16 mt8192-mt6359-rt1015-rt5682.o
/linux-6.6.21/sound/soc/amd/acp/
Dacp-mach-common.c84 SND_SOC_DAILINK_DEF(rt5682,
1365 links[i].codecs = rt5682; in acp_sofdsp_dai_links_create()
1366 links[i].num_codecs = ARRAY_SIZE(rt5682); in acp_sofdsp_dai_links_create()
1548 links[i].codecs = rt5682; in acp_legacy_dai_links_create()
1549 links[i].num_codecs = ARRAY_SIZE(rt5682); in acp_legacy_dai_links_create()

12