/linux/drivers/mfd/ |
H A D | wm8994-core.c | 3 * wm8994-core.c -- Device access for Wolfson WM8994 23 #include <linux/mfd/wm8994/core.h> 24 #include <linux/mfd/wm8994/pdata.h> 25 #include <linux/mfd/wm8994/registers.h> 27 #include "wm8994.h" 31 .name = "wm8994-ldo", 36 .name = "wm8994-ldo", 60 .name = "wm8994-codec", 66 .name = "wm8994-gpio", 114 struct wm8994 *wm8994 = dev_get_drvdata(dev); in wm8994_suspend() local [all …]
|
H A D | wm8994-irq.c | 3 * 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 …]
|
H A D | wm8994.h | 3 * wm8994.h -- WM8994 MFD internals
|
H A D | wm8994-regmap.c | 3 * wm8994-regmap.c -- Register map data for WM8994 series devices 10 #include <linux/mfd/wm8994/core.h> 11 #include <linux/mfd/wm8994/registers.h> 15 #include "wm8994.h" 1194 struct wm8994 *wm8994 = dev_get_drvdata(dev); in wm1811_volatile_register() local 1198 if (wm8994->cust_id > 1 || wm8994->revision > 1) in wm1811_volatile_register()
|
/linux/sound/soc/codecs/ |
H A D | wm8958-dsp2.c | 23 #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 …]
|
H A D | wm8994.h | 3 * wm8994.h -- WM8994 Soc Audio driver 78 struct wm8994; 82 struct wm8994 *wm8994; member
|
H A D | Makefile | 399 snd-soc-wm8994-y := wm8994.o wm8958-dsp2.o 828 obj-$(CONFIG_SND_SOC_WM8994) += snd-soc-wm8994.o
|
/linux/drivers/gpio/ |
H A D | gpio-wm8994.c | 3 * gpiolib support for Wolfson WM8994 21 #include <linux/mfd/wm8994/core.h> 22 #include <linux/mfd/wm8994/pdata.h> 23 #include <linux/mfd/wm8994/gpio.h> 24 #include <linux/mfd/wm8994/registers.h> 27 struct wm8994 *wm8994; member 34 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_request() local 36 switch (wm8994->type) { in wm8994_gpio_request() 57 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_in() local 59 return wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset, in wm8994_gpio_direction_in() [all …]
|
H A D | Makefile | 205 obj-$(CONFIG_GPIO_WM8994) += gpio-wm8994.o
|
H A D | gpiolib-of.c | 559 { "wlf,ldo1ena", NULL, NULL }, /* WM8994 */ in of_find_gpio_rename() 560 { "wlf,ldo2ena", NULL, NULL }, /* WM8994 */ in of_find_gpio_rename()
|
/linux/include/linux/mfd/wm8994/ |
H A D | core.h | 3 * 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 …]
|
H A D | pdata.h | 3 * 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 */
|
H A D | gpio.h | 3 * include/linux/mfd/wm8994/gpio.h - GPIO configuration for WM8994
|
/linux/drivers/regulator/ |
H A D | wm8994-regulator.c | 3 // 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 …]
|
H A D | Makefile | 204 obj-$(CONFIG_REGULATOR_WM8994) += wm8994-regulator.o
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | samsung,aries-wm8994.yaml | 4 $id: http://devicetree.org/schemas/sound/samsung,aries-wm8994.yaml# 7 title: Samsung Aries audio complex with WM8994 codec 19 - samsung,aries-wm8994 21 - samsung,fascinate4g-wm8994 42 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>;
|
H A D | samsung,smdk5250.yaml | 7 title: Samsung SMDK5250 audio complex with WM8994 codec 15 const: samsung,smdk-wm8994 35 compatible = "samsung,smdk-wm8994"; 37 samsung,audio-codec = <&wm8994>;
|
H A D | wlf,wm8994.yaml | 4 $id: http://devicetree.org/schemas/sound/wlf,wm8994.yaml# 7 title: Wolfson WM1811/WM8994/WM8958 audio codecs 26 - wlf,wm8994
|
/linux/sound/soc/samsung/ |
H A D | Makefile | 16 snd-soc-smdk-wm8994-y := smdk_wm8994.o 28 snd-soc-aries-wm8994-y := aries_wm8994.o 31 obj-$(CONFIG_SND_SOC_SAMSUNG_SMDK_WM8994) += snd-soc-smdk-wm8994.o 43 obj-$(CONFIG_SND_SOC_SAMSUNG_ARIES_WM8994) += snd-soc-aries-wm8994.o
|
H A D | Kconfig | 25 tristate "SoC I2S Audio support for WM8994 on SMDK" 40 tristate "SoC PCM Audio support for WM8994 on SMDK" 129 tristate "SoC I2S Audio support for WM8994 on Aries" 137 which has a WM8994 codec connected to a BT codec, a cellular
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos5250-smdk5250.dts | 59 compatible = "samsung,smdk-wm8994"; 62 samsung,audio-codec = <&wm8994>; 298 wm8994: audio-codec@1a { label 299 compatible = "wlf,wm8994";
|
H A D | s5pv210-fascinate4g.dts | 61 compatible = "samsung,fascinate4g-wm8994"; 109 sound-dai = <&wm8994>; 398 &wm8994 {
|
H A D | s5pv210-galaxys.dts | 88 compatible = "samsung,aries-wm8994"; 139 sound-dai = <&wm8994>;
|
H A D | s5pv210-aries.dtsi | 116 wm8994: audio-codec@1a { label 117 compatible = "wlf,wm8994";
|
/linux/arch/arm/mach-s3c/ |
H A D | mach-crag6410-module.c | 16 #include <linux/mfd/wm8994/pdata.h> 363 { .id = 0x0b, .rev = 0xff, .name = "WM8994-6235 Benromach" },
|