Home
last modified time | relevance | path

Searched +full:brownout +full:- +full:threshold (Results 1 – 5 of 5) sorted by relevance

/linux-6.14.4/Documentation/devicetree/bindings/sound/
Dcs35l36.txt5 - compatible : "cirrus,cs35l36"
7 - reg : the I2C address of the device for I2C
9 - VA-supply, VP-supply : power supplies for the device,
13 - cirrus,boost-ctl-millivolt : Boost Voltage Value. Configures the boost
18 - cirrus,boost-peak-milliamp : Boost-converter peak current limit in mA.
24 - cirrus,boost-ind-nanohenry : Inductor estimation LBST reference value.
32 - cirrus,multi-amp-mode : Boolean to determine if there are more than
33 one amplifier in the system. If more than one it is best to Hi-Z the ASP
36 - cirrus,boost-ctl-select : Boost converter control source selection.
39 0x00 - Control Port Value
[all …]
Dmaxim,max98504.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <[email protected]>
27 DIOVDD-supply: true
28 DVDD-supply: true
29 PVDD-supply: true
31 maxim,brownout-threshold:
36 PVDD brownout threshold, where values correspond to 2.6V, 2.65V...3.65V
37 voltage range. Property also enables the PVDD brownout protection.
[all …]
/linux-6.14.4/sound/soc/codecs/
Dmax98504.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2013 - 2014 Maxim Integrated Products
107 struct snd_soc_component *c = snd_soc_dapm_to_component(w->dapm); in max98504_pcm_rx_ev()
112 regmap_write(max98504->regmap, MAX98504_PCM_RX_ENABLE, in max98504_pcm_rx_ev()
113 max98504->pcm_rx_channels); in max98504_pcm_rx_ev()
116 regmap_write(max98504->regmap, MAX98504_PCM_RX_ENABLE, 0); in max98504_pcm_rx_ev()
126 struct regmap *map = max98504->regmap; in max98504_component_probe()
129 ret = regulator_bulk_enable(MAX98504_NUM_SUPPLIES, max98504->supplies); in max98504_component_probe()
136 if (!max98504->brownout_enable) in max98504_component_probe()
142 (max98504->brownout_threshold & 0x1f) << 3 | in max98504_component_probe()
[all …]
Dcs35l34.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * cs35l34.h -- CS35L34 ALSA SoC audio driver
28 #define CS35L34_PROTECT_CTL 0x18 /* Amp Gain - Prot Ctl Param */
46 #define CS35L34_PRED_BROWNOUT_THRESH 0x41 /* PRD Brownout Threshold */
47 #define CS35L34_PRED_BROWNOUT_VOL_CTL 0x42 /* PRD Brownout Volume Ctl */
48 #define CS35L34_PRED_BROWNOUT_RATE_CTL 0x43 /* PRD Brownout Rate Ctl */
53 #define CS35L34_PRED_BRWNOUT_ATT_STATUS 0x4C /* PRD Brownout Atten Status */
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 …]