Home
last modified time | relevance | path

Searched +full:vmon +full:- +full:slot +full:- +full:no (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.10/Documentation/devicetree/bindings/sound/
Dmax9892x.txt7 - compatible : should be one of the following
8 - "maxim,max98925"
9 - "maxim,max98926"
10 - "maxim,max98927"
12 - vmon-slot-no : slot number used to send voltage information
14 interleave slot.
15 MAX98925/MAX98926 slot range : 0 ~ 30, Default : 0
16 MAX98927 slot range : 0 ~ 15, Default : 0
18 - imon-slot-no : slot number used to send current information
19 MAX98925/MAX98926 slot range : 0 ~ 30, Default : 0
[all …]
Dmax98373.txt7 - compatible : "maxim,max98373"
9 - reg : the I2C address of the device.
13 - maxim,vmon-slot-no : slot number used to send voltage information
15 interleave slot.
16 slot range : 0 ~ 15, Default : 0
18 - maxim,imon-slot-no : slot number used to send current information
19 slot range : 0 ~ 15, Default : 0
21 - maxim,spkfb-slot-no : slot number used to send speaker feedback information
22 slot range : 0 ~ 15, Default : 0
24 - maxim,interleave-mode : For cases where a single combined channel
[all …]
Dtas2764.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Dan Murphy <dmurphy@ti.com>
14 The TAS2764 is a mono, digital input Class-D audio amplifier optimized for
22 - ti,tas2764
29 reset-gpios:
33 shutdown-gpios:
40 ti,imon-slot-no:
42 description: TDM TX current sense time slot.
[all …]
Dtas2770.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2019-20 Texas Instruments Incorporated
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Shi Fu <shifu0704@thundersoft.com>
14 The TAS2770 is a mono, digital input Class-D audio amplifier optimized for
22 - ti,tas2770
29 reset-gpio:
32 shutdown-gpios:
38 ti,imon-slot-no:
[all …]
/Linux-v5.10/sound/soc/codecs/
Dmax98373.c1 // SPDX-License-Identifier: GPL-2.0
23 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98373_dac_event()
28 regmap_update_bits(max98373->regmap, in max98373_dac_event()
33 regmap_update_bits(max98373->regmap, in max98373_dac_event()
36 max98373->tdm_mode = false; in max98373_dac_event()
78 SND_SOC_DAPM_SIGGEN("VMON"),
83 static DECLARE_TLV_DB_SCALE(max98373_digital_tlv, -6350, 50, 1);
99 0, 1, TLV_DB_SCALE_ITEM(-3000, 500, 0),
100 2, 4, TLV_DB_SCALE_ITEM(-2200, 200, 0),
101 5, 6, TLV_DB_SCALE_ITEM(-1500, 300, 0),
[all …]
Dtas2770.c1 // SPDX-License-Identifier: GPL-2.0
3 // ALSA SoC Texas Instruments TAS2770 20-W Digital Input Mono Class-D
6 // Copyright (C) 2016-2017 Texas Instruments Incorporated - https://www.ti.com/
7 // Author: Tracy Yi <tracy-yi@ti.com>
37 if (tas2770->reset_gpio) { in tas2770_reset()
38 gpiod_set_value_cansleep(tas2770->reset_gpio, 0); in tas2770_reset()
40 gpiod_set_value_cansleep(tas2770->reset_gpio, 1); in tas2770_reset()
43 snd_soc_component_write(tas2770->component, TAS2770_SW_RST, in tas2770_reset()
72 dev_err(tas2770->dev, "wrong power level setting %d\n", level); in tas2770_set_bias_level()
73 return -EINVAL; in tas2770_set_bias_level()
[all …]
Dtas2562.c1 // SPDX-License-Identifier: GPL-2.0
21 #include <sound/soc-dapm.h>
91 dev_err(tas2562->dev, in tas2562_set_bias_level()
93 return -EINVAL; in tas2562_set_bias_level()
162 dev_info(tas2562->dev, "%s, unsupported sample rate, %d\n", in tas2562_set_samplerate()
164 return -EINVAL; in tas2562_set_samplerate()
167 snd_soc_component_update_bits(tas2562->component, TAS2562_TDM_CFG0, in tas2562_set_samplerate()
169 snd_soc_component_update_bits(tas2562->component, TAS2562_TDM_CFG0, in tas2562_set_samplerate()
179 struct snd_soc_component *component = dai->component; in tas2562_set_dai_tdm_slot()
186 dev_err(component->dev, "tx masks must not be 0\n"); in tas2562_set_dai_tdm_slot()
[all …]
Dmax98926.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max98926.c -- ALSA SoC MAX98926 driver
4 * Copyright 2013-15 Maxim Integrated Products
55 { 0x21, 0x00 }, /* TDM Slot Select */
56 { 0x22, 0x00 }, /* DOUT Configuration VMON */
205 static DECLARE_TLV_DB_SCALE(max98926_spk_tlv, -600, 100, 0);
222 (1<<MAX98926_SPK_GAIN_WIDTH)-1, 0,
232 (1<<MAX98926_ALC_TH_WIDTH)-1, 0),
236 (1<<MAX98926_BST_ILIM_SHIFT)-1, 0,
291 regmap_update_bits(max98926->regmap, in max98926_set_sense_data()
[all …]
Dmax98925.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max98925.c -- ALSA SoC Stereo MAX98925 driver
4 * Copyright 2013-15 Maxim Integrated Products
58 { 0x21, 0x00 }, /* TDM Slot Select */
59 { 0x22, 0x00 }, /* DOUT Configuration VMON */
105 regmap_update_bits(max98925->regmap, in max98925_dac_event()
113 regmap_update_bits(max98925->regmap, in max98925_dac_event()
187 static DECLARE_TLV_DB_SCALE(max98925_spk_tlv, -600, 100, 0);
191 M98925_SPK_GAIN_SHIFT, (1<<M98925_SPK_GAIN_WIDTH)-1, 0,
200 (1<<M98925_ALC_TH_WIDTH)-1, 0),
[all …]
Dmax98927.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * max98927.c -- MAX98927 ALSA Soc Audio driver
5 * Copyright (C) 2016-2017 Maxim Integrated Products
141 struct snd_soc_component *component = codec_dai->component; in max98927_dai_set_fmt()
148 dev_dbg(component->dev, "%s: fmt 0x%08X\n", __func__, fmt); in max98927_dai_set_fmt()
155 max98927->master = true; in max98927_dai_set_fmt()
159 dev_err(component->dev, "DAI clock mode unsupported\n"); in max98927_dai_set_fmt()
160 return -EINVAL; in max98927_dai_set_fmt()
163 regmap_update_bits(max98927->regmap, in max98927_dai_set_fmt()
175 dev_err(component->dev, "DAI invert mode unsupported\n"); in max98927_dai_set_fmt()
[all …]
Dcs35l34.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cs35l34.c -- CS35l34 ALSA SoC audio driver
29 #include <sound/soc-dapm.h>
49 struct gpio_desc *reset_gpio; /* Active-low reset GPIO */
236 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l34_sdin_event()
242 if (priv->tdm_mode) in cs35l34_sdin_event()
243 regmap_update_bits(priv->regmap, CS35L34_PWRCTL3, in cs35l34_sdin_event()
246 ret = regmap_update_bits(priv->regmap, CS35L34_PWRCTL1, in cs35l34_sdin_event()
249 dev_err(component->dev, "Cannot set Power bits %d\n", ret); in cs35l34_sdin_event()
255 if (priv->tdm_mode) { in cs35l34_sdin_event()
[all …]
Dtas2764.c1 // SPDX-License-Identifier: GPL-2.0
41 if (tas2764->reset_gpio) { in tas2764_reset()
42 gpiod_set_value_cansleep(tas2764->reset_gpio, 0); in tas2764_reset()
44 gpiod_set_value_cansleep(tas2764->reset_gpio, 1); in tas2764_reset()
47 snd_soc_component_write(tas2764->component, TAS2764_SW_RST, in tas2764_reset()
75 dev_err(tas2764->dev, in tas2764_set_bias_level()
77 return -EINVAL; in tas2764_set_bias_level()
96 if (tas2764->sdz_gpio) in tas2764_codec_suspend()
97 gpiod_set_value_cansleep(tas2764->sdz_gpio, 0); in tas2764_codec_suspend()
99 regcache_cache_only(tas2764->regmap, true); in tas2764_codec_suspend()
[all …]
/Linux-v5.10/include/soc/tegra/
Dbpmp-abi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved.
66 * A well-defined subset of the MRQ messages that the CPU sends to the
91 * |-----|--------------------------------------------|
192 * @defgroup CC3 Auto-CC3
244 * mrq_ping_request challenge left shifted by 1 with the carry-bit
446 * values. err is -#BPMP_EINVAL if size is zero or area is NULL or
459 * is treated as a byte-aligned pointer in the recipient's address
523 /** @brief Module-specific mail payload
536 /** @brief Module-specific mail payload
[all …]