Home
last modified time | relevance | path

Searched full:wm8731 (Results 1 – 25 of 38) sorted by relevance

12

/linux-6.15/sound/soc/codecs/
Dwm8731.c3 * wm8731.c -- WM8731 ALSA SoC Audio driver
29 #include "wm8731.h"
39 * wm8731 register cache
70 struct wm8731_priv *wm8731 = snd_soc_component_get_drvdata(component); in wm8731_set_deemph() local
76 if (wm8731->deemph) { in wm8731_set_deemph()
79 if (abs(wm8731_deemph[i] - wm8731->playback_fs) < in wm8731_set_deemph()
80 abs(wm8731_deemph[best] - wm8731->playback_fs)) in wm8731_set_deemph()
100 struct wm8731_priv *wm8731 = snd_soc_component_get_drvdata(component); in wm8731_get_deemph() local
102 ucontrol->value.integer.value[0] = wm8731->deemph; in wm8731_get_deemph()
111 struct wm8731_priv *wm8731 = snd_soc_component_get_drvdata(component); in wm8731_put_deemph() local
[all …]
Dwm8731-spi.c3 * wm8731.c -- WM8731 ALSA SoC Audio driver
17 #include "wm8731.h"
20 { .compatible = "wlf,wm8731", },
27 struct wm8731_priv *wm8731; in wm8731_spi_probe() local
30 wm8731 = devm_kzalloc(&spi->dev, sizeof(*wm8731), GFP_KERNEL); in wm8731_spi_probe()
31 if (wm8731 == NULL) in wm8731_spi_probe()
34 spi_set_drvdata(spi, wm8731); in wm8731_spi_probe()
36 wm8731->regmap = devm_regmap_init_spi(spi, &wm8731_regmap); in wm8731_spi_probe()
37 if (IS_ERR(wm8731->regmap)) { in wm8731_spi_probe()
38 ret = PTR_ERR(wm8731->regmap); in wm8731_spi_probe()
[all …]
Dwm8731-i2c.c3 * wm8731-i2c.c -- WM8731 ALSA SoC Audio driver I2C code
17 #include "wm8731.h"
21 { .compatible = "wlf,wm8731", },
28 struct wm8731_priv *wm8731; in wm8731_i2c_probe() local
31 wm8731 = devm_kzalloc(&i2c->dev, sizeof(struct wm8731_priv), in wm8731_i2c_probe()
33 if (wm8731 == NULL) in wm8731_i2c_probe()
36 i2c_set_clientdata(i2c, wm8731); in wm8731_i2c_probe()
38 wm8731->regmap = devm_regmap_init_i2c(i2c, &wm8731_regmap); in wm8731_i2c_probe()
39 if (IS_ERR(wm8731->regmap)) { in wm8731_i2c_probe()
40 ret = PTR_ERR(wm8731->regmap); in wm8731_i2c_probe()
[all …]
Dwm8731.h3 * wm8731.h -- WM8731 Soc Audio driver
22 /* WM8731 register space */
61 int wm8731_init(struct device *dev, struct wm8731_priv *wm8731);
Dwm8711.h9 * Based on wm8731.h
Dtlv320aic23-spi.c8 * Based on sound/soc/codecs/wm8731.c by Richard Purdie
Dtlv320aic23-i2c.c8 * Based on sound/soc/codecs/wm8731.c by Richard Purdie
Dtlv320aic3x-i2c.c8 * Based on sound/soc/codecs/wm8731.c by Richard Purdie
Dtlv320aic3x-spi.c8 * Based on sound/soc/codecs/wm8731.c by Richard Purdie
/linux-6.15/sound/soc/au1x/
Ddb1200.c22 #include "../codecs/wm8731.h"
101 /* WM8731 has its own 12MHz crystal */ in db1200_i2s_startup()
114 DAILINK_COMP_ARRAY(COMP_CODEC("wm8731.0-001b", "wm8731-hifi")),
118 .name = "WM8731",
119 .stream_name = "WM8731 PCM",
135 DAILINK_COMP_ARRAY(COMP_CODEC("wm8731.0-001b", "wm8731-hifi")),
139 .name = "WM8731",
140 .stream_name = "WM8731 PCM",
156 DAILINK_COMP_ARRAY(COMP_CODEC("wm8731.0-001b", "wm8731-hifi")),
160 .name = "WM8731",
[all …]
/linux-6.15/Documentation/devicetree/bindings/sound/
Datmel,at91sam9g20ek-wm8731.yaml4 $id: http://devicetree.org/schemas/sound/atmel,at91sam9g20ek-wm8731.yaml#
7 title: Atmel at91sam9g20ek wm8731 audio complex
13 The audio complex configuration for Atmel at91sam9g20ek with WM8731 audio codec.
17 const: atmel,at91sam9g20ek-wm8731-audio
49 description: The phandle of WM8731 audio codec.
63 compatible = "atmel,at91sam9g20ek-wm8731-audio";
66 atmel,model = "wm8731 @ AT91SAMG20EK";
71 atmel,audio-codec = <&wm8731>;
Datmel,sam9x5-wm8731-audio.yaml4 $id: http://devicetree.org/schemas/sound/atmel,sam9x5-wm8731-audio.yaml#
7 title: Atmel at91sam9x5ek wm8731 audio complex
13 The audio complex configuration for Atmel at91sam9x5ek with WM8731 audio codec.
17 const: atmel,sam9x5-wm8731-audio
29 description: The phandle of the WM8731 audio codec.
64 compatible = "atmel,sam9x5-wm8731-audio";
66 atmel,model = "wm8731 @ AT91SAM9X5EK";
75 atmel,audio-codec = <&wm8731>;
Dwlf,wm8731.yaml4 $id: http://devicetree.org/schemas/sound/wlf,wm8731.yaml#
7 title: Wolfson Microelectromics WM8731 audio CODEC
13 Wolfson Microelectronics WM8731 audio CODEC
27 - wlf,wm8731
75 compatible = "wlf,wm8731";
91 compatible = "wlf,wm8731";
Dmikroe,mikroe-proto.txt7 - audio-codec: The phandle of the WM8731 audio codec.
18 model = "wm8731 @ sama5d2_xplained";
20 audio-codec = <&wm8731>;
Datmel,asoc-wm8904.yaml29 description: The phandle of the WM8731 audio codec.
/linux-6.15/sound/soc/atmel/
Dsam9x5_wm8731.c4 * that are using WM8731 as codec.
26 #include "../codecs/wm8731.h"
32 #define DRV_NAME "sam9x5-snd-wm8731"
39 * Logic for a wm8731 as connected on a at91sam9x5ek based board.
53 dev_err(dev, "Failed to set WM8731 SYSCLK: %d\n", ret); in sam9x5_wm8731_init()
113 dai->name = "WM8731"; in sam9x5_wm8731_driver_probe()
114 dai->stream_name = "WM8731 PCM"; in sam9x5_wm8731_driver_probe()
115 dai->codecs->dai_name = "wm8731-hifi"; in sam9x5_wm8731_driver_probe()
188 { .compatible = "atmel,sam9x5-wm8731-audio", },
206 MODULE_DESCRIPTION("ALSA SoC machine driver for AT91SAM9x5 - WM8731");
Dsam9g20_wm8731.c35 #include "../codecs/wm8731.h"
59 /* mic is connected to Mic Jack, with WM8731 Mic Bias */
65 * Logic for a wm8731 as connected on a at91sam9g20ek board.
78 dev_err(dev, "Failed to set WM8731 SYSCLK: %d\n", ret); in at91sam9g20ek_wm8731_init()
91 DAILINK_COMP_ARRAY(COMP_CODEC("wm8731.0-001b", "wm8731-hifi")),
95 .name = "WM8731",
96 .stream_name = "WM8731 PCM",
198 { .compatible = "atmel,at91sam9g20ek-wm8731-audio", },
Dmikroe-proto.c3 * ASoC driver for PROTO AudioCODEC (with a WM8731)
17 #include "../codecs/wm8731.h"
30 dev_err(card->dev, "Failed to set WM8731 SYSCLK: %d\n", in snd_proto_init()
48 /* mic is connected to Mic Jack, with WM8731 Mic Bias */
103 dai->name = "WM8731"; in snd_proto_probe()
104 dai->stream_name = "WM8731 HiFi"; in snd_proto_probe()
105 dai->codecs->dai_name = "wm8731-hifi"; in snd_proto_probe()
175 MODULE_DESCRIPTION("ASoC Driver for PROTO board (WM8731)");
DMakefile28 snd-soc-sam9g20-wm8731-y := sam9g20_wm8731.o
30 snd-soc-sam9x5-wm8731-y := sam9x5_wm8731.o
36 obj-$(CONFIG_SND_AT91_SOC_SAM9G20_WM8731) += snd-soc-sam9g20-wm8731.o
38 obj-$(CONFIG_SND_AT91_SOC_SAM9X5_WM8731) += snd-soc-sam9x5-wm8731.o
DKconfig43 tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board"
49 Say Y if you want to add support for SoC audio on WM8731-based
63 tristate "SoC Audio support for WM8731-based at91sam9x5 board"
70 at91sam9x5 based board that is using WM8731 codec.
116 Board. This board contains the WM8731 codec, which can be configured
/linux-6.15/arch/arm/boot/dts/microchip/
Dat91sam9x5ek.dtsi20 compatible = "atmel,sam9x5-wm8731-audio";
22 atmel,model = "wm8731 @ AT91SAM9X5EK";
31 atmel,audio-codec = <&wm8731>;
50 wm8731: wm8731@1a { label
51 compatible = "wm8731";
Dat91sam9g20ek_common.dtsi229 wm8731: wm8731@1b { label
230 compatible = "wm8731";
265 compatible = "atmel,at91sam9g20ek-wm8731-audio";
269 atmel,model = "wm8731 @ AT91SAMG20EK";
276 atmel,audio-codec = <&wm8731>;
/linux-6.15/Documentation/sound/soc/
Dmachine.rst64 .name = "WM8731",
65 .stream_name = "WM8731",
67 .codec_dai_name = "wm8731-hifi",
/linux-6.15/arch/arm/boot/dts/nxp/imx/
Dimx6q-cm-fx6.dts126 sound-dai = <&wm8731>;
306 wm8731: codec@1a { label
308 compatible = "wlf,wm8731";
/linux-6.15/arch/arm/boot/dts/ti/omap/
Dam57xx-cl-som-am57x.dts73 sound-dai = <&wm8731>;
438 wm8731: wm8731@1a { label
440 compatible = "wlf,wm8731";

12