/openbmc/linux/sound/soc/codecs/ |
H A D | wm8731.c | 3 * 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 …]
|
H A D | wm8731-spi.c | 3 * 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 …]
|
H A D | wm8731-i2c.c | 3 * 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 …]
|
H A D | wm8731.h | 3 * wm8731.h -- WM8731 Soc Audio driver 22 /* WM8731 register space */ 61 int wm8731_init(struct device *dev, struct wm8731_priv *wm8731);
|
H A D | wm8711.h | 9 * Based on wm8731.h
|
H A D | tlv320aic23-spi.c | 8 * Based on sound/soc/codecs/wm8731.c by Richard Purdie
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | atmel-sam9x5-wm8731-audio.txt | 1 * Atmel at91sam9x5ek wm8731 audio complex 4 - compatible: "atmel,sam9x5-wm8731-audio" 7 - atmel,audio-codec: The phandle of the WM8731 audio codec 18 wm8731 pins: 19 cf Documentation/devicetree/bindings/sound/wlf,wm8731.yaml 23 compatible = "atmel,sam9x5-wm8731-audio"; 25 atmel,model = "wm8731 @ AT91SAM9X5EK"; 34 atmel,audio-codec = <&wm8731>;
|
H A D | atmel-at91sam9g20ek-wm8731-audio.txt | 1 * Atmel at91sam9g20ek wm8731 audio complex 4 - compatible: "atmel,at91sam9g20ek-wm8731-audio" 8 - atmel,audio-codec: The phandle of the WM8731 audio codec 14 compatible = "atmel,at91sam9g20ek-wm8731-audio"; 18 atmel,model = "wm8731 @ AT91SAMG20EK"; 25 atmel,audio-codec = <&wm8731>;
|
H A D | wlf,wm8731.yaml | 4 $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";
|
H A D | mikroe,mikroe-proto.txt | 7 - audio-codec: The phandle of the WM8731 audio codec. 18 model = "wm8731 @ sama5d2_xplained"; 20 audio-codec = <&wm8731>;
|
/openbmc/linux/sound/soc/au1x/ |
H A D | db1200.c | 22 #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 …]
|
/openbmc/linux/sound/soc/atmel/ |
H A D | sam9x5_wm8731.c | 4 * 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");
|
H A D | sam9g20_wm8731.c | 35 #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", },
|
H A D | mikroe-proto.c | 3 * 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() 181 MODULE_DESCRIPTION("ASoC Driver for PROTO board (WM8731)");
|
H A D | Makefile | 28 snd-soc-sam9g20-wm8731-objs := sam9g20_wm8731.o 30 snd-soc-sam9x5-wm8731-objs := 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
|
H A D | Kconfig | 43 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
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | at91sam9x5ek.dtsi | 68 wm8731: wm8731@1a { label 69 compatible = "wm8731"; 154 compatible = "atmel,sam9x5-wm8731-audio"; 156 atmel,model = "wm8731 @ AT91SAM9X5EK"; 165 atmel,audio-codec = <&wm8731>;
|
H A D | at91sam9g20ek_common.dtsi | 189 wm8731: wm8731@1b { label 190 compatible = "wm8731"; 214 compatible = "atmel,at91sam9g20ek-wm8731-audio"; 218 atmel,model = "wm8731 @ AT91SAMG20EK"; 225 atmel,audio-codec = <&wm8731>;
|
H A D | imx6q-cm-fx6.dts | 124 sound-dai = <&wm8731>; 204 wm8731: codec@1a { label 206 compatible = "wlf,wm8731";
|
H A D | am57xx-cl-som-am57x.dts | 76 sound-dai = <&wm8731>; 441 wm8731: wm8731@1a { label 443 compatible = "wlf,wm8731";
|
/openbmc/linux/arch/arm/boot/dts/microchip/ |
H A D | at91sam9x5ek.dtsi | 20 compatible = "atmel,sam9x5-wm8731-audio"; 22 atmel,model = "wm8731 @ AT91SAM9X5EK"; 31 atmel,audio-codec = <&wm8731>; 48 wm8731: wm8731@1a { label 49 compatible = "wm8731";
|
H A D | at91sam9g20ek_common.dtsi | 229 wm8731: wm8731@1b { label 230 compatible = "wm8731"; 265 compatible = "atmel,at91sam9g20ek-wm8731-audio"; 269 atmel,model = "wm8731 @ AT91SAMG20EK"; 276 atmel,audio-codec = <&wm8731>;
|
/openbmc/linux/Documentation/sound/soc/ |
H A D | machine.rst | 64 .name = "WM8731", 65 .stream_name = "WM8731", 67 .codec_dai_name = "wm8731-hifi",
|
H A D | dapm.rst | 256 e.g., from the WM8731 output mixer (wm8731.c) 258 The WM8731 output mixer has 3 inputs (sources)
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6q-cm-fx6.dts | 126 sound-dai = <&wm8731>; 297 wm8731: codec@1a { label 299 compatible = "wlf,wm8731";
|