Home
last modified time | relevance | path

Searched +full:dsp +full:- +full:aif2 +full:- +full:bclk (Results 1 – 14 of 14) sorted by relevance

/linux/Documentation/devicetree/bindings/pinctrl/
H A Dcirrus,lochnagar.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
15 Logic devices on mini-cards, as well as allowing connection of various
26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt
29 [3] include/dt-bindings/pinctrl/lochnagar.h
37 - cirrus,lochnagar-pinctrl
39 gpio-controller: true
41 '#gpio-cells':
[all …]
/linux/sound/soc/sunxi/
H A Dsun8i-codec.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * (C) Copyright 2010-2016
9 * Mylène Josserand <mylene.josserand@free-electrons.com>
27 #include <sound/soc-dapm.h>
251 ret = clk_prepare_enable(scodec->clk_bus); in sun8i_codec_runtime_resume()
257 regcache_cache_only(scodec->regmap, false); in sun8i_codec_runtime_resume()
259 ret = regcache_sync(scodec->regmap); in sun8i_codec_runtime_resume()
272 regcache_cache_only(scodec->regmap, true); in sun8i_codec_runtime_suspend()
273 regcache_mark_dirty(scodec->regmap); in sun8i_codec_runtime_suspend()
275 clk_disable_unprepare(scodec->clk_bus); in sun8i_codec_runtime_suspend()
[all …]
/linux/drivers/pinctrl/cirrus/
H A Dpinctrl-lochnagar.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2017-2018 Cirrus Logic, Inc. and
21 #include <linux/pinctrl/pinconf-generic.h>
30 #include <dt-bindings/pinctrl/lochnagar.h>
32 #include "../pinctrl-utils.h"
36 #define LN_CDC_AIF1_STR "codec-aif1"
37 #define LN_CDC_AIF2_STR "codec-aif2"
38 #define LN_CDC_AIF3_STR "codec-aif3"
39 #define LN_DSP_AIF1_STR "dsp-aif1"
40 #define LN_DSP_AIF2_STR "dsp-aif2"
[all …]
/linux/sound/soc/codecs/
H A Dwm8996.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm8996.c - WM8996 audio codec interface
5 * Copyright 2011-2 Wolfson Microelectronics PLC.
108 regcache_mark_dirty(wm8996->regmap); \
299 static const DECLARE_TLV_DB_SCALE(sidetone_tlv, -3600, 150, 0);
300 static const DECLARE_TLV_DB_SCALE(digital_tlv, -720
1634 int bclk = 0; wm8996_set_fmt() local
1738 int dsp = 0; wm8996_hw_params() local
[all...]
H A Dwm8903.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8903.c -- WM8903 ALSA SoC Audio driver
5 * Copyright 2008-12 Wolfson Microelectronics
6 * Copyright 2011-2012 NVIDIA, Inc.
11 * - TDM mode configuration.
41 { 4, 0x0018 }, /* R4 - Bias Control 0 */
42 { 5, 0x0000 }, /* R5 - VMID Control 0 */
43 { 6, 0x0000 }, /* R6 - Mic Bias Control 0 */
44 { 8, 0x0001 }, /* R8 - Analogue DAC 0 */
45 { 10, 0x0001 }, /* R10 - Analogue ADC 0 */
[all …]
H A Drt5640.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5640.c -- RT5640/RT5639 ALSA SoC audio codec driver
27 #include <sound/soc-dapm.h>
340 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0);
341 static const DECLARE_TLV_DB_MINMAX(dac_vol_tlv, -6562, 0);
342 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0);
343 static const DECLARE_TLV_DB_MINMAX(adc_vol_tlv, -1762, 3000);
451 * set_dmic_clk - Set parameter of dmic.
461 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk()
465 rate = rt5640->sysclk / rl6231_get_pre_div(rt5640->regmap, in set_dmic_clk()
[all …]
H A Dwm8962.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8962.c -- WM8962 ALSA SoC Audio driver
5 * Copyright 2010-2 Wolfson Microelectronics plc
59 int bclk; /* Desired BCLK */ member
99 regcache_mark_dirty(wm8962->regmap); \
114 { 0, 0x009F }, /* R0 - Left Input volume */
115 { 1, 0x049F }, /* R1 - Right Input volume */
116 { 2, 0x0000 }, /* R2 - HPOUTL volume */
117 { 3, 0x0000 }, /* R3 - HPOUTR volume */
119 { 5, 0x0018 }, /* R5 - ADC & DAC Control 1 */
[all …]
H A Drt5677.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5677.c -- RT5677 ALSA SoC audio codec driver
29 #include <sound/soc-dapm.h>
35 #include "rt5677-spi.h"
303 case RT5677_PWR_ANLG2: /* Modified by DSP firmware */ in rt5677_volatile_register()
314 case RT5677_GPIO_CTRL1: /* Modified by DSP firmware */ in rt5677_volatile_register()
315 case RT5677_GPIO_CTRL2: /* Modified by DSP firmware */ in rt5677_volatile_register()
552 * rt5677_dsp_mode_i2c_write_addr - Write value to address on DSP mode.
563 struct snd_soc_component *component = rt5677->component; in rt5677_dsp_mode_i2c_write_addr()
566 mutex_lock(&rt5677->dsp_cmd_lock); in rt5677_dsp_mode_i2c_write_addr()
[all …]
H A Dwm8996.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * wm8996.h - WM8996 audio codec interface
744 * R0 (0x00) - Software Reset
746 #define WM8996_SW_RESET_MASK 0xFFFF /* SW_RESET - [15:0] */
747 #define WM8996_SW_RESET_SHIFT 0 /* SW_RESET - [15:0] */
748 #define WM8996_SW_RESET_WIDTH 16 /* SW_RESET - [15:0] */
751 * R1 (0x01) - Power Management (1)
783 * R2 (0x02) - Power Management (2)
803 * R3 (0x03) - Power Management (3)
847 * R4 (0x04) - Power Management (4)
[all …]
/linux/drivers/mfd/
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 Dcs47l35-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2015-2017 Cirrus Logic
55 ret = regmap_register_patch(madera->regmap, cs47l35_reva_16_patch, in cs47l35_patch()
58 dev_err(madera->dev, "Error applying patch: %d\n", ret); in cs47l35_patch()
65 { 0x00000020, 0x0000 }, /* R32 (0x20) - Tone Generator 1 */
66 { 0x00000021, 0x1000 }, /* R33 (0x21) - Tone Generator 2 */
67 { 0x00000022, 0x0000 }, /* R34 (0x22) - Tone Generator 3 */
68 { 0x00000023, 0x1000 }, /* R35 (0x23) - Tone Generator 4 */
69 { 0x00000024, 0x0000 }, /* R36 (0x24) - Tone Generator 5 */
70 { 0x00000030, 0x0000 }, /* R48 (0x30) - PWM Drive 1 */
[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 Dcs47l90-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2015-2017 Cirrus Logic
58 ret = regmap_register_patch(madera->regmap, in cs47l90_patch()
62 dev_err(madera->dev, in cs47l90_patch()
63 "Error in applying 16-bit patch: %d\n", ret); in cs47l90_patch()
72 { 0x00000020, 0x0000 }, /* R32 (0x20) - Tone Generator 1 */
73 { 0x00000021, 0x1000 }, /* R33 (0x21) - Tone Generator 2 */
74 { 0x00000022, 0x0000 }, /* R34 (0x22) - Tone Generator 3 */
75 { 0x00000023, 0x1000 }, /* R35 (0x23) - Tone Generator 4 */
76 { 0x00000024, 0x0000 }, /* R36 (0x24) - Tone Generator 5 */
[all …]
H A Dcs47l85-tables.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2015-2017 Cirrus Logic
318 switch (madera->rev) { in cs47l85_patch()
336 ret = regmap_register_patch(madera->regmap, patch16, num16); in cs47l85_patch()
338 dev_err(madera->dev, in cs47l85_patch()
339 "Error in applying 16-bit patch: %d\n", ret); in cs47l85_patch()
343 ret = regmap_register_patch(madera->regmap_32bit, patch32, num32); in cs47l85_patch()
345 dev_err(madera->dev, in cs47l85_patch()
346 "Error in applying 32-bit patch: %d\n", ret); in cs47l85_patch()
355 { 0x00000020, 0x0000 }, /* R32 (0x20) - Tone Generator 1 */
[all …]