Home
last modified time | relevance | path

Searched +full:brownout +full:- +full:timed +full:- +full:hold +full:- +full:ms (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
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
20 applied during the "attack hold" and "timed hold" phase, the value must be
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,
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
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-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 …]
/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 …]