Home
last modified time | relevance | path

Searched full:rt5640 (Results 1 – 25 of 50) sorted by relevance

12

/kernel/linux/linux-6.6/sound/soc/codecs/
Drt5640.c3 * rt5640.c -- RT5640/RT5639 ALSA SoC audio codec driver
32 #include "rt5640.h"
462 struct rt5640_priv *rt5640 = snd_soc_component_get_drvdata(component); in set_dmic_clk() local
465 rate = rt5640->sysclk / rl6231_get_pre_div(rt5640->regmap, in set_dmic_clk()
480 struct rt5640_priv *rt5640 = snd_soc_component_get_drvdata(component); in is_using_asrc() local
482 if (!rt5640->asrc_en) in is_using_asrc()
918 struct rt5640_priv *rt5640 = snd_soc_component_get_drvdata(component); in hp_amp_power_on() local
921 regmap_update_bits(rt5640->regmap, RT5640_PR_BASE + in hp_amp_power_on()
923 regmap_update_bits(rt5640->regmap, RT5640_DEPOP_M2, in hp_amp_power_on()
925 regmap_update_bits(rt5640->regmap, RT5640_DEPOP_M1, in hp_amp_power_on()
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Drt5640.c3 * rt5640.c -- RT5640/RT5639 ALSA SoC audio codec driver
33 #include "rt5640.h"
463 struct rt5640_priv *rt5640 = snd_soc_component_get_drvdata(component); in set_dmic_clk() local
466 rate = rt5640->sysclk / rl6231_get_pre_div(rt5640->regmap, in set_dmic_clk()
481 struct rt5640_priv *rt5640 = snd_soc_component_get_drvdata(component); in is_using_asrc() local
483 if (!rt5640->asrc_en) in is_using_asrc()
919 struct rt5640_priv *rt5640 = snd_soc_component_get_drvdata(component); in hp_amp_power_on() local
922 regmap_update_bits(rt5640->regmap, RT5640_PR_BASE + in hp_amp_power_on()
924 regmap_update_bits(rt5640->regmap, RT5640_DEPOP_M2, in hp_amp_power_on()
926 regmap_update_bits(rt5640->regmap, RT5640_DEPOP_M1, in hp_amp_power_on()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dnvidia,tegra-audio-rt5640.txt1 NVIDIA Tegra audio complex, with RT5640 CODEC
4 - compatible : "nvidia,tegra-audio-rt5640"
15 sinks are the RT5640's pins (as documented in its binding), and the jacks
24 - nvidia,audio-codec : The phandle of the RT5640 audio codec. This binding
33 compatible = "nvidia,tegra-audio-rt5640-dalmore",
34 "nvidia,tegra-audio-rt5640";
46 nvidia,audio-codec = <&rt5640>;
Drt5640.txt1 RT5640/RT5639 audio CODEC
7 - compatible : One of "realtek,rt5640" or "realtek,rt5639".
60 Pins on the device (for linking into audio routes) for RT5639/RT5640:
80 Additional pins on the device for RT5640:
87 rt5640 {
88 compatible = "realtek,rt5640";
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dnvidia,tegra-audio-rt5640.yaml4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-rt5640.yaml#
7 title: NVIDIA Tegra audio complex with RT5639 or RT5640 CODEC
20 - const: nvidia,tegra-audio-rt5640
65 compatible = "nvidia,tegra-audio-rt5640-dalmore",
66 "nvidia,tegra-audio-rt5640";
78 nvidia,audio-codec = <&rt5640>;
Drt5640.txt1 RT5640/RT5639 audio CODEC
7 - compatible : One of "realtek,rt5640" or "realtek,rt5639".
63 Pins on the device (for linking into audio routes) for RT5639/RT5640:
83 Additional pins on the device for RT5640:
90 rt5640 {
91 compatible = "realtek,rt5640";
/kernel/linux/linux-5.10/sound/soc/tegra/
Dtegra_rt5640.c3 * tegra_rt5640.c - Tegra machine ASoC driver for boards using RT5640 codec.
27 #include "../codecs/rt5640.h"
31 #define DRV_NAME "tegra-snd-rt5640"
120 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "rt5640-aif1")),
124 .name = "RT5640",
125 .stream_name = "RT5640 PCM",
134 .name = "tegra-rt5640",
207 { .compatible = "nvidia,tegra-audio-rt5640", },
222 MODULE_DESCRIPTION("Tegra+RT5640 machine ASoC driver");
DMakefile32 snd-soc-tegra-rt5640-objs := tegra_rt5640.o
42 obj-$(CONFIG_SND_SOC_TEGRA_RT5640) += snd-soc-tegra-rt5640.o
DKconfig122 tristate "SoC Audio support for Tegra boards using an RT5640 codec"
127 boards using the RT5640 codec, such as Dalmore.
/kernel/linux/linux-5.10/sound/soc/intel/boards/
Dhaswell.c16 #include "../../codecs/rt5640.h"
93 DAILINK_COMP_ARRAY(COMP_CODEC("i2c-INT33CA:00", "rt5640-aif1")));
158 /* audio machine driver for Haswell Lynxpoint DSP + RT5640 */
160 .name = "haswell-rt5640",
Dbytcr_rt5640.c28 #include <dt-bindings/sound/rt5640.h>
29 #include "../../codecs/rt5640.h"
220 #define BYT_CODEC_DAI1 "rt5640-aif1"
221 #define BYT_CODEC_DAI2 "rt5640-aif2"
1203 /* changed w/ quirk */ "rt5640-aif1")));
1248 static char byt_rt5640_long_name[40]; /* = "bytcr-rt5640-*-spk-*-mic" */
1291 #define CARD_NAME "bytcht rt5640" /* card name will be 'sof-bytcht rt5640' */
1294 #define CARD_NAME "bytcr-rt5640"
1442 byt_rt5640_dais[dai_index].codecs->dai_name = "rt5640-aif2"; in snd_byt_rt5640_mc_probe()
1485 "bytcr-rt5640-%s-spk-%s-mic", spk_type, in snd_byt_rt5640_mc_probe()
DMakefile11 snd-soc-sst-bytcr-rt5640-objs := bytcr_rt5640.o
52 obj-$(CONFIG_SND_SOC_INTEL_BYTCR_RT5640_MACH) += snd-soc-sst-bytcr-rt5640.o
/kernel/linux/linux-6.6/sound/soc/intel/boards/
DMakefile2 snd-soc-hsw-rt5640-objs := hsw_rt5640.o
11 snd-soc-sst-bytcr-rt5640-objs := bytcr_rt5640.o
51 obj-$(CONFIG_SND_SOC_INTEL_HASWELL_MACH) += snd-soc-hsw-rt5640.o
60 obj-$(CONFIG_SND_SOC_INTEL_BYTCR_RT5640_MACH) += snd-soc-sst-bytcr-rt5640.o
Dhsw_rt5640.c15 #include "../../codecs/rt5640.h"
76 SND_SOC_DAILINK_DEF(codec, DAILINK_COMP_ARRAY(COMP_CODEC("i2c-INT33CA:00", "rt5640-aif1")));
137 .name = "haswell-rt5640",
Dbytcr_rt5640.c30 #include <dt-bindings/sound/rt5640.h>
31 #include "../../codecs/rt5640.h"
249 #define BYT_CODEC_DAI1 "rt5640-aif1"
250 #define BYT_CODEC_DAI2 "rt5640-aif2"
1214 { "rt5640-jd-gpios", &amcr0f28_jd_gpio, 1 },
1241 "rt5640-jd", GPIOD_IN, "rt5640-jd"); in byt_rt5640_get_amcr0f28_settings()
1525 /* changed w/ quirk */ "rt5640-aif1")));
1570 static char byt_rt5640_long_name[40]; /* = "bytcr-rt5640-*-spk-*-mic" */
1613 #define SOF_CARD_NAME "bytcht rt5640" /* card name will be 'sof-bytcht rt5640' */
1616 #define CARD_NAME "bytcr-rt5640"
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/
Drk3399-firefly.dts109 rt5640-sound {
111 simple-audio-card,name = "rockchip,rt5640-codec";
128 sound-dai = <&rt5640>;
495 rt5640: rt5640@1c { label
496 compatible = "realtek,rt5640";
607 rt5640 {
608 rt5640_hpcon: rt5640-hpcon {
/kernel/linux/linux-6.6/arch/arm64/boot/dts/nvidia/
Dtegra234-p3740-0002.dtsi3 #include <dt-bindings/sound/rt5640.h>
36 rt5640: audio-codec@1c { label
37 compatible = "realtek,rt5640";
Dtegra234-p3737-0000.dtsi3 #include <dt-bindings/sound/rt5640.h>
44 compatible = "realtek,rt5640";
/kernel/linux/linux-5.10/sound/soc/intel/common/
Dsoc-acpi-intel-cht-match.c136 /* some CHT-T platforms rely on RT5640, use Baytrail machine driver */
144 .sof_tplg_filename = "sof-cht-rt5640.tplg",
152 .sof_tplg_filename = "sof-cht-rt5640.tplg",
Dsoc-acpi-intel-byt-match.c131 .sof_tplg_filename = "sof-byt-rt5640.tplg",
139 .sof_tplg_filename = "sof-byt-rt5640.tplg",
147 .sof_tplg_filename = "sof-byt-rt5640.tplg",
/kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/
Drk3399-firefly.dts124 rt5640-sound {
126 simple-audio-card,name = "rockchip,rt5640-codec";
143 sound-dai = <&rt5640>;
543 rt5640: rt5640@1c { label
544 compatible = "realtek,rt5640";
722 rt5640 {
723 rt5640_hpcon: rt5640-hpcon {
/kernel/linux/linux-6.6/sound/soc/tegra/
Dtegra_asoc_machine.c882 /* RT5640 machine */
886 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "rt5640-aif1")),
890 .name = "RT5640",
891 .stream_name = "RT5640 PCM",
900 .components = "codec:rt5640",
991 { .compatible = "nvidia,tegra-audio-rt5640", .data = &tegra_rt5640_data },
/kernel/linux/linux-6.6/sound/soc/intel/common/
Dsoc-acpi-intel-cht-match.c177 /* some CHT-T platforms rely on RT5640, use Baytrail machine driver */
184 .sof_tplg_filename = "sof-cht-rt5640.tplg",
Dsoc-acpi-intel-hsw-bdw-match.c31 .sof_tplg_filename = "sof-bdw-rt5640.tplg",
/kernel/linux/linux-6.6/arch/arm/boot/dts/amlogic/
Dmeson8b-ec100.dts120 sound-dai = <&rt5640>;
318 rt5640: codec@1c { label
319 compatible = "realtek,rt5640";

12