| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/ |
| D | richtek,rt4803.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Richtek RT4803 Boost Regulator 10 - ChiYuan Huang <cy_huang@richtek.com> 13 RT4803 is a boost regulator that's designed to provide the minimum output 15 supports boost and auto bypass mode that depends on the difference between the 17 transform to boost mode. Otherwise, turn on bypass switch to enter bypass mode. 20 https://www.richtek.com/assets/product_file/RT4803/DS4803-03.pdf 21 https://www.richtek.com/assets/product_file/RT4803A/DS4803A-06.pdf [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | cs35l32.txt | 5 - compatible : "cirrus,cs35l32" 7 - reg : the I2C address of the device for I2C. Address is determined by the level 10 - VA-supply, VP-supply : power supplies for the device, 15 - reset-gpios : a GPIO spec for the reset pin. If specified, it will be 18 - cirrus,boost-manager : Boost voltage control. 19 0 = Automatically managed. Boost-converter output voltage is the higher 21 1 = Automatically managed irrespective of audio, adapting for low-power 22 dissipation when LEDs are ON, and operating in Fixed-Boost Bypass Mode 24 2 = (Default) Boost voltage fixed in Bypass Mode (VBST = VP). 25 3 = Boost voltage fixed at 5 V. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | cs35l32.txt | 5 - compatible : "cirrus,cs35l32" 7 - reg : the I2C address of the device for I2C. Address is determined by the level 10 - VA-supply, VP-supply : power supplies for the device, 15 - reset-gpios : a GPIO spec for the reset pin. If specified, it will be 18 - cirrus,boost-manager : Boost voltage control. 19 0 = Automatically managed. Boost-converter output voltage is the higher 21 1 = Automatically managed irrespective of audio, adapting for low-power 22 dissipation when LEDs are ON, and operating in Fixed-Boost Bypass Mode 24 2 = (Default) Boost voltage fixed in Bypass Mode (VBST = VP). 25 3 = Boost voltage fixed at 5 V. [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | adau1373.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 24 #include "adau-utils.h" 323 0, 7, TLV_DB_SCALE_ITEM(-7900, 400, 1), 324 8, 15, TLV_DB_SCALE_ITEM(-4700, 300, 0), 325 16, 23, TLV_DB_SCALE_ITEM(-2300, 200, 0), 326 24, 31, TLV_DB_SCALE_ITEM(-700, 100, 0) 329 static const DECLARE_TLV_DB_MINMAX(adau1373_digital_tlv, -9563, 0); 330 static const DECLARE_TLV_DB_SCALE(adau1373_in_pga_tlv, -1300, 100, 1); 331 static const DECLARE_TLV_DB_SCALE(adau1373_ep_tlv, -600, 600, 1); [all …]
|
| D | wm8990.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8990.c -- WM8990 ALSA Soc Audio driver 37 static const DECLARE_TLV_DB_SCALE(in_pga_tlv, -1650, 3000, 0); 39 static const DECLARE_TLV_DB_SCALE(out_mix_tlv, 0, -2100, 0); 41 static const DECLARE_TLV_DB_SCALE(out_pga_tlv, -7300, 600, 0); 43 static const DECLARE_TLV_DB_SCALE(out_dac_tlv, -7163, 0, 0); 45 static const DECLARE_TLV_DB_SCALE(in_adc_tlv, -7163, 1763, 0); 47 static const DECLARE_TLV_DB_SCALE(out_sidetone_tlv, -3600, 0, 0); 54 (struct soc_mixer_control *)kcontrol->private_value; in wm899x_outpga_put_volsw_vu() 55 int reg = mc->reg; in wm899x_outpga_put_volsw_vu() [all …]
|
| D | nau8810.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * nau8810.c -- NAU8810 ALSA Soc Audio driver 169 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in nau8810_eq_get() 173 val = (u16 *)ucontrol->value.bytes.data; in nau8810_eq_get() 175 for (i = 0; i < params->max / sizeof(u16); i++) { in nau8810_eq_get() 176 regmap_read(nau8810->regmap, reg + i, ®_val); in nau8810_eq_get() 177 /* conversion of 16-bit integers between native CPU format in nau8810_eq_get() 189 * cut-off frequency, bandwidth control, and equalizer path. 200 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in nau8810_eq_put() 205 data = kmemdup(ucontrol->value.bytes.data, in nau8810_eq_put() [all …]
|
| D | wm8400.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8400.c -- WM8400 ALSA Soc Audio driver 5 * Copyright 2008-11 Wolfson Microelectronics PLC. 18 #include <linux/mfd/wm8400-audio.h> 19 #include <linux/mfd/wm8400-private.h> 67 wm8400_reset_codec_reg_cache(wm8400->wm8400); in wm8400_component_reset() 70 static const DECLARE_TLV_DB_SCALE(in_pga_tlv, -1650, 3000, 0); 72 static const DECLARE_TLV_DB_SCALE(out_mix_tlv, -2100, 0, 0); 74 static const DECLARE_TLV_DB_SCALE(out_pga_tlv, -7300, 600, 0); 76 static const DECLARE_TLV_DB_SCALE(out_dac_tlv, -7163, 0, 0); [all …]
|
| D | wm8940.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8940.c -- WM8940 ALSA Soc Audio driver 145 { 0x2f, 0x0002 }, /* ADC Boost Control */ 155 static const char *wm8940_companding[] = { "Off", "NC", "u-law", "A-law" }; 173 static DECLARE_TLV_DB_SCALE(wm8940_spk_vol_tlv, -5700, 100, 1); 174 static DECLARE_TLV_DB_SCALE(wm8940_att_tlv, -1000, 1000, 0); 175 static DECLARE_TLV_DB_SCALE(wm8940_pga_vol_tlv, -1200, 75, 0); 176 static DECLARE_TLV_DB_SCALE(wm8940_alc_min_tlv, -1200, 600, 0); 178 static DECLARE_TLV_DB_SCALE(wm8940_alc_tar_tlv, -2250, 50, 0); 180 static DECLARE_TLV_DB_SCALE(wm8940_lim_thresh_tlv, -600, 100, 0); [all …]
|
| D | wm8991.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8991.c -- WM8991 ALSA Soc Audio driver 5 * Copyright 2007-2010 Wolfson Microelectronics PLC. 23 #include <sound/soc-dapm.h> 36 { 1, 0x0000 }, /* R1 - Power Management (1) */ 37 { 2, 0x6000 }, /* R2 - Power Management (2) */ 38 { 3, 0x0000 }, /* R3 - Power Management (3) */ 39 { 4, 0x4050 }, /* R4 - Audio Interface (1) */ 40 { 5, 0x4000 }, /* R5 - Audio Interface (2) */ 41 { 6, 0x01C8 }, /* R6 - Clocking (1) */ [all …]
|
| D | wm8510.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8510.c -- WM8510 ALSA Soc Audio driver 113 static const char *wm8510_companding[] = { "Off", "NC", "u-law", "A-law" }; 131 SOC_ENUM("Playback De-emphasis", wm8510_enum[2]), 147 SOC_SINGLE("DAC Playback Limiter Boost", WM8510_DACLIM2, 0, 15, 0), 170 SOC_SINGLE("Speaker Boost", WM8510_OUTPUT, 2, 1, 0), 172 SOC_SINGLE("Capture Boost(+20dB)", WM8510_ADCBOOST, 8, 1, 0), 178 SOC_DAPM_SINGLE("Line Bypass Switch", WM8510_SPKMIX, 1, 1, 0), 185 SOC_DAPM_SINGLE("Line Bypass Switch", WM8510_MONOMIX, 1, 1, 0), 219 SND_SOC_DAPM_MIXER("Boost Mixer", WM8510_POWER2, 4, 0, [all …]
|
| D | wm9712.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9712.c -- ALSA Soc WM9712 codec support 5 * Copyright 2006-12 Wolfson Microelectronics PLC. 106 static const char *wm9712_base[] = {"Linear Control", "Adaptive Boost"}; 115 static const DECLARE_TLV_DB_SCALE(main_tlv, -3450, 150, 0); 166 SOC_SINGLE("PCBeep Bypass Headphone Volume", AC97_PC_BEEP, 12, 7, 1), 167 SOC_SINGLE("PCBeep Bypass Speaker Volume", AC97_PC_BEEP, 8, 7, 1), 168 SOC_SINGLE("PCBeep Bypass Phone Volume", AC97_PC_BEEP, 4, 7, 1), 177 SOC_SINGLE_TLV("Capture Boost Switch", AC97_REC_SEL, 14, 1, 0, boost_tlv), 178 SOC_SINGLE_TLV("Capture to Phone Boost Switch", AC97_REC_SEL, 11, 1, 1, [all …]
|
| D | wm8960.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8960.c -- WM8960 ALSA SoC Audio driver 5 * Copyright 2007-11 Wolfson Microelectronics, plc 29 /* R25 - Power 1 */ 33 /* R26 - Power 2 */ 38 /* R28 - Anti-pop 1 */ 45 /* R29 - Anti-pop 2 */ 192 if (wm8960->deemph) { in wm8960_set_deemph() 195 if (abs(deemph_settings[i] - wm8960->lrclk) < in wm8960_set_deemph() 196 abs(deemph_settings[best] - wm8960->lrclk)) in wm8960_set_deemph() [all …]
|
| D | wm8974.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8974.c -- WM8974 ALSA Soc Audio driver 5 * Copyright 2006-2009 Wolfson Microelectronics PLC. 55 static const char *wm8974_companding[] = {"Off", "NC", "u-law", "A-law" }; 91 static const DECLARE_TLV_DB_SCALE(digital_tlv, -12750, 50, 1); 92 static const DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0); 93 static const DECLARE_TLV_DB_SCALE(inpga_tlv, -1200, 75, 0); 94 static const DECLARE_TLV_DB_SCALE(spk_tlv, -5700, 100, 0); 103 SOC_ENUM("Playback De-emphasis", wm8974_enum[2]), 139 SOC_SINGLE("DAC Playback Limiter Boost", WM8974_DACLIM2, 0, 15, 0), [all …]
|
| D | wm8900.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8900.c -- WM8900 ALSA Soc Audio driver 10 * - Tristating. 11 * - TDM. 12 * - Jack detect. 13 * - FLL source configuration, currently only MCLK is supported. 224 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm8900_hp_event() 286 static const DECLARE_TLV_DB_SCALE(out_pga_tlv, -5700, 100, 0); 288 static const DECLARE_TLV_DB_SCALE(out_mix_tlv, -1500, 300, 0); 290 static const DECLARE_TLV_DB_SCALE(in_boost_tlv, -1200, 600, 0); [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | adau1373.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 25 #include "adau-utils.h" 324 0, 7, TLV_DB_SCALE_ITEM(-7900, 400, 1), 325 8, 15, TLV_DB_SCALE_ITEM(-4700, 300, 0), 326 16, 23, TLV_DB_SCALE_ITEM(-2300, 200, 0), 327 24, 31, TLV_DB_SCALE_ITEM(-700, 100, 0) 330 static const DECLARE_TLV_DB_MINMAX(adau1373_digital_tlv, -9563, 0); 331 static const DECLARE_TLV_DB_SCALE(adau1373_in_pga_tlv, -1300, 100, 1); 332 static const DECLARE_TLV_DB_SCALE(adau1373_ep_tlv, -600, 600, 1); [all …]
|
| D | wm8990.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8990.c -- WM8990 ALSA Soc Audio driver 37 static const DECLARE_TLV_DB_SCALE(in_pga_tlv, -1650, 3000, 0); 39 static const DECLARE_TLV_DB_SCALE(out_mix_tlv, 0, -2100, 0); 41 static const DECLARE_TLV_DB_SCALE(out_pga_tlv, -7300, 600, 0); 43 static const DECLARE_TLV_DB_SCALE(out_dac_tlv, -7163, 0, 0); 45 static const DECLARE_TLV_DB_SCALE(in_adc_tlv, -7163, 1763, 0); 47 static const DECLARE_TLV_DB_SCALE(out_sidetone_tlv, -3600, 0, 0); 54 (struct soc_mixer_control *)kcontrol->private_value; in wm899x_outpga_put_volsw_vu() 55 int reg = mc->reg; in wm899x_outpga_put_volsw_vu() [all …]
|
| D | nau8810.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * nau8810.c -- NAU8810 ALSA Soc Audio driver 169 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in nau8810_eq_get() 173 val = (u16 *)ucontrol->value.bytes.data; in nau8810_eq_get() 175 for (i = 0; i < params->max / sizeof(u16); i++) { in nau8810_eq_get() 176 regmap_read(nau8810->regmap, reg + i, ®_val); in nau8810_eq_get() 177 /* conversion of 16-bit integers between native CPU format in nau8810_eq_get() 189 * cut-off frequency, bandwidth control, and equalizer path. 200 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in nau8810_eq_put() 205 data = kmemdup(ucontrol->value.bytes.data, in nau8810_eq_put() [all …]
|
| D | wm8940.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8940.c -- WM8940 ALSA Soc Audio driver 143 { 0x2f, 0x0002 }, /* ADC Boost Control */ 153 static const char *wm8940_companding[] = { "Off", "NC", "u-law", "A-law" }; 171 static DECLARE_TLV_DB_SCALE(wm8940_spk_vol_tlv, -5700, 100, 1); 172 static DECLARE_TLV_DB_SCALE(wm8940_att_tlv, -1000, 1000, 0); 173 static DECLARE_TLV_DB_SCALE(wm8940_pga_vol_tlv, -1200, 75, 0); 174 static DECLARE_TLV_DB_SCALE(wm8940_alc_min_tlv, -1200, 600, 0); 176 static DECLARE_TLV_DB_SCALE(wm8940_alc_tar_tlv, -2250, 50, 0); 178 static DECLARE_TLV_DB_SCALE(wm8940_lim_thresh_tlv, -600, 100, 0); [all …]
|
| D | wm8400.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8400.c -- WM8400 ALSA Soc Audio driver 5 * Copyright 2008-11 Wolfson Microelectronics PLC. 18 #include <linux/mfd/wm8400-audio.h> 19 #include <linux/mfd/wm8400-private.h> 67 wm8400_reset_codec_reg_cache(wm8400->wm8400); in wm8400_component_reset() 70 static const DECLARE_TLV_DB_SCALE(in_pga_tlv, -1650, 3000, 0); 72 static const DECLARE_TLV_DB_SCALE(out_mix_tlv, -2100, 0, 0); 74 static const DECLARE_TLV_DB_SCALE(out_pga_tlv, -7300, 600, 0); 76 static const DECLARE_TLV_DB_SCALE(out_dac_tlv, -7163, 0, 0); [all …]
|
| D | wm8991.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8991.c -- WM8991 ALSA Soc Audio driver 5 * Copyright 2007-2010 Wolfson Microelectronics PLC. 23 #include <sound/soc-dapm.h> 36 { 1, 0x0000 }, /* R1 - Power Management (1) */ 37 { 2, 0x6000 }, /* R2 - Power Management (2) */ 38 { 3, 0x0000 }, /* R3 - Power Management (3) */ 39 { 4, 0x4050 }, /* R4 - Audio Interface (1) */ 40 { 5, 0x4000 }, /* R5 - Audio Interface (2) */ 41 { 6, 0x01C8 }, /* R6 - Clocking (1) */ [all …]
|
| D | wm8510.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8510.c -- WM8510 ALSA Soc Audio driver 113 static const char *wm8510_companding[] = { "Off", "NC", "u-law", "A-law" }; 131 SOC_ENUM("Playback De-emphasis", wm8510_enum[2]), 147 SOC_SINGLE("DAC Playback Limiter Boost", WM8510_DACLIM2, 0, 15, 0), 170 SOC_SINGLE("Speaker Boost", WM8510_OUTPUT, 2, 1, 0), 172 SOC_SINGLE("Capture Boost(+20dB)", WM8510_ADCBOOST, 8, 1, 0), 178 SOC_DAPM_SINGLE("Line Bypass Switch", WM8510_SPKMIX, 1, 1, 0), 185 SOC_DAPM_SINGLE("Line Bypass Switch", WM8510_MONOMIX, 1, 1, 0), 219 SND_SOC_DAPM_MIXER("Boost Mixer", WM8510_POWER2, 4, 0, [all …]
|
| D | wm9712.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm9712.c -- ALSA Soc WM9712 codec support 5 * Copyright 2006-12 Wolfson Microelectronics PLC. 106 static const char *wm9712_base[] = {"Linear Control", "Adaptive Boost"}; 115 static const DECLARE_TLV_DB_SCALE(main_tlv, -3450, 150, 0); 166 SOC_SINGLE("PCBeep Bypass Headphone Volume", AC97_PC_BEEP, 12, 7, 1), 167 SOC_SINGLE("PCBeep Bypass Speaker Volume", AC97_PC_BEEP, 8, 7, 1), 168 SOC_SINGLE("PCBeep Bypass Phone Volume", AC97_PC_BEEP, 4, 7, 1), 177 SOC_SINGLE_TLV("Capture Boost Switch", AC97_REC_SEL, 14, 1, 0, boost_tlv), 178 SOC_SINGLE_TLV("Capture to Phone Boost Switch", AC97_REC_SEL, 11, 1, 1, [all …]
|
| D | wm8960.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8960.c -- WM8960 ALSA SoC Audio driver 5 * Copyright 2007-11 Wolfson Microelectronics, plc 28 /* R25 - Power 1 */ 32 /* R26 - Power 2 */ 37 /* R28 - Anti-pop 1 */ 44 /* R29 - Anti-pop 2 */ 176 if (wm8960->deemph) { in wm8960_set_deemph() 179 if (abs(deemph_settings[i] - wm8960->lrclk) < in wm8960_set_deemph() 180 abs(deemph_settings[best] - wm8960->lrclk)) in wm8960_set_deemph() [all …]
|
| D | wm8974.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8974.c -- WM8974 ALSA Soc Audio driver 5 * Copyright 2006-2009 Wolfson Microelectronics PLC. 55 static const char *wm8974_companding[] = {"Off", "NC", "u-law", "A-law" }; 91 static const DECLARE_TLV_DB_SCALE(digital_tlv, -12750, 50, 1); 92 static const DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0); 93 static const DECLARE_TLV_DB_SCALE(inpga_tlv, -1200, 75, 0); 94 static const DECLARE_TLV_DB_SCALE(spk_tlv, -5700, 100, 0); 103 SOC_ENUM("Playback De-emphasis", wm8974_enum[2]), 139 SOC_SINGLE("DAC Playback Limiter Boost", WM8974_DACLIM2, 0, 15, 0), [all …]
|
| D | wm8900.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8900.c -- WM8900 ALSA Soc Audio driver 10 * - Tristating. 11 * - TDM. 12 * - Jack detect. 13 * - FLL source configuration, currently only MCLK is supported. 224 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm8900_hp_event() 286 static const DECLARE_TLV_DB_SCALE(out_pga_tlv, -5700, 100, 0); 288 static const DECLARE_TLV_DB_SCALE(out_mix_tlv, -1500, 300, 0); 290 static const DECLARE_TLV_DB_SCALE(in_boost_tlv, -1200, 600, 0); [all …]
|