Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 conerter control source selection.
39 0x00 - Control Port Value
[all …]
Dmax98504.txt8 - compatible : "maxim,max98504"
9 - reg : should contain the I2C slave device address
10 - DVDD-supply, DIOVDD-supply, PVDD-supply: power supplies for the device,
12 - interrupts : should specify the interrupt line the device is connected to,
13 as described in ../interrupt-controller/interrupts.txt
17 - maxim,brownout-threshold - the PVDD brownout threshold, the value must be
19 - maxim,brownout-attenuation - the brownout attenuation to the speaker gain
22 - maxim,brownout-attack-hold-ms - the brownout attack hold phase time in ms,
24 - maxim,brownout-timed-hold-ms - the brownout timed hold phase time in ms,
26 - maxim,brownout-release-rate-ms - the brownout release phase step time in ms,
[all …]
/kernel/linux/linux-6.6/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 <krzysztof.kozlowski@linaro.org>
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 …]
/kernel/linux/linux-6.6/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
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 …]
/kernel/linux/linux-5.10/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 */