Home
last modified time | relevance | path

Searched full:wm8994 (Results 1 – 25 of 42) sorted by relevance

12

/Linux-v6.1/drivers/mfd/
Dwm8994-core.c3 * wm8994-core.c -- Device access for Wolfson WM8994
24 #include <linux/mfd/wm8994/core.h>
25 #include <linux/mfd/wm8994/pdata.h>
26 #include <linux/mfd/wm8994/registers.h>
28 #include "wm8994.h"
32 .name = "wm8994-ldo",
37 .name = "wm8994-ldo",
61 .name = "wm8994-codec",
67 .name = "wm8994-gpio",
116 struct wm8994 *wm8994 = dev_get_drvdata(dev); in wm8994_suspend() local
[all …]
Dwm8994-irq.c3 * wm8994-irq.c -- Interrupt controller support for Wolfson WM8994
20 #include <linux/mfd/wm8994/core.h>
21 #include <linux/mfd/wm8994/pdata.h>
22 #include <linux/mfd/wm8994/registers.h>
127 .name = "wm8994",
154 struct wm8994 *wm8994 = data; in wm8994_edge_irq() local
156 while (gpio_get_value_cansleep(wm8994->pdata.irq_gpio)) in wm8994_edge_irq()
157 handle_nested_irq(irq_find_mapping(wm8994->edge_irq, 0)); in wm8994_edge_irq()
165 struct wm8994 *wm8994 = h->host_data; in wm8994_edge_irq_map() local
167 irq_set_chip_data(virq, wm8994); in wm8994_edge_irq_map()
[all …]
Dwm8994.h3 * wm8994.h -- WM8994 MFD internals
DMakefile74 wm8994-objs := wm8994-core.o wm8994-irq.o wm8994-regmap.o
75 obj-$(CONFIG_MFD_WM8994) += wm8994.o
/Linux-v6.1/sound/soc/codecs/
Dwm8958-dsp2.c23 #include <linux/mfd/wm8994/core.h>
24 #include <linux/mfd/wm8994/registers.h>
25 #include <linux/mfd/wm8994/pdata.h>
26 #include <linux/mfd/wm8994/gpio.h>
30 #include "wm8994.h"
44 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in wm8958_dsp2_fw() local
53 if (wm8994->cur_fw == fw) in wm8958_dsp2_fw()
149 wm8994_bulk_write(wm8994->wm8994, in wm8958_dsp2_fw()
170 wm8994->cur_fw = fw; in wm8958_dsp2_fw()
190 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in wm8958_dsp_start_mbc() local
[all …]
Dwm8994.c3 * wm8994.c -- WM8994 ALSA SoC Audio driver
30 #include <linux/mfd/wm8994/core.h>
31 #include <linux/mfd/wm8994/registers.h>
32 #include <linux/mfd/wm8994/pdata.h>
33 #include <linux/mfd/wm8994/gpio.h>
35 #include "wm8994.h"
113 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in wm8958_micd_set_rate() local
114 struct wm8994 *control = wm8994->wm8994; in wm8958_micd_set_rate()
120 idle = !wm8994->jack_mic; in wm8958_micd_set_rate()
124 sysclk = wm8994->aifclk[1]; in wm8958_micd_set_rate()
[all …]
Dwm8994.h3 * wm8994.h -- WM8994 Soc Audio driver
78 struct wm8994;
82 struct wm8994 *wm8994; member
/Linux-v6.1/drivers/gpio/
Dgpio-wm8994.c3 * gpiolib support for Wolfson WM8994
20 #include <linux/mfd/wm8994/core.h>
21 #include <linux/mfd/wm8994/pdata.h>
22 #include <linux/mfd/wm8994/gpio.h>
23 #include <linux/mfd/wm8994/registers.h>
26 struct wm8994 *wm8994; member
33 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_request() local
35 switch (wm8994->type) { in wm8994_gpio_request()
56 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_in() local
58 return wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset, in wm8994_gpio_direction_in()
[all …]
/Linux-v6.1/include/linux/mfd/wm8994/
Dcore.h3 * include/linux/mfd/wm8994/core.h -- Core interface for WM8994
17 #include <linux/mfd/wm8994/pdata.h>
20 WM8994 = 0, enumerator
53 struct wm8994 { struct
82 static inline int wm8994_reg_read(struct wm8994 *wm8994, unsigned short reg) in wm8994_reg_read() argument
87 ret = regmap_read(wm8994->regmap, reg, &val); in wm8994_reg_read()
95 static inline int wm8994_reg_write(struct wm8994 *wm8994, unsigned short reg, in wm8994_reg_write() argument
98 return regmap_write(wm8994->regmap, reg, val); in wm8994_reg_write()
101 static inline int wm8994_bulk_read(struct wm8994 *wm8994, unsigned short reg, in wm8994_bulk_read() argument
104 return regmap_bulk_read(wm8994->regmap, reg, buf, count); in wm8994_bulk_read()
[all …]
Dpdata.h3 * include/linux/mfd/wm8994/pdata.h -- Platform data for WM8994
136 int irq_base; /** Base IRQ number for WM8994, required for IRQs */
187 /* WM8994 microphone biases: 0=0.9*AVDD1 1=0.65*AVVD1 */
191 /* WM8994 jack detect threashold levels, see datasheet for values */
Dgpio.h3 * include/linux/mfd/wm8994/gpio.h - GPIO configuration for WM8994
/Linux-v6.1/drivers/regulator/
Dwm8994-regulator.c3 // wm8994-regulator.c -- Regulator driver for the WM8994
20 #include <linux/mfd/wm8994/core.h>
21 #include <linux/mfd/wm8994/registers.h>
22 #include <linux/mfd/wm8994/pdata.h>
26 struct wm8994 *wm8994; member
49 switch (ldo->wm8994->type) { in wm8994_ldo2_list_voltage()
50 case WM8994: in wm8994_ldo2_list_voltage()
151 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent); in wm8994_ldo_probe() local
152 struct wm8994_pdata *pdata = dev_get_platdata(wm8994->dev); in wm8994_ldo_probe()
165 ldo->wm8994 = wm8994; in wm8994_ldo_probe()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/sound/
Dsamsung,aries-wm8994.yaml4 $id: http://devicetree.org/schemas/sound/samsung,aries-wm8994.yaml#
7 title: Samsung Aries audio complex with WM8994 codec
16 - samsung,aries-wm8994
18 - samsung,fascinate4g-wm8994
43 description: phandle to the WM8994 CODEC
53 valid names for sources and sinks are the WM8994's pins (as
55 For samsung,aries-wm8994: HP, SPK, RCV, LINE, Main Mic, Headset Mic,
57 For samsung,fascinate4g-wm8994: HP, SPK, RCV, LINE, Main Mic,
108 compatible = "samsung,fascinate4g-wm8994";
151 sound-dai = <&wm8994>;
Dsamsung,smdk5250.yaml7 title: Samsung SMDK5250 audio complex with WM8994 codec
15 const: samsung,smdk-wm8994
35 compatible = "samsung,smdk-wm8994";
37 samsung,audio-codec = <&wm8994>;
Dwm8994.txt1 WM1811/WM8994/WM8958 audio CODEC
8 - compatible : One of "wlf,wm1811", "wlf,wm8994" or "wlf,wm8958".
23 - for wlf,wm8994:
96 wm8994: codec@1a {
97 compatible = "wlf,wm8994";
/Linux-v6.1/sound/soc/samsung/
Dsmdk_wm8994.c3 #include "../codecs/wm8994.h"
32 /* SMDK has a 16.934MHZ crystal attached to WM8994 */
74 * SMDK WM8994 DAI operations.
105 DAILINK_COMP_ARRAY(COMP_CODEC("wm8994-codec", "wm8994-aif1")),
110 DAILINK_COMP_ARRAY(COMP_CODEC("wm8994-codec", "wm8994-aif1")),
115 .name = "WM8994 AIF1",
140 { .compatible = "samsung,smdk-wm8994", .data = &smdk_board_data },
190 .name = "smdk-audio-wm8994",
199 MODULE_DESCRIPTION("ALSA SoC SMDK WM8994");
201 MODULE_ALIAS("platform:smdk-audio-wm8994");
Dsmdk_wm8994pcm.c11 #include "../codecs/wm8994.h"
40 /* SMDK has a 16.9344MHZ crystal attached to WM8994 */
94 DAILINK_COMP_ARRAY(COMP_CODEC("wm8994-codec", "wm8994-aif1")),
99 .name = "WM8994 PAIF PCM",
137 MODULE_DESCRIPTION("ALSA SoC SMDK WM8994 for PCM");
Daries_wm8994.c5 #include <linux/mfd/wm8994/registers.h>
16 #include "../codecs/wm8994.h"
462 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "wm8994-aif1")),
467 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "wm8994-aif2")));
471 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "wm8994-aif3")));
475 .name = "WM8994 AIF1",
483 .name = "WM8994 AIF2",
491 .name = "WM8994 AIF3",
525 .compatible = "samsung,fascinate4g-wm8994",
529 .compatible = "samsung,aries-wm8994",
[all …]
DKconfig64 tristate "SoC I2S Audio support for WM8994 on SMDK"
133 tristate "SoC PCM Audio support for WM8994 on SMDK"
222 tristate "SoC I2S Audio support for WM8994 on Aries"
229 which has a WM8994 codec connected to a BT codec, a cellular
DMakefile31 snd-soc-smdk-wm8994-objs := smdk_wm8994.o
44 snd-soc-aries-wm8994-objs := aries_wm8994.o
56 obj-$(CONFIG_SND_SOC_SAMSUNG_SMDK_WM8994) += snd-soc-smdk-wm8994.o
69 obj-$(CONFIG_SND_SOC_SAMSUNG_ARIES_WM8994) += snd-soc-aries-wm8994.o
Dmidas_wm1811.c10 #include <linux/mfd/wm8994/registers.h>
21 #include "../codecs/wm8994.h"
368 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "wm8994-aif1")),
373 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "wm8994-aif2")),
378 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "wm8994-aif3")),
383 .name = "WM8994 AIF1",
Dlittlemill.c13 #include "../codecs/wm8994.h"
147 DAILINK_COMP_ARRAY(COMP_CODEC("wm8994-codec", "wm8994-aif1")),
151 DAILINK_COMP_ARRAY(COMP_CPU("wm8994-aif2")),
Darndale.c17 #include "../codecs/wm8994.h"
106 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "wm8994-aif1")),
/Linux-v6.1/sound/soc/pxa/
Dbrownstone.c14 #include "../codecs/wm8994.h"
65 /* set wm8994 sysclk */ in brownstone_wm8994_hw_params()
76 SND_SOC_DAILINK_DEFS(wm8994,
78 DAILINK_COMP_ARRAY(COMP_CODEC("wm8994-codec", "wm8994-aif1")),
83 .name = "WM8994",
84 .stream_name = "WM8994 HiFi",
88 SND_SOC_DAILINK_REG(wm8994),
/Linux-v6.1/arch/arm/boot/dts/
Dexynos5250-smdk5250.dts57 compatible = "samsung,smdk-wm8994";
60 samsung,audio-codec = <&wm8994>;
296 wm8994: audio-codec@1a { label
297 compatible = "wlf,wm8994";

12