Home
last modified time | relevance | path

Searched +full:micd +full:- +full:detect +full:- +full:debounce (Results 1 – 11 of 11) sorted by relevance

/linux/Documentation/devicetree/bindings/extcon/
H A Dwlf,arizona.yaml1 # 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
20 wlf,hpdet-channel:
23 headphone detect mode to HPDETL, ARIZONA_ACCDET_MODE_HPR/2 sets it
30 wlf,use-jd2:
35 wlf,use-jd2-nopull:
40 wlf,jd-invert:
45 wlf,micd-software-compare:
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Dwlf,arizona.yaml1 # 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
17 - $ref: /schemas/spi/spi-peripheral-props.yaml
18 - $ref: /schemas/sound/wlf,arizona.yaml#
19 - $ref: /schemas/regulator/wlf,arizona.yaml#
20 - $ref: /schemas/extcon/wlf,arizona.yaml#
21 - if:
26 - cirrus,cs47l24
[all …]
/linux/sound/soc/codecs/
H A Darizona-jack.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * extcon-arizona.c - Extcon driver Wolfson Arizona devices
5 * Copyright (C) 2012-2014 Wolfson Microelectronics plc
26 #include <dt-bindings/mfd/arizona.h>
33 * The hardware supports 8 ranges / buttons, but the snd-jack interface
34 * only supports 6 buttons (button 0-5).
100 struct arizona *arizona = info->arizona; in arizona_extcon_hp_clamp()
105 switch (arizona->type) { in arizona_extcon_hp_clamp()
122 ret = regmap_update_bits(arizona->regmap, in arizona_extcon_hp_clamp()
127 dev_warn(arizona->dev, "Failed to set TST_CAP_SEL: %d\n", ret); in arizona_extcon_hp_clamp()
[all …]
H A Dwm8994.c1 // 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 …]
/linux/arch/arm64/boot/dts/exynos/
H A Dexynos5433-tm2-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
11 /dts-v1/;
13 #include <dt-bindings/clock/samsung,s2mps11.h>
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/input/input.h>
16 #include <dt-bindings/interrupt-controller/irq.h>
17 #include <dt-bindings/sound/samsung-i2s.h>
48 stdout-path = &serial_1;
56 gpio-keys {
57 compatible = "gpio-keys";
[all …]
/linux/drivers/mfd/
H A Dwm8998-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8998-tables.c -- data tables for wm8998-class codecs
45 return regmap_register_patch(arizona->regmap, in wm8998_patch()
177 { 0x00000009, 0x0001 }, /* R9 - Ctrl IF I2C1 CFG 1 */
178 { 0x0000000B, 0x001A }, /* R11 - Ctrl IF I2C1 CFG 2 */
179 { 0x00000020, 0x0000 }, /* R32 - Tone Generator 1 */
180 { 0x00000021, 0x1000 }, /* R33 - Tone Generator 2 */
181 { 0x00000022, 0x0000 }, /* R34 - Tone Generator 3 */
182 { 0x00000023, 0x1000 }, /* R35 - Tone Generator 4 */
183 { 0x00000024, 0x0000 }, /* R36 - Tone Generator 5 */
[all …]
H A Dwm5102-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm5102-tables.c -- WM5102 data tables
83 switch (arizona->rev) { in wm5102_patch()
93 return regmap_multi_reg_write_bypassed(arizona->regmap, in wm5102_patch()
244 { 0x00000008, 0x0019 }, /* R8 - Ctrl IF SPI CFG 1 */
245 { 0x00000009, 0x0001 }, /* R9 - Ctrl IF I2C1 CFG 1 */
246 { 0x00000020, 0x0000 }, /* R32 - Tone Generator 1 */
247 { 0x00000021, 0x1000 }, /* R33 - Tone Generator 2 */
248 { 0x00000022, 0x0000 }, /* R34 - Tone Generator 3 */
249 { 0x00000023, 0x1000 }, /* R35 - Tone Generator 4 */
[all …]
H A Dcs47l15-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2016-2019 Cirrus Logic, Inc. and
35 ret = regmap_register_patch(madera->regmap, in cs47l15_patch()
39 dev_err(madera->dev, in cs47l15_patch()
40 "Error in applying 16-bit patch: %d\n", ret); in cs47l15_patch()
49 { 0x00000020, 0x0000 }, /* R32 (0x20) - Tone Generator 1 */
50 { 0x00000021, 0x1000 }, /* R33 (0x21) - Tone Generator 2 */
51 { 0x00000022, 0x0000 }, /* R34 (0x22) - Tone Generator 3 */
52 { 0x00000023, 0x1000 }, /* R35 (0x23) - Tone Generator 4 */
53 { 0x00000024, 0x0000 }, /* R36 (0x24) - Tone Generator 5 */
[all …]
H A Dcs47l92-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2016-2019 Cirrus Logic, Inc. and
96 ret = regmap_register_patch(madera->regmap, in cs47l92_patch()
100 dev_err(madera->dev, in cs47l92_patch()
101 "Error in applying 16-bit patch: %d\n", ret); in cs47l92_patch()
105 ret = regmap_register_patch(madera->regmap_32bit, in cs47l92_patch()
109 dev_err(madera->dev, in cs47l92_patch()
110 "Error in applying 32-bit patch: %d\n", ret); in cs47l92_patch()
119 { 0x00000020, 0x0000 }, /* R32 (0x20) - Tone Generator 1 */
120 { 0x00000021, 0x1000 }, /* R33 (0x21) - Tone Generator 2 */
[all …]
H A Dwm5110-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm5110-tables.c -- WM5110 data tables
262 switch (arizona->rev) { in wm5110_patch()
264 return regmap_register_patch(arizona->regmap, in wm5110_patch()
268 return regmap_register_patch(arizona->regmap, in wm5110_patch()
272 return regmap_register_patch(arizona->regmap, in wm5110_patch()
276 return regmap_register_patch(arizona->regmap, in wm5110_patch()
673 { 0x00000008, 0x0019 }, /* R8 - Ctrl IF SPI CFG 1 */
674 { 0x00000009, 0x0001 }, /* R9 - Ctrl IF I2C1 CFG 1 */
675 { 0x0000000A, 0x0001 }, /* R10 - Ctrl IF I2C2 CFG 1 */
[all …]
/linux/include/linux/mfd/arizona/
H A Dregisters.h1 /* SPDX-License-Identifier: GPL-2.0-only */
1195 * R0 (0x00) - software reset
1197 #define ARIZONA_SW_RST_DEV_ID1_MASK 0xFFFF /* SW_RST_DEV_ID1 - [15:0] */
1198 #define ARIZONA_SW_RST_DEV_ID1_SHIFT 0 /* SW_RST_DEV_ID1 - [15:0] */
1199 #define ARIZONA_SW_RST_DEV_ID1_WIDTH 16 /* SW_RST_DEV_ID1 - [15:0] */
1202 * R1 (0x01) - Device Revision
1204 #define ARIZONA_DEVICE_REVISION_MASK 0x00FF /* DEVICE_REVISION - [7:0] */
1205 #define ARIZONA_DEVICE_REVISION_SHIFT 0 /* DEVICE_REVISION - [7:0] */
1206 #define ARIZONA_DEVICE_REVISION_WIDTH 8 /* DEVICE_REVISION - [7:0] */
1209 * R8 (0x08) - Ctrl IF SPI CFG 1
[all …]