Home
last modified time | relevance | path

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

/linux/Documentation/devicetree/bindings/sound/
H A 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 …]
/linux/sound/soc/codecs/
H A 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 …]
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()
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),
104 7, 9, TLV_DB_SCALE_ITEM(-1000, 200, 0),
[all …]
H A Dmax98388.c1 // SPDX-License-Identifier: GPL-2.0
75 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98388_dac_event()
80 regmap_write(max98388->regmap, in max98388_dac_event()
85 regmap_write(max98388->regmap, in max98388_dac_event()
88 max98388->tdm_mode = false; in max98388_dac_event()
131 static DECLARE_TLV_DB_SCALE(max98388_digital_tlv, -6350, 50, 1);
132 static DECLARE_TLV_DB_SCALE(max98388_amp_gain_tlv, -300, 300, 0);
135 "0dBFS", "-1dBFS", "-2dBFS", "-3dBFS", "-4dBFS", "-5dBFS",
136 "-6dBFS", "-7dBFS", "-8dBFS", "-9dBFS", "-10dBFS", "-11dBFS",
137 "-12dBFS", "-13dBFS", "-14dBFS", "-15dBFS"
[all …]