| /kernel/linux/linux-4.19/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-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 …]
|
| D | wm8978.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8978.c -- WM8978 ALSA SoC Audio Codec driver 5 * Copyright (C) 2009-2010 Guennadi Liakhovetski <g.liakhovetski@gmx.de> 7 * Copyright 2006-2009 Wolfson Microelectronics PLC. 106 static const char *wm8978_companding[] = {"Off", "NC", "u-law", "A-law"}; 133 static const DECLARE_TLV_DB_SCALE(digital_tlv, -12750, 50, 1); 134 static const DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0); 135 static const DECLARE_TLV_DB_SCALE(inpga_tlv, -1200, 75, 0); 136 static const DECLARE_TLV_DB_SCALE(spk_tlv, -5700, 100, 0); 137 static const DECLARE_TLV_DB_SCALE(boost_tlv, -1500, 300, 1); [all …]
|
| /kernel/linux/linux-4.19/sound/soc/codecs/ |
| D | adau1373.c | 5 * Author: Lars-Peter Clausen <lars@metafoo.de> 7 * Licensed under the GPL-2 or later. 26 #include "adau-utils.h" 325 0, 7, TLV_DB_SCALE_ITEM(-7900, 400, 1), 326 8, 15, TLV_DB_SCALE_ITEM(-4700, 300, 0), 327 16, 23, TLV_DB_SCALE_ITEM(-2300, 200, 0), 328 24, 31, TLV_DB_SCALE_ITEM(-700, 100, 0) 331 static const DECLARE_TLV_DB_MINMAX(adau1373_digital_tlv, -9563, 0); 332 static const DECLARE_TLV_DB_SCALE(adau1373_in_pga_tlv, -1300, 100, 1); 333 static const DECLARE_TLV_DB_SCALE(adau1373_ep_tlv, -600, 600, 1); [all …]
|
| D | wm8940.c | 2 * wm8940.c -- WM8940 ALSA Soc Audio driver 146 { 0x2f, 0x0002 }, /* ADC Boost Control */ 156 static const char *wm8940_companding[] = { "Off", "NC", "u-law", "A-law" }; 174 static DECLARE_TLV_DB_SCALE(wm8940_spk_vol_tlv, -5700, 100, 1); 175 static DECLARE_TLV_DB_SCALE(wm8940_att_tlv, -1000, 1000, 0); 176 static DECLARE_TLV_DB_SCALE(wm8940_pga_vol_tlv, -1200, 75, 0); 177 static DECLARE_TLV_DB_SCALE(wm8940_alc_min_tlv, -1200, 600, 0); 179 static DECLARE_TLV_DB_SCALE(wm8940_alc_tar_tlv, -2250, 50, 0); 181 static DECLARE_TLV_DB_SCALE(wm8940_lim_thresh_tlv, -600, 100, 0); 182 static DECLARE_TLV_DB_SCALE(wm8940_adc_tlv, -12750, 50, 1); [all …]
|
| D | wm8400.c | 2 * wm8400.c -- WM8400 ALSA Soc Audio driver 4 * Copyright 2008-11 Wolfson Microelectronics PLC. 23 #include <linux/mfd/wm8400-audio.h> 24 #include <linux/mfd/wm8400-private.h> 72 wm8400_reset_codec_reg_cache(wm8400->wm8400); in wm8400_component_reset() 75 static const DECLARE_TLV_DB_SCALE(rec_mix_tlv, -1500, 600, 0); 77 static const DECLARE_TLV_DB_SCALE(in_pga_tlv, -1650, 3000, 0); 79 static const DECLARE_TLV_DB_SCALE(out_mix_tlv, -2100, 0, 0); 81 static const DECLARE_TLV_DB_SCALE(out_pga_tlv, -7300, 600, 0); 83 static const DECLARE_TLV_DB_SCALE(out_omix_tlv, -600, 0, 0); [all …]
|
| D | wm8960.c | 2 * wm8960.c -- WM8960 ALSA SoC Audio driver 4 * Copyright 2007-11 Wolfson Microelectronics, plc 31 /* R25 - Power 1 */ 35 /* R26 - Power 2 */ 40 /* R28 - Anti-pop 1 */ 47 /* R29 - Anti-pop 2 */ 179 if (wm8960->deemph) { in wm8960_set_deemph() 182 if (abs(deemph_settings[i] - wm8960->lrclk) < in wm8960_set_deemph() 183 abs(deemph_settings[best] - wm8960->lrclk)) in wm8960_set_deemph() 192 dev_dbg(component->dev, "Set deemphasis %d\n", val); in wm8960_set_deemph() [all …]
|
| D | wm8991.c | 2 * wm8991.c -- WM8991 ALSA Soc Audio driver 4 * Copyright 2007-2010 Wolfson Microelectronics PLC. 27 #include <sound/soc-dapm.h> 40 { 1, 0x0000 }, /* R1 - Power Management (1) */ 41 { 2, 0x6000 }, /* R2 - Power Management (2) */ 42 { 3, 0x0000 }, /* R3 - Power Management (3) */ 43 { 4, 0x4050 }, /* R4 - Audio Interface (1) */ 44 { 5, 0x4000 }, /* R5 - Audio Interface (2) */ 45 { 6, 0x01C8 }, /* R6 - Clocking (1) */ 46 { 7, 0x0000 }, /* R7 - Clocking (2) */ [all …]
|
| D | wm8990.c | 2 * wm8990.c -- WM8990 ALSA Soc Audio driver 50 { 1, 0x0000 }, /* R1 - Power Management (1) */ 51 { 2, 0x6000 }, /* R2 - Power Management (2) */ 52 { 3, 0x0000 }, /* R3 - Power Management (3) */ 53 { 4, 0x4050 }, /* R4 - Audio Interface (1) */ 54 { 5, 0x4000 }, /* R5 - Audio Interface (2) */ 55 { 6, 0x01C8 }, /* R6 - Clocking (1) */ 56 { 7, 0x0000 }, /* R7 - Clocking (2) */ 57 { 8, 0x0040 }, /* R8 - Audio Interface (3) */ 58 { 9, 0x0040 }, /* R9 - Audio Interface (4) */ [all …]
|
| D | wm8510.c | 2 * wm8510.c -- WM8510 ALSA Soc Audio driver 116 static const char *wm8510_companding[] = { "Off", "NC", "u-law", "A-law" }; 134 SOC_ENUM("Playback De-emphasis", wm8510_enum[2]), 150 SOC_SINGLE("DAC Playback Limiter Boost", WM8510_DACLIM2, 0, 15, 0), 173 SOC_SINGLE("Speaker Boost", WM8510_OUTPUT, 2, 1, 0), 175 SOC_SINGLE("Capture Boost(+20dB)", WM8510_ADCBOOST, 8, 1, 0), 181 SOC_DAPM_SINGLE("Line Bypass Switch", WM8510_SPKMIX, 1, 1, 0), 188 SOC_DAPM_SINGLE("Line Bypass Switch", WM8510_MONOMIX, 1, 1, 0), 222 SND_SOC_DAPM_MIXER("Boost Mixer", WM8510_POWER2, 4, 0, 240 {"Mono Mixer", "Line Bypass Switch", "Boost Mixer"}, [all …]
|
| D | wm8974.c | 2 * wm8974.c -- WM8974 ALSA Soc Audio driver 4 * Copyright 2006-2009 Wolfson Microelectronics PLC. 59 static const char *wm8974_companding[] = {"Off", "NC", "u-law", "A-law" }; 95 static const DECLARE_TLV_DB_SCALE(digital_tlv, -12750, 50, 1); 96 static const DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0); 97 static const DECLARE_TLV_DB_SCALE(inpga_tlv, -1200, 75, 0); 98 static const DECLARE_TLV_DB_SCALE(spk_tlv, -5700, 100, 0); 107 SOC_ENUM("Playback De-emphasis", wm8974_enum[2]), 143 SOC_SINGLE("DAC Playback Limiter Boost", WM8974_DACLIM2, 0, 15, 0), 169 SOC_SINGLE("Capture Boost(+20dB)", WM8974_ADCBOOST, 8, 1, 0), [all …]
|
| D | wm9712.c | 2 * wm9712.c -- ALSA Soc WM9712 codec support 4 * Copyright 2006-12 Wolfson Microelectronics PLC. 110 static const char *wm9712_base[] = {"Linear Control", "Adaptive Boost"}; 119 static const DECLARE_TLV_DB_SCALE(main_tlv, -3450, 150, 0); 170 SOC_SINGLE("PCBeep Bypass Headphone Volume", AC97_PC_BEEP, 12, 7, 1), 171 SOC_SINGLE("PCBeep Bypass Speaker Volume", AC97_PC_BEEP, 8, 7, 1), 172 SOC_SINGLE("PCBeep Bypass Phone Volume", AC97_PC_BEEP, 4, 7, 1), 181 SOC_SINGLE_TLV("Capture Boost Switch", AC97_REC_SEL, 14, 1, 0, boost_tlv), 182 SOC_SINGLE_TLV("Capture to Phone Boost Switch", AC97_REC_SEL, 11, 1, 1, 185 SOC_SINGLE("3D Upper Cut-off Switch", AC97_3D_CONTROL, 5, 1, 1), [all …]
|
| D | wm8900.c | 2 * wm8900.c -- WM8900 ALSA Soc Audio driver 13 * - Tristating. 14 * - TDM. 15 * - Jack detect. 16 * - FLL source configuration, currently only MCLK is supported. 227 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm8900_hp_event() 289 static const DECLARE_TLV_DB_SCALE(out_pga_tlv, -5700, 100, 0); 291 static const DECLARE_TLV_DB_SCALE(out_mix_tlv, -1500, 300, 0); 293 static const DECLARE_TLV_DB_SCALE(in_boost_tlv, -1200, 600, 0); 295 static const DECLARE_TLV_DB_SCALE(in_pga_tlv, -1200, 100, 0); [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/ |
| D | qcom,smd-rpm-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/qcom,smd-rpm-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 resides as a subnode of the SMD. As such, the SMD-RPM regulator requires 18 Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml 21 The regulator node houses sub-nodes for each regulator within the device. 22 Each sub-node is identified using the node's name, with valid values listed 57 For pmi8994, s1, s2, s3, boost-bypass 65 - Kathiravan T <kathirav@codeaurora.org> [all …]
|