| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/pinctrl/ |
| D | cirrus,madera-pinctrl.txt | 19 Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt 22 - pinctrl-names : must be "default" 23 - pinctrl-0 : a phandle to the node containing the subnodes containing default 32 - groups : name of one pin group to configure. One of: 42 - function : name of function to assign to this group. One of: 45 io, dsp-gpio, irq1, irq2, 46 fll1-clk, fll1-lock, fll2-clk, fll2-lock, fll3-clk, fll3-lock, 47 fllao-clk, fllao-lock, 48 opclk, opclk-async, pwm1, pwm2, spdif, 49 asrc1-in1-lock, asrc1-in2-lock, asrc2-in1-lock, asrc2-in2-lock, [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | cirrus,madera.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 30 Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt 33 pinctrl-0: 38 pinctrl-names: 43 pin-settings: 50 '-pins$': 53 - $ref: "pincfg-node.yaml#" [all …]
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| D | gpio-wm8994.c | 1 // SPDX-License-Identifier: GPL-2.0+ 33 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_request() 35 switch (wm8994->type) { in wm8994_gpio_request() 43 return -EINVAL; in wm8994_gpio_request() 56 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_in() 65 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_get() 82 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_out() 94 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_set() 106 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_set_config() 120 return -ENOTSUPP; in wm8994_gpio_set_config() [all …]
|
| /kernel/linux/linux-4.19/drivers/gpio/ |
| D | gpio-wm8994.c | 37 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_request() 39 switch (wm8994->type) { in wm8994_gpio_request() 47 return -EINVAL; in wm8994_gpio_request() 60 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_in() 69 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_get() 86 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_out() 98 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_set() 110 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_set_config() 124 return -ENOTSUPP; in wm8994_gpio_set_config() 130 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_to_irq() [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/cirrus/ |
| D | pinctrl-madera-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2016-2018 Cirrus Logic 17 #include <linux/pinctrl/pinconf-generic.h> 22 #include "../pinctrl-utils.h" 24 #include "pinctrl-madera.h" 28 * NOTE: IDs are zero-indexed for coding convenience 74 * All single-pin functions can be mapped to any GPIO, however pinmux applies 78 * Since these do not correspond to anything in the actual hardware - they are 79 * merely an adaptation to pinctrl's view of the world - we use the same name 91 /* set of pin numbers for single-pin groups, zero-indexed */ [all …]
|
| /kernel/linux/linux-4.19/drivers/pinctrl/cirrus/ |
| D | pinctrl-madera-core.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-2018 Cirrus Logic 20 #include <linux/pinctrl/pinconf-generic.h> 25 #include "../pinctrl-utils.h" 27 #include "pinctrl-madera.h" 31 * NOTE: IDs are zero-indexed for coding convenience 77 * All single-pin functions can be mapped to any GPIO, however pinmux applies 81 * Since these do not correspond to anything in the actual hardware - they are 82 * merely an adaptation to pinctrl's view of the world - we use the same name 94 /* set of pin numbers for single-pin groups, zero-indexed */ [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | wm5100.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm5100.c -- WM5100 ALSA SoC Audio driver 5 * Copyright 2011-2 Wolfson Microelectronics plc 48 struct completion lock; member 127 dev_err(component->dev, "Unsupported sample rate: %dHz\n", rate); in wm5100_alloc_sr() 128 return -EINVAL; in wm5100_alloc_sr() 132 if ((wm5100->sysclk % rate) == 0) { in wm5100_alloc_sr() 134 sr_free = -1; in wm5100_alloc_sr() 136 if (!wm5100->sr_ref[i] && sr_free == -1) { in wm5100_alloc_sr() 146 wm5100->sr_ref[i]++; in wm5100_alloc_sr() [all …]
|
| D | wm8962.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8962.c -- WM8962 ALSA SoC Audio driver 5 * Copyright 2010-2 Wolfson Microelectronics plc 98 regcache_mark_dirty(wm8962->regmap); \ 113 { 0, 0x009F }, /* R0 - Left Input volume */ 114 { 1, 0x049F }, /* R1 - Right Input volume */ 115 { 2, 0x0000 }, /* R2 - HPOUTL volume */ 116 { 3, 0x0000 }, /* R3 - HPOUTR volume */ 118 { 5, 0x0018 }, /* R5 - ADC & DAC Control 1 */ 119 { 6, 0x2008 }, /* R6 - ADC & DAC Control 2 */ [all …]
|
| D | wm8994.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8994.c -- WM8994 ALSA SoC Audio driver 5 * Copyright 2009-12 Wolfson Microelectronics plc 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() 126 sysclk = wm8994->aifclk[0]; in wm8958_micd_set_rate() 128 if (control->pdata.micd_rates) { in wm8958_micd_set_rate() 129 rates = control->pdata.micd_rates; in wm8958_micd_set_rate() 130 num_rates = control->pdata.num_micd_rates; in wm8958_micd_set_rate() [all …]
|
| /kernel/linux/linux-4.19/sound/soc/codecs/ |
| D | wm5100.c | 2 * wm5100.c -- WM5100 ALSA SoC Audio driver 4 * Copyright 2011-2 Wolfson Microelectronics plc 51 struct completion lock; member 130 dev_err(component->dev, "Unsupported sample rate: %dHz\n", rate); in wm5100_alloc_sr() 131 return -EINVAL; in wm5100_alloc_sr() 135 if ((wm5100->sysclk % rate) == 0) { in wm5100_alloc_sr() 137 sr_free = -1; in wm5100_alloc_sr() 139 if (!wm5100->sr_ref[i] && sr_free == -1) { in wm5100_alloc_sr() 149 wm5100->sr_ref[i]++; in wm5100_alloc_sr() 150 dev_dbg(component->dev, "SR %dHz, slot %d, ref %d\n", in wm5100_alloc_sr() [all …]
|
| D | wm8962.c | 2 * wm8962.c -- WM8962 ALSA SoC Audio driver 4 * Copyright 2010-2 Wolfson Microelectronics plc 102 regcache_mark_dirty(wm8962->regmap); \ 117 { 0, 0x009F }, /* R0 - Left Input volume */ 118 { 1, 0x049F }, /* R1 - Right Input volume */ 119 { 2, 0x0000 }, /* R2 - HPOUTL volume */ 120 { 3, 0x0000 }, /* R3 - HPOUTR volume */ 122 { 5, 0x0018 }, /* R5 - ADC & DAC Control 1 */ 123 { 6, 0x2008 }, /* R6 - ADC & DAC Control 2 */ 124 { 7, 0x000A }, /* R7 - Audio Interface 0 */ [all …]
|
| D | wm8994.c | 2 * wm8994.c -- WM8994 ALSA SoC Audio driver 4 * Copyright 2009-12 Wolfson Microelectronics plc 112 struct wm8994 *control = wm8994->wm8994; in wm8958_micd_set_rate() 118 idle = !wm8994->jack_mic; in wm8958_micd_set_rate() 122 sysclk = wm8994->aifclk[1]; in wm8958_micd_set_rate() 124 sysclk = wm8994->aifclk[0]; in wm8958_micd_set_rate() 126 if (control->pdata.micd_rates) { in wm8958_micd_set_rate() 127 rates = control->pdata.micd_rates; in wm8958_micd_set_rate() 128 num_rates = control->pdata.num_micd_rates; in wm8958_micd_set_rate() 129 } else if (wm8994->jackdet) { in wm8958_micd_set_rate() [all …]
|