/linux-6.12.1/Documentation/devicetree/bindings/sound/ |
D | atmel,sama5d2-pdmic.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/sound/atmel,sama5d2-pdmic.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Claudiu Beznea <claudiu.beznea@microchip.com> 20 const: atmel,sama5d2-pdmic 30 - description: peripheral clock 31 - description: generated clock 33 clock-names: 35 - const: pclk [all …]
|
/linux-6.12.1/sound/soc/atmel/ |
D | atmel-pdmic.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 #include "atmel-pdmic.h" 40 .compatible = "atmel,sama5d2-pdmic", 52 struct device_node *np = dev->of_node; in atmel_pdmic_dt_init() 57 return ERR_PTR(-EINVAL); in atmel_pdmic_dt_init() 62 return ERR_PTR(-ENOMEM); in atmel_pdmic_dt_init() 64 if (of_property_read_string(np, "atmel,model", &pdata->card_name)) in atmel_pdmic_dt_init() 65 pdata->card_name = "PDMIC"; in atmel_pdmic_dt_init() 67 if (of_property_read_u32(np, "atmel,mic-min-freq", in atmel_pdmic_dt_init() 68 &pdata->mic_min_freq)) { in atmel_pdmic_dt_init() [all …]
|
/linux-6.12.1/arch/arm/boot/dts/samsung/ |
D | exynos4412-n710x.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 3 #include "exynos4412-midas.dtsi" 7 model = "Samsung Galaxy Note 2 (GT-N7100, GT-N7105) based on Exynos4412"; 8 chassis-type = "handset"; 17 cam_vdda_reg: voltage-regulator-10 { 18 compatible = "regulator-fixed"; 19 regulator-name = "CAM_SENSOR_CORE_1.2V"; 20 regulator-min-microvolt = <1200000>; 21 regulator-max-microvolt = <1200000>; [all …]
|
D | exynos4212-tab3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "exynos4412-ppmu-common.dtsi" 12 #include "exynos-mfc-reserved-memory.dtsi" 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/leds/common.h> 16 #include <dt-bindings/input/gpio-keys.h> 17 #include <dt-bindings/input/input.h> 18 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
/linux-6.12.1/sound/soc/codecs/ |
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), 87 SOC_ENUM("Mic Select", ak4535_enum[4]), 98 SOC_SINGLE("Mic Sidetone Volume", AK4535_VOL, 4, 7, 0), 103 SOC_DAPM_SINGLE("Mic Sidetone Switch", AK4535_SIG1, 4, 1, 0), 109 SOC_DAPM_SINGLE("Mic Sidetone Switch", AK4535_SIG2, 4, 1, 0), 116 SOC_DAPM_SINGLE("Mic Capture Switch", AK4535_MIC, 2, 1, 0), [all …]
|
D | es8311.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * es8311.c -- es8311 ALSA SoC audio driver 38 static const DECLARE_TLV_DB_SCALE(es8311_adc_vol_tlv, -9550, 50, 0); 68 0, 1, TLV_DB_SCALE_ITEM(-3010, 600, 0), 69 2, 3, TLV_DB_SCALE_ITEM(-2060, 250, 0), 70 4, 5, TLV_DB_SCALE_ITEM(-1610, 160, 0), 71 6, 7, TLV_DB_SCALE_ITEM(-1320, 120, 0), 72 8, 9, TLV_DB_SCALE_ITEM(-1100, 90, 0), 73 10, 11, TLV_DB_SCALE_ITEM(-930, 80, 0), 74 12, 15, TLV_DB_SCALE_ITEM(-780, 60, 0), [all …]
|
D | ml26124.c | 1 // SPDX-License-Identifier: GPL-2.0-only 53 static const DECLARE_TLV_DB_SCALE(digital_tlv, -7150, 50, 0); 55 static const DECLARE_TLV_DB_SCALE(alclvl, -2250, 150, 0); 56 static const DECLARE_TLV_DB_SCALE(mingain, -1200, 600, 0); 57 static const DECLARE_TLV_DB_SCALE(maxgain, -675, 600, 0); 58 static const DECLARE_TLV_DB_SCALE(boost_vol, -1200, 75, 0); 60 static const char * const ml26124_companding[] = {"16bit PCM", "u-law", 61 "A-law"}; 88 SOC_SINGLE_TLV("ALC Min Input Volume", ML26124_ALC_MAXMIN_GAIN, 0, 92 SOC_SINGLE_TLV("Playback Limiter Min Input Volume", [all …]
|
D | da7213.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 33 /* -54dB */ 34 0x0, 0x11, TLV_DB_SCALE_ITEM(-5400, 0, 0), 35 /* -52.5dB to 15dB */ 36 0x12, 0x3f, TLV_DB_SCALE_ITEM(-5250, 150, 0) 41 /* -78dB to 12dB */ 42 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0) 51 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0); 52 static const DECLARE_TLV_DB_SCALE(mixin_gain_tlv, -450, 150, 0); 53 static const DECLARE_TLV_DB_SCALE(eq_gain_tlv, -1050, 150, 0); [all …]
|
D | es8316.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * es8316.c -- es8316 ALSA SoC audio driver 6 * Authors: David Yang <yangxiaohua@everest-semi.com>, 21 #include <sound/soc-dapm.h> 50 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(dac_vol_tlv, -9600, 50, 1); 51 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(adc_vol_tlv, -9600, 50, 1); 52 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_max_gain_tlv, -650, 150, 0); 53 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_min_gain_tlv, -1200, 150, 0); 56 0, 10, TLV_DB_SCALE_ITEM(-1650, 150, 0), 57 11, 11, TLV_DB_SCALE_ITEM(-150, 0, 0), [all …]
|
D | da9055.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 58 /* Input - Gain, Select and Filter Registers */ 71 /* Output - Gain, Select and Filter Registers */ 218 /* MIC bias select bit fields */ 288 0x0, 0x10, TLV_DB_SCALE_ITEM(-5400, 0, 0), 289 /* -54dB to 15dB */ 290 0x11, 0x3f, TLV_DB_SCALE_ITEM(-5400, 150, 0) 295 /* -78dB to 12dB */ 296 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0) 305 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0); [all …]
|
D | da7219.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * da7219.c - DA7219 ALSA SoC Codec Driver 13 #include <linux/clk-provider.h> 26 #include <sound/soc-dapm.h> 33 #include "da7219-aad.h" 41 static const DECLARE_TLV_DB_SCALE(da7219_mic_gain_tlv, -600, 600, 0); 42 static const DECLARE_TLV_DB_SCALE(da7219_mixin_gain_tlv, -450, 150, 0); 43 static const DECLARE_TLV_DB_SCALE(da7219_adc_dig_gain_tlv, -8325, 75, 0); 44 static const DECLARE_TLV_DB_SCALE(da7219_alc_threshold_tlv, -9450, 150, 0); 47 static const DECLARE_TLV_DB_SCALE(da7219_sidetone_gain_tlv, -4200, 300, 0); [all …]
|
D | da7210.c | 1 // SPDX-License-Identifier: GPL-2.0+ 259 * min : 0x11 (-54.0 dB) 261 * reserved : 0x00 - 0x0F 267 /* -54 dB to +15 dB */ 268 0x11, 0x3f, TLV_DB_SCALE_ITEM(-5400, 150, 0) 273 /* -54dB to 15dB */ 274 0x11, 0x3f, TLV_DB_SCALE_ITEM(-5400, 150, 0) 278 0x0, 0x2, TLV_DB_SCALE_ITEM(-1800, 0, 1), 279 /* -18dB to 6dB */ 280 0x3, 0x7, TLV_DB_SCALE_ITEM(-1800, 600, 0) [all …]
|
D | tlv320aic23.c | 1 // SPDX-License-Identifier: GPL-2.0-only 61 static const char *rec_src_text[] = { "Line", "Mic" }; 73 static const DECLARE_TLV_DB_SCALE(out_gain_tlv, -12100, 100, 0); 74 static const DECLARE_TLV_DB_SCALE(input_gain_tlv, -1725, 75, 0); 75 static const DECLARE_TLV_DB_SCALE(sidetone_vol_tlv, -1800, 300, 0); 83 val = (ucontrol->value.integer.value[0] & 0x07); in snd_soc_tlv320aic23_put_volsw() 86 * 000 = -6db in snd_soc_tlv320aic23_put_volsw() 87 * 001 = -9db in snd_soc_tlv320aic23_put_volsw() 88 * 010 = -12db in snd_soc_tlv320aic23_put_volsw() 89 * 011 = -18db (Min) in snd_soc_tlv320aic23_put_volsw() [all …]
|
D | ak4619.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ak4619.c -- Asahi Kasei ALSA SoC Audio driver 33 #define MIC_AMP1 0x04 /* MIC AMP Gain 1 */ 34 #define MIC_AMP2 0x05 /* MIC AMP Gain 2 */ 47 #define DAC_DEMP 0x13 /* DAC De-Emphasis Setting */ 86 /* MIC AMP Gain */ 126 /* DAC De-Emphasis Setting */ 165 * min : 0xFE : -115.0 dB 168 static const DECLARE_TLV_DB_SCALE(dac_tlv, -11550, 50, 1); 171 * MIC Volume [all …]
|
D | ak4642.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // ak4642.c -- AK4642/AK4643 ALSA Soc Audio driver 23 #include <linux/clk-provider.h> 77 #define PMMIN (1 << 5) /* MIN Input Power Management */ 79 #define PMADL (1 << 0) /* MIC Amp Lch and ADC Lch Power Management */ 93 #define PMADR (1 << 0) /* MIC L / ADC R Power Management */ 96 #define MINS (1 << 6) /* Switch from MIN to Speaker */ 99 #define MGAIN0 (1 << 0) /* MIC amp gain*/ 102 #define LOPS (1 << 6) /* Stero Line-out Power Save Mode */ 153 * min : 0xFE : -115.0 dB [all …]
|
D | da7218.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * da7218.c - DA7218 ALSA SoC Codec Driver 22 #include <sound/soc-dapm.h> 37 static const DECLARE_TLV_DB_SCALE(da7218_mic_gain_tlv, -600, 600, 0); 38 static const DECLARE_TLV_DB_SCALE(da7218_mixin_gain_tlv, -450, 150, 0); 39 static const DECLARE_TLV_DB_SCALE(da7218_in_dig_gain_tlv, -8325, 75, 0); 40 static const DECLARE_TLV_DB_SCALE(da7218_ags_trigger_tlv, -9000, 600, 0); 42 static const DECLARE_TLV_DB_SCALE(da7218_alc_threshold_tlv, -9450, 150, 0); 47 static const DECLARE_TLV_DB_SCALE(da7218_dmix_gain_tlv, -4200, 150, 0); 50 static const DECLARE_TLV_DB_SCALE(da7218_dgs_trigger_tlv, -9450, 150, 0); [all …]
|
/linux-6.12.1/sound/soc/intel/boards/ |
D | bdw-rt5650.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <sound/soc-acpi.h> 29 SND_SOC_DAPM_MIC("Headset Mic", NULL), 42 {"IN1P", NULL, "Headset Mic"}, 43 {"IN1N", NULL, "Headset Mic"}, 64 SOC_DAPM_PIN_SWITCH("Headset Mic"), 79 .pin = "Headset Mic", 91 /* The ADSP will convert the FE rate to 48k, max 4-channels */ in broadwell_ssp0_fixup() 92 rate->min = rate->max = 48000; in broadwell_ssp0_fixup() 93 chan->min = 2; in broadwell_ssp0_fixup() [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/rockchip/ |
D | rk3399-gru.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2016-2017 Google, Inc 8 #include <dt-bindings/input/input.h> 9 #include "rk3399-op1.dtsi" 18 stdout-path = "serial2:115200n8"; 27 * - Rails that only connect to the EC (or devices that the EC talks to) 29 * - Rails _are_ included if the rails go to the AP even if the AP 38 * - The EC controls the enable and the EC always enables a rail as 40 * - The rails are actually connected to each other by a jumper and 45 ppvar_sys: ppvar-sys { [all …]
|
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/ |
D | imx6ul-isiot.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 18 stdout-path = &uart1; 22 compatible = "pwm-backlight"; 24 brightness-levels = < 0 1 2 3 4 5 6 7 8 9 35 default-brightness-level = <100>; 38 reg_1p8v: regulator-1p8v { 39 compatible = "regulator-fixed"; 40 regulator-name = "1P8V"; [all …]
|
D | imx6q-novena.dts | 2 * Copyright 2015 Sutajio Ko-Usagi PTE LTD 4 * This file is dual-licensed: you can use it either under the terms 22 * MA 02110-1301 USA 49 /dts-v1/; 51 #include <dt-bindings/gpio/gpio.h> 52 #include <dt-bindings/input/input.h> 56 compatible = "kosagi,imx6q-novena", "fsl,imx6q"; 65 stdout-path = &uart2; 69 compatible = "pwm-backlight"; 71 pinctrl-names = "default"; [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | sdm845-xiaomi-beryllium-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include <dt-bindings/leds/common.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 8 #include <dt-bindings/sound/qcom,q6afe.h> 9 #include <dt-bindings/sound/qcom,q6asm.h> 11 #include "sdm845-wcd9340.dtsi" 19 /delete-node/ &tz_mem; 20 /delete-node/ &adsp_mem; [all …]
|
/linux-6.12.1/arch/arm/boot/dts/ti/omap/ |
D | omap4-duovero.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include "omap4-mcpdm.dtsi" 11 compatible = "gumstix,omap4-duovero", "ti,omap4430", "ti,omap4"; 14 stdout-path = &uart3; 23 compatible = "ti,abe-twl6040"; 26 ti,mclk-freq = <38400000>; 33 ti,audio-routing = 36 "HSMIC", "Headset Mic", 37 "Headset Mic", "Headset Mic Bias"; 42 compatible = "usb-nop-xceiv"; [all …]
|
D | omap4-sdp.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 9 #include "omap4-mcpdm.dtsi" 13 compatible = "ti,omap4-sdp", "ti,omap4430", "ti,omap4"; 26 vdd_eth: fixedregulator-vdd-eth { 27 pinctrl-names = "default"; 28 pinctrl-0 = <&enet_enable_gpio>; 30 compatible = "regulator-fixed"; 31 regulator-name = "VDD_ETH"; [all …]
|
D | omap5-board-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 15 stdout-path = &uart3; 18 vmain: fixedregulator-vmain { 19 compatible = "regulator-fixed"; 20 regulator-name = "vmain"; 21 regulator-min-microvolt = <5000000>; 22 regulator-max-microvolt = <5000000>; [all …]
|
/linux-6.12.1/sound/pci/pcxhr/ |
D | pcxhr_mix22.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 36 #define PCXHR_INPB(mgr, x) inb((mgr)->port[PCXHR_DSP] + (x)) 37 #define PCXHR_OUTPB(mgr, x, data) outb((data), (mgr)->port[PCXHR_DSP] + (x)) 72 /* values for PCHR_XLX_STATUS register - READ */ 78 /* values for PCHR_XLX_STATUS register - WRITE */ 96 /* values for PCXHR_XLX_SELMIC register - WRITE */ 103 0x00, /* [000] -49.5 dB: AKM[000] = -1.#INF dB (mute) */ 104 0x01, /* [001] -49.0 dB: AKM[001] = -48.131 dB (diff=0.86920 dB) */ 105 0x01, /* [002] -48.5 dB: AKM[001] = -48.131 dB (diff=0.36920 dB) */ 106 0x01, /* [003] -48.0 dB: AKM[001] = -48.131 dB (diff=0.13080 dB) */ [all …]
|