Home
last modified time | relevance | path

Searched +full:imon +full:- +full:slot +full:- +full:no (Results 1 – 25 of 39) sorted by relevance

12

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dmaxim,max98925.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ryan Lee <ryans.lee@maximintegrated.com>
15 - maxim,max98925
16 - maxim,max98926
17 - maxim,max98927
22 reset-gpios:
25 '#sound-dai-cells':
28 vmon-slot-no:
[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 …]
Dadi,max98388.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ryan Lee <ryans.lee@analog.com>
13 The MAX98388 is a mono Class-D speaker amplifier with I/V feedback.
18 - $ref: dai-common.yaml#
23 - adi,max98388
28 '#sound-dai-cells':
31 adi,vmon-slot-no:
32 description: slot number of the voltage feedback monitor
[all …]
Dtas27xx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2020-2022 Texas Instruments Incorporated
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Shenghao Ding <shenghao-ding@ti.com>
14 The TAS2764/TAS2780 is a mono, digital input Class-D audio amplifier
20 - $ref: dai-common.yaml#
25 - ti,tas2764
26 - ti,tas2780
33 reset-gpios:
[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
20 - $ref: dai-common.yaml#
25 - ti,tas2770
32 reset-gpio:
36 shutdown-gpios:
[all …]
Dadi,max98396.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ryan Lee <ryans.lee@analog.com>
13 The MAX98396 is a mono Class-DG speaker amplifier with I/V sense.
21 - adi,max98396
22 - adi,max98397
27 avdd-supply:
30 dvdd-supply:
33 dvddio-supply:
[all …]
Dtas2562.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Andrew Davis <afd@ti.com>
14 The TAS2562 is a mono, digital input Class-D audio amplifier optimized for
26 - $ref: dai-common.yaml#
31 - ti,tas2562
32 - ti,tas2563
33 - ti,tas2564
34 - ti,tas2110
[all …]
/kernel/linux/linux-5.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 …]
Dtas2562.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 TAS2562 is a mono, digital input Class-D audio amplifier optimized for
28 - ti,tas2562
29 - ti,tas2563
30 - ti,tas2564
31 - ti,tas2110
38 shut-down-gpios:
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
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()
44 snd_soc_component_write(tas2770->component, TAS2770_SW_RST, in tas2770_reset()
51 struct snd_soc_component *component = tas2770->component; in tas2770_update_pwr_ctrl()
55 if (tas2770->dac_powered) in tas2770_update_pwr_ctrl()
[all …]
Dtas2562.c1 // SPDX-License-Identifier: GPL-2.0
20 #include <sound/soc-dapm.h>
130 dev_info(tas2562->dev, "%s, unsupported sample rate, %d\n", in tas2562_set_samplerate()
132 return -EINVAL; in tas2562_set_samplerate()
135 snd_soc_component_update_bits(tas2562->component, TAS2562_TDM_CFG0, in tas2562_set_samplerate()
137 snd_soc_component_update_bits(tas2562->component, TAS2562_TDM_CFG0, in tas2562_set_samplerate()
147 struct snd_soc_component *component = dai->component; in tas2562_set_dai_tdm_slot()
154 dev_err(component->dev, "tx masks must not be 0\n"); in tas2562_set_dai_tdm_slot()
155 return -EINVAL; in tas2562_set_dai_tdm_slot()
160 return -EINVAL; in tas2562_set_dai_tdm_slot()
[all …]
Dmax98373.c1 // SPDX-License-Identifier: GPL-2.0
24 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98373_dac_event()
29 regmap_update_bits(max98373->regmap, in max98373_dac_event()
35 regmap_update_bits(max98373->regmap, in max98373_dac_event()
39 max98373->tdm_mode = false; in max98373_dac_event()
82 SND_SOC_DAPM_SIGGEN("IMON"),
86 static DECLARE_TLV_DB_SCALE(max98373_digital_tlv, -6350, 50, 1);
102 0, 1, TLV_DB_SCALE_ITEM(-3000, 500, 0),
103 2, 4, TLV_DB_SCALE_ITEM(-2200, 200, 0),
104 5, 6, TLV_DB_SCALE_ITEM(-1500, 300, 0),
[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 */
57 { 0x23, 0x00 }, /* DOUT Configuration IMON */
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 */
60 { 0x23, 0x00 }, /* DOUT Configuration IMON */
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 …]
/kernel/linux/linux-5.10/sound/soc/codecs/
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()
44 snd_soc_component_write(tas2770->component, TAS2770_SW_RST, in tas2770_reset()
51 struct snd_soc_component *component = tas2770->component; in tas2770_update_pwr_ctrl()
55 if (tas2770->dac_powered) in tas2770_update_pwr_ctrl()
[all …]
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()
34 regmap_update_bits(max98373->regmap, in max98373_dac_event()
38 max98373->tdm_mode = false; in max98373_dac_event()
81 SND_SOC_DAPM_SIGGEN("IMON"),
85 static DECLARE_TLV_DB_SCALE(max98373_digital_tlv, -6350, 50, 1);
101 0, 1, TLV_DB_SCALE_ITEM(-3000, 500, 0),
102 2, 4, TLV_DB_SCALE_ITEM(-2200, 200, 0),
103 5, 6, TLV_DB_SCALE_ITEM(-1500, 300, 0),
[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 */
57 { 0x23, 0x00 }, /* DOUT Configuration IMON */
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 */
60 { 0x23, 0x00 }, /* DOUT Configuration IMON */
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
28 #include <sound/soc-dapm.h>
47 struct gpio_desc *reset_gpio; /* Active-low reset GPIO */
234 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l34_sdin_event()
240 if (priv->tdm_mode) in cs35l34_sdin_event()
241 regmap_update_bits(priv->regmap, CS35L34_PWRCTL3, in cs35l34_sdin_event()
244 ret = regmap_update_bits(priv->regmap, CS35L34_PWRCTL1, in cs35l34_sdin_event()
247 dev_err(component->dev, "Cannot set Power bits %d\n", ret); in cs35l34_sdin_event()
253 if (priv->tdm_mode) { in cs35l34_sdin_event()
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/
Dsdm845-oneplus-enchilada.dts1 // SPDX-License-Identifier: GPL-2.0
8 #include "sdm845-oneplus-common.dtsi"
13 chassis-type = "handset";
14 qcom,msm-id = <0x141 0x20001>;
15 qcom,board-id = <8 0 17819 22>;
18 compatible = "simple-battery";
20 charge-full-design-microamp-hours = <3300000>;
21 voltage-min-design-microvolt = <3400000>;
22 voltage-max-design-microvolt = <4400000>;
33 monitored-battery = <&battery>;
[all …]

12