| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | dialog,da7219.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Rau <David.Rau.opensource@dm.renesas.com> 13 The DA7219 is an ultra low-power audio codec with 14 in-built advanced accessory detection (AAD) for mobile 16 sample rates up to 96 kHz at 24-bit resolution. 28 VDD-supply: 32 VDDMIC-supply: 36 VDDIO-supply: [all …]
|
| D | simple-card.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/simple-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 14 frame-master: 15 description: Indicates dai-link frame master. 18 bitclock-master: 19 description: Indicates dai-link bit clock master 22 frame-inversion: [all …]
|
| D | cirrus,cs42l42.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 13 The CS42L42 is a low-power audio codec designed for portable applications. 14 It provides a high-dynamic range, stereo DAC for audio playback and a mono 15 high-dynamic-range ADC for audio capture. There is an integrated headset 21 - cirrus,cs42l42 22 - cirrus,cs42l83 29 VP-supply: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | da7219.txt | 8 - compatible : Should be "dlg,da7219" 9 - reg: Specifies the I2C slave address 11 - interrupts : IRQ line info for DA7219. 12 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for 15 - VDD-supply: VDD power supply for the device 16 - VDDMIC-supply: VDDMIC power supply for the device 17 - VDDIO-supply: VDDIO power supply for the device 22 - interrupt-names : Name associated with interrupt line. Should be "wakeup" if 24 - wakeup-source: Flag to indicate this device can wake system (suspend/resume). 26 - #clock-cells : Should be set to '<1>', two clock sources provided; [all …]
|
| D | simple-card.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/sound/simple-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 14 frame-master: 15 description: Indicates dai-link frame master. 16 $ref: /schemas/types.yaml#/definitions/phandle-array 19 bitclock-master: 20 description: Indicates dai-link bit clock master [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/mediatek/ |
| D | mt8183-kukui-audio-da7219.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 10 pinctrl-names = "default"; 11 pinctrl-0 = <&da7219_pins>; 14 interrupt-parent = <&pio>; 17 dlg,micbias-lvl = <2600>; 18 dlg,mic-amp-in-sel = "diff"; 19 VDD-supply = <&pp1800_alw>; 20 VDDMIC-supply = <&pp3300_alw>; 21 VDDIO-supply = <&pp1800_alw>; 26 dlg,adc-1bit-rpt = <1>; [all …]
|
| /kernel/linux/linux-6.6/sound/soc/intel/boards/ |
| D | kbl_rt5660.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright(c) 2018-19 Canonical Corporation. 19 #include <sound/jack.h> 27 #define KBL_RT5660_CODEC_DAI "rt5660-aif1" 64 { "lineout-mute-gpios", &lineout_mute_gpio, 1 }, 65 { "lineout-det-gpios", &lineout_det_gpio, 1 }, 66 { "mic-det-gpios", &mic_det_gpio, 1 }, 81 .name = "lineout-det", 87 .name = "mic-det", 95 struct snd_soc_dapm_context *dapm = w->dapm; in kabylake_5660_event_lineout() [all …]
|
| D | bdw-rt5677.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <sound/jack.h> 18 #include <sound/soc-acpi.h> 30 struct snd_soc_dapm_context *dapm = w->dapm; in bdw_rt5677_event_hp() 31 struct snd_soc_card *card = dapm->card; in bdw_rt5677_event_hp() 37 gpiod_set_value_cansleep(bdw_rt5677->gpio_hp_en, in bdw_rt5677_event_hp() 56 /* Headset jack connectors */ 104 .name = "plug-det", 110 .name = "mic-present", 130 { "plug-det-gpios", &plug_det_gpio, 1 }, [all …]
|
| /kernel/linux/linux-5.10/sound/soc/intel/boards/ |
| D | kbl_rt5660.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright(c) 2018-19 Canonical Corporation. 19 #include <sound/jack.h> 27 #define KBL_RT5660_CODEC_DAI "rt5660-aif1" 64 { "lineout-mute-gpios", &lineout_mute_gpio, 1 }, 65 { "lineout-det-gpios", &lineout_det_gpio, 1 }, 66 { "mic-det-gpios", &mic_det_gpio, 1 }, 81 .name = "lineout-det", 87 .name = "mic-det", 95 struct snd_soc_dapm_context *dapm = w->dapm; in kabylake_5660_event_lineout() [all …]
|
| D | bdw-rt5677.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <sound/jack.h> 18 #include <sound/soc-acpi.h> 30 struct snd_soc_dapm_context *dapm = w->dapm; in bdw_rt5677_event_hp() 31 struct snd_soc_card *card = dapm->card; in bdw_rt5677_event_hp() 37 gpiod_set_value_cansleep(bdw_rt5677->gpio_hp_en, in bdw_rt5677_event_hp() 56 /* Headset jack connectors */ 104 .name = "plug-det", 110 .name = "mic-present", 130 { "plug-det-gpios", &plug_det_gpio, 1 }, [all …]
|
| /kernel/linux/linux-5.10/sound/soc/generic/ |
| D | simple-card-utils.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // simple-card-utils.c 14 #include <sound/jack.h> 20 struct snd_interval *rate = hw_param_interval(params, in asoc_simple_convert_fixup() local 25 if (data->convert_rate) in asoc_simple_convert_fixup() 26 rate->min = in asoc_simple_convert_fixup() 27 rate->max = data->convert_rate; in asoc_simple_convert_fixup() 29 if (data->convert_channels) in asoc_simple_convert_fixup() 30 channels->min = in asoc_simple_convert_fixup() 31 channels->max = data->convert_channels; in asoc_simple_convert_fixup() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/fsl/ |
| D | fsl-asoc-card.c | 1 // SPDX-License-Identifier: GPL-2.0 18 #include <sound/jack.h> 23 #include "imx-audmux.h" 38 * struct codec_priv - CODEC private data 39 * @mclk_freq: Clock rate of MCLK 52 * struct cpu_priv - CPU private data 68 * struct fsl_asoc_card_priv - Freescale Generic ASOC card private data 70 * @hp_jack: Headphone Jack structure 71 * @mic_jack: Microphone Jack structure 77 * @sample_rate: Current sample rate [all …]
|
| /kernel/linux/linux-6.6/sound/soc/fsl/ |
| D | fsl-asoc-card.c | 1 // SPDX-License-Identifier: GPL-2.0 18 #include <sound/jack.h> 23 #include "imx-audmux.h" 32 #define DRIVER_NAME "fsl-asoc-card" 43 * struct codec_priv - CODEC private data 45 * @mclk_freq: Clock rate of MCLK 46 * @free_freq: Clock rate of MCLK for hw_free() 61 * struct cpu_priv - CPU private data 79 * struct fsl_asoc_card_priv - Freescale Generic ASOC card private data 81 * @hp_jack: Headphone Jack structure [all …]
|
| /kernel/linux/linux-6.6/sound/soc/tegra/ |
| D | tegra_asoc_machine.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * tegra_asoc_machine.c - Universal ASoC machine driver for NVIDIA Tegra boards. 16 #include <sound/jack.h> 23 /* Headphones Jack */ 38 /* Headset Jack */ 53 /* Mic Jack */ 58 /* Detect mic insertion only if 3.5 jack is in */ in coupled_mic_hp_check() 59 if (gpiod_get_value_cansleep(machine->gpiod_hp_det) && in coupled_mic_hp_check() 60 gpiod_get_value_cansleep(machine->gpiod_mic_det)) in coupled_mic_hp_check() 69 { .pin = "Mic Jack", .mask = SND_JACK_MICROPHONE }, [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | da7219-aad.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * da7219-aad.c - Dialog DA7219 ALSA SoC AAD Driver 20 #include <sound/jack.h> 24 #include "da7219-aad.h" 31 void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jack *jack) in da7219_aad_jack_det() argument 35 da7219->aad->jack = jack; in da7219_aad_jack_det() 36 da7219->aad->jack_inserted = false; in da7219_aad_jack_det() 39 snd_soc_jack_report(jack, 0, DA7219_AAD_REPORT_ALL_MASK); in da7219_aad_jack_det() 41 /* Enable/Disable jack detection */ in da7219_aad_jack_det() 44 (jack ? DA7219_ACCDET_EN_MASK : 0)); in da7219_aad_jack_det() [all …]
|
| D | 88pm860x-codec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * 88pm860x-codec.c -- 88PM860x ALSA SoC Audio Driver 23 #include <sound/jack.h> 26 #include "88pm860x-codec.h" 117 * This widget should be just after DAC & PGA in DAPM power-on sequence and 118 * before DAC & PGA in DAPM power-off sequence. 143 struct pm860x_det det; member 149 /* -9450dB to 0dB in 150dB steps ( mute instead of -9450dB) */ 150 static const DECLARE_TLV_DB_SCALE(dpga_tlv, -9450, 150, 1); 152 /* -9dB to 0db in 3dB steps */ [all …]
|
| D | wm8903.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8903.c -- WM8903 ALSA SoC Audio driver 5 * Copyright 2008-12 Wolfson Microelectronics 6 * Copyright 2011-2012 NVIDIA, Inc. 11 * - TDM mode configuration. 28 #include <sound/jack.h> 41 { 4, 0x0018 }, /* R4 - Bias Control 0 */ 42 { 5, 0x0000 }, /* R5 - VMID Control 0 */ 43 { 6, 0x0000 }, /* R6 - Mic Bias Control 0 */ 44 { 8, 0x0001 }, /* R8 - Analogue DAC 0 */ [all …]
|
| D | cs42l42.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs42l42.c -- CS42L42 ALSA SoC audio driver 32 #include <sound/soc-dapm.h> 35 #include <dt-bindings/sound/cs42l42.h> 403 static DECLARE_TLV_DB_SCALE(adc_tlv, -9700, 100, true); 404 static DECLARE_TLV_DB_SCALE(mixer_tlv, -6300, 100, true); 413 switch (ucontrol->value.integer.value[0]) { in cs42l42_slow_start_put() 421 return -EINVAL; in cs42l42_slow_start_put() 455 SOC_SINGLE_S8_TLV("ADC Volume", CS42L42_ADC_VOLUME, -97, 12, adc_tlv), 482 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs42l42_hp_adc_ev() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | da7219-aad.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * da7219-aad.c - Dialog DA7219 ALSA SoC AAD Driver 20 #include <sound/jack.h> 24 #include "da7219-aad.h" 31 void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jack *jack) in da7219_aad_jack_det() argument 35 da7219->aad->jack = jack; in da7219_aad_jack_det() 36 da7219->aad->jack_inserted = false; in da7219_aad_jack_det() 39 snd_soc_jack_report(jack, 0, DA7219_AAD_REPORT_ALL_MASK); in da7219_aad_jack_det() 41 /* Enable/Disable jack detection */ in da7219_aad_jack_det() 44 (jack ? DA7219_ACCDET_EN_MASK : 0)); in da7219_aad_jack_det() [all …]
|
| D | 88pm860x-codec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * 88pm860x-codec.c -- 88PM860x ALSA SoC Audio Driver 23 #include <sound/jack.h> 26 #include "88pm860x-codec.h" 117 * This widget should be just after DAC & PGA in DAPM power-on sequence and 118 * before DAC & PGA in DAPM power-off sequence. 143 struct pm860x_det det; member 149 /* -9450dB to 0dB in 150dB steps ( mute instead of -9450dB) */ 150 static const DECLARE_TLV_DB_SCALE(dpga_tlv, -9450, 150, 1); 152 /* -9dB to 0db in 3dB steps */ [all …]
|
| D | wm8903.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8903.c -- WM8903 ALSA SoC Audio driver 5 * Copyright 2008-12 Wolfson Microelectronics 6 * Copyright 2011-2012 NVIDIA, Inc. 11 * - TDM mode configuration. 12 * - Digital microphone support. 29 #include <sound/jack.h> 42 { 4, 0x0018 }, /* R4 - Bias Control 0 */ 43 { 5, 0x0000 }, /* R5 - VMID Control 0 */ 44 { 6, 0x0000 }, /* R6 - Mic Bias Control 0 */ [all …]
|
| /kernel/linux/linux-6.6/sound/soc/generic/ |
| D | simple-card-utils.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // simple-card-utils.c 13 #include <sound/jack.h> 35 if (!strcmp(data->convert_sample_format, in asoc_simple_fixup_sample_fmt() 53 /* sampling rate convert */ in asoc_simple_parse_convert() 54 snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-rate"); in asoc_simple_parse_convert() 55 of_property_read_u32(np, prop, &data->convert_rate); in asoc_simple_parse_convert() 58 snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-channels"); in asoc_simple_parse_convert() 59 of_property_read_u32(np, prop, &data->convert_channels); in asoc_simple_parse_convert() 62 snprintf(prop, sizeof(prop), "%s%s", prefix, "convert-sample-format"); in asoc_simple_parse_convert() [all …]
|
| /kernel/linux/linux-6.6/sound/pci/hda/ |
| D | patch_cs8409.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 struct cs8409_spec *spec = codec->spec; in cs8409_parse_auto_config() 28 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs8409_parse_auto_config() 32 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs8409_parse_auto_config() 37 if (spec->gen.dyn_adc_switch) { in cs8409_parse_auto_config() 40 for (i = 0; i < spec->gen.input_mux.num_items; i++) { in cs8409_parse_auto_config() 41 int idx = spec->gen.dyn_adc_idx[i]; in cs8409_parse_auto_config() 45 snd_hda_gen_fix_pin_power(codec, spec->gen.adc_nids[idx]); in cs8409_parse_auto_config() 62 codec->spec = spec; in cs8409_alloc_spec() 63 spec->codec = codec; in cs8409_alloc_spec() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nvidia/ |
| D | tegra20-asus-tf101.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/atmel-maxtouch.h> 5 #include <dt-bindings/input/gpio-keys.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/thermal/thermal.h> 10 #include "tegra20-cpu-opp.dtsi" 11 #include "tegra20-cpu-opp-microvolt.dtsi" 16 chassis-type = "convertible"; 33 * pre-existing /chosen node to be available to insert the [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | tegra30-cardhu.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 13 * use tegra30-cardhu-a02.dts, Cardhu fab version A04 and later, use 14 * tegra30-cardhu-a04.dts. 17 * The sticker will have number like 600-81291-1000-002 C.3. In this 4th 19 * The (downstream internal) U-Boot of Cardhu display the board-id as 40 stdout-path = "serial0:115200n8"; 51 avdd-pexb-supply = <&ldo1_reg>; 52 vdd-pexb-supply = <&ldo1_reg>; 53 avdd-pex-pll-supply = <&ldo1_reg>; [all …]
|