Home
last modified time | relevance | path

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

12

/openbmc/linux/Documentation/devicetree/bindings/sound/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/sound/soc/codecs/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A Dcs35l34.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cs35l34.c -- CS35l34 ALSA SoC audio driver
28 #include <sound/soc-dapm.h>
48 struct gpio_desc *reset_gpio; /* Active-low reset GPIO */
235 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l34_sdin_event()
241 if (priv->tdm_mode) in cs35l34_sdin_event()
242 regmap_update_bits(priv->regmap, CS35L34_PWRCTL3, in cs35l34_sdin_event()
245 ret = regmap_update_bits(priv->regmap, CS35L34_PWRCTL1, in cs35l34_sdin_event()
248 dev_err(component->dev, "Cannot set Power bits %d\n", ret); in cs35l34_sdin_event()
254 if (priv->tdm_mode) { in cs35l34_sdin_event()
[all …]
H A 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
142 struct snd_soc_component *component = codec_dai->component; in max98927_dai_set_fmt()
149 dev_dbg(component->dev, "%s: fmt 0x%08X\n", __func__, fmt); in max98927_dai_set_fmt()
153 max98927->provider = false; in max98927_dai_set_fmt()
157 max98927->provider = true; in max98927_dai_set_fmt()
161 dev_err(component->dev, "DAI clock mode unsupported\n"); in max98927_dai_set_fmt()
162 return -EINVAL; in max98927_dai_set_fmt()
165 regmap_update_bits(max98927->regmap, MAX98927_R0021_PCM_MASTER_MODE, in max98927_dai_set_fmt()
[all …]
H A Dtas2780.c1 // SPDX-License-Identifier: GPL-2.0
35 if (tas2780->reset_gpio) { in tas2780_reset()
36 gpiod_set_value_cansleep(tas2780->reset_gpio, 0); in tas2780_reset()
38 gpiod_set_value_cansleep(tas2780->reset_gpio, 1); in tas2780_reset()
42 ret = snd_soc_component_write(tas2780->component, TAS2780_SW_RST, in tas2780_reset()
45 dev_err(tas2780->dev, "%s:errCode:0x%x Reset error!\n", in tas2780_reset()
59 dev_err(tas2780->dev, "%s:errCode:0x%0x:power down error\n", in tas2780_codec_suspend()
64 regcache_cache_only(tas2780->regmap, true); in tas2780_codec_suspend()
65 regcache_mark_dirty(tas2780->regmap); in tas2780_codec_suspend()
80 dev_err(tas2780->dev, "%s:errCode:0x%0x:power down error\n", in tas2780_codec_resume()
[all …]
H A Dmax98388.c1 // SPDX-License-Identifier: GPL-2.0
76 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98388_dac_event()
81 regmap_write(max98388->regmap, in max98388_dac_event()
86 regmap_write(max98388->regmap, in max98388_dac_event()
89 max98388->tdm_mode = false; in max98388_dac_event()
129 SND_SOC_DAPM_SIGGEN("IMON"),
132 static DECLARE_TLV_DB_SCALE(max98388_digital_tlv, -6350, 50, 1);
133 static DECLARE_TLV_DB_SCALE(max98388_amp_gain_tlv, -300, 300, 0);
136 "0dBFS", "-1dBFS", "-2dBFS", "-3dBFS", "-4dBFS", "-5dBFS",
137 "-6dBFS", "-7dBFS", "-8dBFS", "-9dBFS", "-10dBFS", "-11dBFS",
[all …]
H A Dtas2764.c1 // SPDX-License-Identifier: GPL-2.0
71 latched[i] = snd_soc_component_read(tas2764->component, in tas2764_irq()
76 dev_crit_ratelimited(tas2764->dev, "%s\n", in tas2764_irq()
83 dev_err_ratelimited(tas2764->dev, "other context to the fault: %02x,%02x,%02x,%02x,%02x", in tas2764_irq()
85 snd_soc_component_update_bits(tas2764->component, in tas2764_irq()
96 if (tas2764->reset_gpio) { in tas2764_reset()
97 gpiod_set_value_cansleep(tas2764->reset_gpio, 0); in tas2764_reset()
99 gpiod_set_value_cansleep(tas2764->reset_gpio, 1); in tas2764_reset()
103 snd_soc_component_write(tas2764->component, TAS2764_SW_RST, in tas2764_reset()
110 struct snd_soc_component *component = tas2764->component; in tas2764_update_pwr_ctrl()
[all …]
H A Dmax98396.c1 // SPDX-License-Identifier: GPL-2.0
350 struct snd_soc_component *component = codec_dai->component; in max98396_dai_set_fmt()
361 dev_dbg(component->dev, "%s: fmt 0x%08X\n", __func__, fmt); in max98396_dai_set_fmt()
378 dev_err(component->dev, "DAI invert mode %d unsupported\n", in max98396_dai_set_fmt()
380 return -EINVAL; in max98396_dai_set_fmt()
398 dev_err(component->dev, "DAI format %d unsupported\n", in max98396_dai_set_fmt()
400 return -EINVAL; in max98396_dai_set_fmt()
403 ret = regmap_read(max98396->regmap, MAX98396_R210F_GLOBAL_EN, &status); in max98396_dai_set_fmt()
405 return -EINVAL; in max98396_dai_set_fmt()
408 ret = regmap_read(max98396->regmap, MAX98396_R2041_PCM_MODE_CFG, &reg); in max98396_dai_set_fmt()
[all …]
H A Dcs35l56.c1 // SPDX-License-Identifier: GPL-2.0-only
27 #include <sound/soc-dapm.h>
39 flush_work(&cs35l56->dsp_work); in cs35l56_wait_dsp_ready()
73 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cs35l56->component); in cs35l56_sync_asp1_mixer_widgets_with_firmware()
74 const char *prefix = cs35l56->component->name_prefix; in cs35l56_sync_asp1_mixer_widgets_with_firmware()
82 if (cs35l56->asp1_mixer_widgets_initialized) in cs35l56_sync_asp1_mixer_widgets_with_firmware()
89 ret = pm_runtime_resume_and_get(cs35l56->base.dev); in cs35l56_sync_asp1_mixer_widgets_with_firmware()
96 ret = regmap_bulk_read(cs35l56->base.regmap, CS35L56_ASP1TX1_INPUT, in cs35l56_sync_asp1_mixer_widgets_with_firmware()
99 pm_runtime_mark_last_busy(cs35l56->base.dev); in cs35l56_sync_asp1_mixer_widgets_with_firmware()
100 pm_runtime_put_autosuspend(cs35l56->base.dev); in cs35l56_sync_asp1_mixer_widgets_with_firmware()
[all …]
H A Dmax98390.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * max98390.c -- MAX98390 ALSA Soc Audio driver
166 struct snd_soc_component *component = codec_dai->component; in max98390_dai_set_fmt()
173 dev_dbg(component->dev, "%s: fmt 0x%08X\n", __func__, fmt); in max98390_dai_set_fmt()
180 max98390->provider = true; in max98390_dai_set_fmt()
184 dev_err(component->dev, "DAI clock mode unsupported\n"); in max98390_dai_set_fmt()
185 return -EINVAL; in max98390_dai_set_fmt()
188 regmap_update_bits(max98390->regmap, in max98390_dai_set_fmt()
200 dev_err(component->dev, "DAI invert mode unsupported\n"); in max98390_dai_set_fmt()
201 return -EINVAL; in max98390_dai_set_fmt()
[all …]
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A 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 …]
H A Dmsm8953-xiaomi-tissot.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
11 #include <dt-bindings/leds/common.h>
13 /delete-node/ &adsp_fw_mem;
14 /delete-node/ &qseecom_mem;
15 /delete-node/ &wcnss_fw_mem;
20 chassis-type = "handset";
21 qcom,msm-id = <293 0>;
22 qcom,board-id = <0x1000b 0x00>;
24 gpio-keys {
[all …]
H A Dmsm8953-xiaomi-daisy.dts1 // SPDX-License-Identifier: BSD-3-Clause
5 /dts-v1/;
11 /delete-node/ &adsp_fw_mem;
12 /delete-node/ &qseecom_mem;
13 /delete-node/ &wcnss_fw_mem;
18 chassis-type = "handset";
19 qcom,msm-id = <293 0>;
20 qcom,board-id = <0x1000b 0x9>;
23 #address-cells = <2>;
24 #size-cells = <2>;
[all …]
/openbmc/linux/sound/pci/hda/
H A Dcs35l41_hda.c1 // SPDX-License-Identifier: GPL-2.0
49 { CS35L41_SP_HIZ_CTRL, 0x00000002 }, // Hi-Z unused
50 { CS35L41_SP_TX_WL, 0x00000018 }, // 24 cycles/slot
51 { CS35L41_SP_RX_WL, 0x00000018 }, // 24 cycles/slot
54 { CS35L41_ASP_TX2_SRC, 0x00000019 }, // ASPTX2 SRC = IMON
60 { CS35L41_DSP1_RX4_SRC, 0x00000019 }, // DSP1RX4 SRC = IMON
71 { CS35L41_SP_HIZ_CTRL, 0x00000003 }, // Hi-Z unused/disabled
72 { CS35L41_SP_TX_WL, 0x00000018 }, // 24 cycles/slot
73 { CS35L41_SP_RX_WL, 0x00000018 }, // 24 cycles/slot
76 { CS35L41_ASP_TX2_SRC, 0x00000019 }, // ASPTX2 SRC = IMON
[all …]
/openbmc/linux/drivers/media/rc/
H A Drc-main.c1 // SPDX-License-Identifier: GPL-2.0
2 // rc-main.c - Remote Controller core module
4 // Copyright (C) 2009-2010 by Mauro Carvalho Chehab
8 #include <media/rc-core.h>
18 #include "rc-core-priv.h"
31 [RC_PROTO_RC5] = { .name = "rc-5",
33 [RC_PROTO_RC5X_20] = { .name = "rc-5x-20",
35 [RC_PROTO_RC5_SZ] = { .name = "rc-5-sz",
39 [RC_PROTO_SONY12] = { .name = "sony-12",
41 [RC_PROTO_SONY15] = { .name = "sony-15",
[all …]

12