/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
D | max9892x.txt | 7 - 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 …]
|
D | max98373.txt | 7 - 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 …]
|
D | tas27xx.yaml | 1 # 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 22 - ti,tas2764 23 - ti,tas2780 30 reset-gpios: 34 shutdown-gpios: [all …]
|
D | tas2770.yaml | 1 # 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: 33 shutdown-gpios: 40 ti,imon-slot-no: [all …]
|
D | adi,max98396.yaml | 1 # 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 …]
|
/Linux-v6.1/sound/soc/codecs/ |
D | tas2770.c | 1 // 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 …]
|
D | tas2562.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #include <sound/soc-dapm.h> 131 dev_info(tas2562->dev, "%s, unsupported sample rate, %d\n", in tas2562_set_samplerate() 133 return -EINVAL; in tas2562_set_samplerate() 136 snd_soc_component_update_bits(tas2562->component, TAS2562_TDM_CFG0, in tas2562_set_samplerate() 138 snd_soc_component_update_bits(tas2562->component, TAS2562_TDM_CFG0, in tas2562_set_samplerate() 148 struct snd_soc_component *component = dai->component; in tas2562_set_dai_tdm_slot() 155 dev_err(component->dev, "tx masks must not be 0\n"); in tas2562_set_dai_tdm_slot() 156 return -EINVAL; in tas2562_set_dai_tdm_slot() 161 return -EINVAL; in tas2562_set_dai_tdm_slot() [all …]
|
D | max98373.c | 1 // 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() 81 SND_SOC_DAPM_SIGGEN("VMON"), 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 …]
|
D | max98926.c | 1 // 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 …]
|
D | max98925.c | 1 // 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 …]
|
D | cs35l34.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs35l34.c -- CS35l34 ALSA SoC audio driver 29 #include <sound/soc-dapm.h> 50 struct gpio_desc *reset_gpio; /* Active-low reset GPIO */ 237 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l34_sdin_event() 243 if (priv->tdm_mode) in cs35l34_sdin_event() 244 regmap_update_bits(priv->regmap, CS35L34_PWRCTL3, in cs35l34_sdin_event() 247 ret = regmap_update_bits(priv->regmap, CS35L34_PWRCTL1, in cs35l34_sdin_event() 250 dev_err(component->dev, "Cannot set Power bits %d\n", ret); in cs35l34_sdin_event() 256 if (priv->tdm_mode) { in cs35l34_sdin_event() [all …]
|
D | max98927.c | 1 // 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, in max98927_dai_set_fmt() [all …]
|
D | tas2780.c | 1 // 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 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 …]
|
D | tas2764.c | 1 // 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 …]
|
D | max98396.c | 1 // 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, ®); in max98396_dai_set_fmt() [all …]
|
D | max98390.c | 1 // 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 …]
|
/Linux-v6.1/sound/pci/hda/ |
D | cs35l41_hda.c | 1 // SPDX-License-Identifier: GPL-2.0 48 { CS35L41_SP_HIZ_CTRL, 0x00000002 }, // Hi-Z unused 49 { CS35L41_SP_TX_WL, 0x00000018 }, // 24 cycles/slot 50 { CS35L41_SP_RX_WL, 0x00000018 }, // 24 cycles/slot 52 { CS35L41_ASP_TX1_SRC, 0x00000018 }, // ASPTX1 SRC = VMON 58 { CS35L41_DSP1_RX3_SRC, 0x00000018 }, // DSP1RX3 SRC = VMON 72 { CS35L41_SP_HIZ_CTRL, 0x00000003 }, // Hi-Z unused/disabled 73 { CS35L41_SP_TX_WL, 0x00000018 }, // 24 cycles/slot 74 { CS35L41_SP_RX_WL, 0x00000018 }, // 24 cycles/slot 76 { CS35L41_ASP_TX1_SRC, 0x00000018 }, // ASPTX1 SRC = VMON [all …]
|
/Linux-v6.1/include/soc/tegra/ |
D | bpmp-abi.h | 1 /* 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 …]
|