| /linux/Documentation/devicetree/bindings/regulator/ |
| H A 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 …]
|
| H A 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/Documentation/devicetree/bindings/sound/ |
| H A 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/sound/soc/codecs/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A D | sta32x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Codec driver for ST STA32x 2.1-channel high-efficiency digital audio system 34 #include <sound/soc-dapm.h> 54 /* Power-up register defaults */ 132 "Vcc" /* power amp spply, 10V - 36V */ 153 static const DECLARE_TLV_DB_SCALE(mvol_tlv, -12700, 50, 1); 154 static const DECLARE_TLV_DB_SCALE(chvol_tlv, -7950, 50, 1); 155 static const DECLARE_TLV_DB_SCALE(tone_tlv, -120, 200, 0); 158 "Anti-Clipping", "Dynamic Range Compression" }; 169 "Hard", "Party", "Vocal", "Hip-Hop", "Dialog", "Bass-boost #1", [all …]
|
| H A D | rt5677.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5677.c -- RT5677 ALSA SoC audio codec driver 29 #include <sound/soc-dapm.h> 35 #include "rt5677-spi.h" 552 * rt5677_dsp_mode_i2c_write_addr - Write value to address on DSP mode. 563 struct snd_soc_component *component = rt5677->component; in rt5677_dsp_mode_i2c_write_addr() 566 mutex_lock(&rt5677->dsp_cmd_lock); in rt5677_dsp_mode_i2c_write_addr() 568 ret = regmap_write(rt5677->regmap_physical, RT5677_DSP_I2C_ADDR_MSB, in rt5677_dsp_mode_i2c_write_addr() 571 dev_err(component->dev, "Failed to set addr msb value: %d\n", ret); in rt5677_dsp_mode_i2c_write_addr() 575 ret = regmap_write(rt5677->regmap_physical, RT5677_DSP_I2C_ADDR_LSB, in rt5677_dsp_mode_i2c_write_addr() [all …]
|
| H A D | max9867.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright 2013-2015 Maxim Integrated Products 6 // Copyright 2018 Ladislav Michl <ladis@linux-mips.org> 42 "Butterworth/8-24" 55 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max9867_adc_dac_event() 71 max9867->adc_dac_active |= BIT(adc_dac); in max9867_adc_dac_event() 73 max9867->adc_dac_active &= ~BIT(adc_dac); in max9867_adc_dac_event() 86 ret = regmap_read(max9867->regmap, MAX9867_CODECFLTR, ®); in max9867_filter_get() 88 return -EINVAL; in max9867_filter_get() 91 ucontrol->value.enumerated.item[0] = 1; in max9867_filter_get() [all …]
|
| H A D | tfa989x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2014-2020 NXP Semiconductors, All Rights Reserved. 37 #define TFA989X_SYS_CTRL_DCA 4 /* enable boost */ 111 gpiod_set_value_cansleep(tfa989x->rcv_gpiod, ucontrol->value.enumerated.item[0]); in tfa989x_put_mode() 126 if (tfa989x->rev->rev == TFA9897_REVISION) in tfa989x_probe() 155 return -EINVAL; in tfa989x_find_sample_rate() 162 struct snd_soc_component *component = dai->component; in tfa989x_hw_params() 179 .name = "tfa989x-hifi", 270 * no documentation for it - the public "short datasheets" do not provide 275 * rely on obscure firmware blobs for configuration (so-called "containers"). [all …]
|
| H A D | tscs42xx.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // tscs42xx.c -- TSCS42xx ALSA SoC Audio driver 19 #include <sound/soc-dapm.h> 108 dev_err(component->dev, in plls_locked() 115 } while (count--); in plls_locked() 135 return -EINVAL; in sample_rate_to_pll_freq_out() 153 dev_err(component->dev, in write_coeff_ram() 162 ret = -EIO; in write_coeff_ram() 163 dev_err(component->dev, in write_coeff_ram() 168 ret = regmap_write(tscs42xx->regmap, R_DACCRADDR, addr); in write_coeff_ram() [all …]
|
| H A D | adau1761.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2011-2013 Analog Devices Inc. 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 125 static const DECLARE_TLV_DB_SCALE(adau1761_sing_in_tlv, -1500, 300, 1); 126 static const DECLARE_TLV_DB_SCALE(adau1761_diff_in_tlv, -1200, 75, 0); 127 static const DECLARE_TLV_DB_SCALE(adau1761_out_tlv, -5700, 100, 0); 128 static const DECLARE_TLV_DB_SCALE(adau1761_sidetone_tlv, -1800, 300, 1); 129 static const DECLARE_TLV_DB_SCALE(adau1761_boost_tlv, -600, 600, 1); 130 static const DECLARE_TLV_DB_SCALE(adau1761_pga_boost_tlv, -2000, 2000, 1); 132 static const DECLARE_TLV_DB_SCALE(adau1761_alc_max_gain_tlv, -1200, 600, 0); [all …]
|
| H A D | ak4535.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ak4535.c -- AK4535 ALSA Soc Audio driver 65 static const char *ak4535_mono_gain[] = {"+6dB", "-17dB"}; 66 static const char *ak4535_mono_out[] = {"(L + R)/2", "Hi-Z"}; 86 SOC_SINGLE("Mic Boost (+20dB) Switch", AK4535_MIC, 0, 1, 0), 97 SOC_SINGLE("AUX Bypass Volume", AK4535_VOL, 0, 15, 0), 111 SOC_DAPM_SINGLE("Aux Bypass Switch", AK4535_SIG2, 5, 1, 0), 195 {"Stereo Mixer", "Aux Bypass Switch", "AUX In"}, 251 struct snd_soc_component *component = codec_dai->component; in ak4535_set_dai_sysclk() 254 ak4535->sysclk = freq; in ak4535_set_dai_sysclk() [all …]
|
| H A D | wm8731.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8731.c -- WM8731 ALSA SoC Audio driver 6 * Copyright 2006-12 Wolfson Microelectronics, plc 76 if (wm8731->deemph) { in wm8731_set_deemph() 79 if (abs(wm8731_deemph[i] - wm8731->playback_fs) < in wm8731_set_deemph() 80 abs(wm8731_deemph[best] - wm8731->playback_fs)) in wm8731_set_deemph() 90 dev_dbg(component->dev, "Set deemphasis %d (%dHz)\n", in wm8731_set_deemph() 102 ucontrol->value.integer.value[0] = wm8731->deemph; in wm8731_get_deemph() 112 unsigned int deemph = ucontrol->value.integer.value[0]; in wm8731_put_deemph() 116 return -EINVAL; in wm8731_put_deemph() [all …]
|
| H A D | cs42l52.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs42l52.c -- CS42L52 ALSA SoC audio driver 29 #include <sound/soc-dapm.h> 43 /* MICA mode selection Differential or Single-ended */ 46 /* MICB mode selection Differential or Single-ended */ 89 { CS42L52_PASSTHRUA_VOL, 0x00 }, /* r14 Bypass A Vol */ 90 { CS42L52_PASSTHRUB_VOL, 0x00 }, /* r15 Bypass B Vol */ 147 static DECLARE_TLV_DB_SCALE(hl_tlv, -10200, 50, 0); 149 static DECLARE_TLV_DB_SCALE(hpd_tlv, -9600, 50, 1); 151 static DECLARE_TLV_DB_SCALE(ipd_tlv, -9600, 100, 0); [all …]
|
| /linux/Documentation/sound/designs/ |
| H A D | control-names.rst | 8 --------------- 18 Bypass Playback one direction 19 Bypass Capture one direction 68 Headset Mic mic part of combined headset jack - 4-pin 70 Headphone Mic mic part of either/or - 3-pin headphone or mic 79 Analog Loopback D/A -> A/D loopback 80 Digital Loopback playback -> capture loopback - 98 ----------------------- 106 Tone Control - Switch 107 Tone Control - Bass [all …]
|
| /linux/Documentation/admin-guide/pm/ |
| H A D | cpufreq.rst | 1 .. SPDX-License-Identifier: GPL-2.0 20 Operating Performance Points or P-states (in ACPI terminology). As a rule, 24 time (or the more power is drawn) by the CPU in the given P-state. Therefore 29 as possible and then there is no reason to use any P-states different from the 30 highest one (i.e. the highest-performance frequency/voltage configuration 38 put into different P-states. 41 capacity, so as to decide which P-states to put the CPUs into. Of course, since 64 information on the available P-states (or P-state ranges in some cases) and 65 access platform-specific hardware interfaces to change CPU P-states as requested 70 performance scaling algorithms for P-state selection can be represented in a [all …]
|
| /linux/Documentation/sound/cards/ |
| H A D | cmipci.rst | 2 Brief Notes on C-Media 8338/8738/8768/8770 Driver 8 Front/Rear Multi-channel Playback 9 --------------------------------- 13 DACs, both streams are handled independently unlike the 4/6ch multi- 22 - The first DAC supports U8 and S16LE formats, while the second DAC 24 - The second DAC supports only two channel stereo. 51 control switch in the driver "Line-In As Rear", which you can change 52 via alsamixer or somewhat else. When this switch is on, line-in jack 60 4/6 Multi-Channel Playback 61 -------------------------- [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | msm8992-lg-h815.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 8 /dts-v1/; 13 #include <dt-bindings/leds/common.h> 16 /delete-node/ &cont_splash_mem; 19 /delete-node/ &dfps_data_mem; 24 chassis-type = "handset"; 26 qcom,msm-id = <0xfb 0x0>; 27 qcom,pmic-id = <0x10009 0x1000a 0x0 0x0>; 28 qcom,board-id = <0xb64 0x0>; 31 /delete-node/ psci; [all …]
|
| H A D | msm8992-lg-bullhead.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2021-2022, Petr Vorel <petr.vorel@gmail.com> 9 /dts-v1/; 16 /delete-node/ &cont_splash_mem; 19 /delete-node/ &dfps_data_mem; 24 chassis-type = "handset"; 26 qcom,msm-id = <251 0>, <252 0>; 27 qcom,pmic-id = <0x10009 0x1000A 0x0 0x0>; 30 /delete-node/ psci; 37 stdout-path = "serial0:115200n8"; [all …]
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | pm8941.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 3 #include <dt-bindings/interrupt-controller/irq.h> 4 #include <dt-bindings/spmi/spmi.h> 8 thermal-zones { 9 pm8941-thermal { 10 polling-delay-passive = <100>; 11 polling-delay = <0>; 12 thermal-sensors = <&pm8941_temp>; 40 compatible = "qcom,pm8941", "qcom,spmi-pmic"; [all …]
|
| /linux/sound/usb/ |
| H A D | mixer_maps.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 41 USB_IN[1] --->FU[2]------------------------------+->MU[16]-->PU[17]-+->FU[18]--+->EU[27]--+->EU[21]… 43 USB_IN[3] -+->SU[5]-->FU[6]--+->MU[14] ->PU[15]->+ | | | … 45 Dig_IN[4] -+ | | | | +->FU[28]… 47 Lin-IN[7] -+-->FU[8]---------+ | | +-------------------… 49 Mic-IN[9] --+->FU[10]----------------------------+ | 51 || +----------------------------------------------------+ 53 …++--+->SU[11]-->FU[12] ---------------------------------------------------------------------------… 73 { 17, NULL, 1 }, /* DISABLED: PU-switch (any effect?) */ 75 { 18, "Tone Control - Bass", UAC_FU_BASS }, /* FU */ [all …]
|
| /linux/sound/isa/cs423x/ |
| H A D | cs4236_lib.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * ----- [all...] |
| /linux/arch/arm/mm/ |
| H A D | cache-b15-rac.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Broadcom Brahma-B15 CPU read-ahead cache management functions 5 * Copyright (C) 2015-2016 Broadcom 20 #include <asm/hardware/cache-b15-rac.h> 34 /* Brahma-B15 is a quad-core only design */ 36 /* Brahma-B53 is an octo-core design */ 40 /* Bitmask to enable instruction and data prefetching with a 256-bytes stride */ 47 /* Special state where we want to bypass the spinlock and call directly 59 * multi-platform kernels from crashing here as well. 128 /* The readahead cache present in the Brahma-B15 CPU is a special piece of [all …]
|
| /linux/sound/pci/ |
| H A D | ak4531_codec.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 37 idx, ak4531->regs[idx]); 62 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_info_single() 64 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_ak4531_info_single() 65 uinfo->count = 1; in snd_ak4531_info_single() 66 uinfo->valu in snd_ak4531_info_single() [all...] |