Home
last modified time | relevance | path

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

/linux/Documentation/devicetree/bindings/sound/
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,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 …]
/linux/sound/soc/codecs/
H A 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()
78 SND_SOC_DAPM_SWITCH("SpkFB Sense", SND_SOC_NOPM, 0, 0,
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 …]
H A Dmax98396.c1 // SPDX-License-Identifier: GPL-2.0
349 struct snd_soc_component *component = codec_dai->component; in max98396_dai_set_fmt()
360 dev_dbg(component->dev, "%s: fmt 0x%08X\n", __func__, fmt); in max98396_dai_set_fmt()
377 dev_err(component->dev, "DAI invert mode %d unsupported\n", in max98396_dai_set_fmt()
379 return -EINVAL; in max98396_dai_set_fmt()
397 dev_err(component->dev, "DAI format %d unsupported\n", in max98396_dai_set_fmt()
399 return -EINVAL; in max98396_dai_set_fmt()
402 ret = regmap_read(max98396->regmap, MAX98396_R210F_GLOBAL_EN, &status); in max98396_dai_set_fmt()
404 return -EINVAL; in max98396_dai_set_fmt()
407 ret = regmap_read(max98396->regmap, MAX98396_R2041_PCM_MODE_CFG, &reg); in max98396_dai_set_fmt()
[all …]