/linux-6.12.1/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 …]
|
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 73 For pmi8994, s1, s2, s3, boost-bypass 83 - Andy Gross <agross@kernel.org> [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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() 174 val = (u16 *)ucontrol->value.bytes.data; in nau8810_eq_get() 176 for (i = 0; i < params->max / sizeof(u16); i++) { in nau8810_eq_get() 177 regmap_read(nau8810->regmap, reg + i, ®_val); in nau8810_eq_get() 178 /* conversion of 16-bit integers between native CPU format in nau8810_eq_get() 190 * cut-off frequency, bandwidth control, and equalizer path. 201 struct soc_bytes_ext *params = (void *)kcontrol->private_value; in nau8810_eq_put() 207 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 …]
|
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 …]
|
D | wm8971.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8971.c -- WM8971 ALSA SoC Audio driver 91 static const char *wm8971_bass[] = { "Linear Control", "Adaptive Boost" }; 142 SOC_DOUBLE_R("Bypass Left Playback Volume", WM8971_LOUTM1, 144 SOC_DOUBLE_R("Bypass Right Playback Volume", WM8971_ROUTM1, 146 SOC_DOUBLE_R("Bypass Mono Playback Volume", WM8971_MOUTM1, 154 SOC_ENUM("Bass Boost", wm8971_enum[0]), 159 SOC_ENUM("Treble Cut-off", wm8971_enum[2]), 180 SOC_ENUM("Playback De-emphasis", wm8971_enum[5]), 184 SOC_DOUBLE_R("Mic Boost", WM8971_LADCIN, WM8971_RADCIN, 4, 3, 0), [all …]
|
D | wm8750.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8750.c -- WM8750 ALSA SoC audio driver 91 static const char *wm8750_bass[] = {"Linear Control", "Adaptive Boost"}; 145 SOC_ENUM("Playback De-emphasis", wm8750_enum[15]), 153 SOC_ENUM("Bass Boost", wm8750_enum[0]), 158 SOC_ENUM("Treble Cut-off", wm8750_enum[2]), 162 SOC_ENUM("3D Lower Cut-off", wm8750_enum[3]), 163 SOC_ENUM("3D Upper Cut-off", wm8750_enum[4]), 186 /* ADCDAC Bit 0 - ADCHPD */ 187 /* ADCDAC Bit 4 - HPOR */ [all …]
|
D | tscs454.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // tscs454.c -- TSCS454 ALSA SoC Audio driver 21 #include <sound/soc-dapm.h> 50 pll->id = id; in pll_init() 51 mutex_init(&pll->lock); in pll_init() 66 aif->id = id; in aif_init() 85 cache[((norm_addrs[i] + 1) * COEFF_SIZE) - 1] = 0x40; in init_coeff_ram_cache() 90 init_coeff_ram_cache(ram->cache); in coeff_ram_init() 91 mutex_init(&ram->lock); in coeff_ram_init() 103 status->streams |= mask; in set_aif_status_active() [all …]
|
D | wm8985.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8985.c -- WM8985 / WM8758 ALSA SoC Audio driver 49 { 1, 0x0000 }, /* R1 - Power management 1 */ 50 { 2, 0x0000 }, /* R2 - Power management 2 */ 51 { 3, 0x0000 }, /* R3 - Power management 3 */ 52 { 4, 0x0050 }, /* R4 - Audio Interface */ 53 { 5, 0x0000 }, /* R5 - Companding control */ 54 { 6, 0x0140 }, /* R6 - Clock Gen control */ 55 { 7, 0x0000 }, /* R7 - Additional control */ 56 { 8, 0x0000 }, /* R8 - GPIO Control */ [all …]
|
D | wm8983.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8983.c -- WM8983 ALSA SoC Audio driver 29 { 0x01, 0x0000 }, /* R1 - Power management 1 */ 30 { 0x02, 0x0000 }, /* R2 - Power management 2 */ 31 { 0x03, 0x0000 }, /* R3 - Power management 3 */ 32 { 0x04, 0x0050 }, /* R4 - Audio Interface */ 33 { 0x05, 0x0000 }, /* R5 - Companding control */ 34 { 0x06, 0x0140 }, /* R6 - Clock Gen control */ 35 { 0x07, 0x0000 }, /* R7 - Additional control */ 36 { 0x08, 0x0000 }, /* R8 - GPIO Control */ [all …]
|
D | wm8988.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8988.c -- WM8988 ALSA SoC audio driver 125 static const char *bass_boost_txt[] = {"Linear Control", "Adaptive Boost"}; 167 static const DECLARE_TLV_DB_SCALE(pga_tlv, -1725, 75, 0); 168 static const DECLARE_TLV_DB_SCALE(adc_tlv, -9750, 50, 1); 169 static const DECLARE_TLV_DB_SCALE(dac_tlv, -12750, 50, 1); 170 static const DECLARE_TLV_DB_SCALE(out_tlv, -12100, 100, 1); 171 static const DECLARE_TLV_DB_SCALE(bypass_tlv, -1500, 300, 0); 175 SOC_ENUM("Bass Boost", bass_boost), 180 SOC_ENUM("Treble Cut-off", treble), [all …]
|
D | jz4725b.c | 1 // SPDX-License-Identifier: GPL-2.0 167 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(jz4725b_dac_tlv, -2250, 150, 0); 169 0, 11, TLV_DB_SCALE_ITEM(-2250, 0, 0), 170 12, 31, TLV_DB_SCALE_ITEM(-2250, 150, 0), 174 0, 11, TLV_DB_SCALE_ITEM(-3350, 200, 0), 175 12, 23, TLV_DB_SCALE_ITEM(-1050, 100, 0), 199 SOC_DOUBLE_R_TLV("Mixer Line In Bypass Playback Volume", 204 SOC_DOUBLE_R_TLV("Mixer Mic 1 Bypass Playback Volume", 209 SOC_DOUBLE_R_TLV("Mixer Mic 2 Bypass Playback Volume", 228 SOC_SINGLE("High-Pass Filter Capture Switch", [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | st,stpmic1.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - pascal Paillet <p.paillet@foss.st.com> 24 "#interrupt-cells": 27 interrupt-controller: true 36 const: st,stpmic1-onkey 40 - description: onkey-falling, happens when onkey is pressed. IT_PONKEY_F of pmic 41 - description: onkey-rising, happens when onkey is released. IT_PONKEY_R of pmic 43 interrupt-names: [all …]
|
/linux-6.12.1/drivers/regulator/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 managed regulators and simple non-configurable regulators. 64 the netlink mechanism. User-space applications can subscribe to these events 65 for real-time updates on various regulator events. 75 They provide two I2C-controlled DC/DC step-down converters with 101 tristate "Active-semi act8865 voltage regulator" 106 This driver controls a active-semi act8865 voltage output 110 tristate "Active-semi ACT8945A voltage regulator" 113 This driver controls a active-semi ACT8945A voltage regulator 114 via I2C bus. The ACT8945A features three step-down DC/DC converters [all …]
|
/linux-6.12.1/drivers/platform/x86/x86-android-tablets/ |
D | lenovo.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Copyright (C) 2021-2023 Hans de Goede <hdegoede@redhat.com> 27 #include "shared-psy-info.h" 28 #include "x86-android-tablets.h" 33 * The Android kernels have a hack in the i915 driver to write a non-standard 34 * panel specific DSI register to set the duty-cycle of the LCD's PWM output. 46 * But on some models the panel's PWM output defaults to a duty-cycle of 65 PROPERTY_ENTRY_U32("hid-descr-addr", 0x0001), 66 PROPERTY_ENTRY_U32("post-reset-deassert-delay-ms", 150), 75 * The HiDeep IST940E touchscreen comes up in I2C-HID mode. The native protocol [all …]
|