/linux-6.12.1/Documentation/devicetree/bindings/pinctrl/ |
D | cirrus,lochnagar.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 15 Logic devices on mini-cards, as well as allowing connection of various 26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt 29 [3] include/dt-bindings/pinctrl/lochnagar.h 37 - cirrus,lochnagar-pinctrl 39 gpio-controller: true 41 '#gpio-cells': [all …]
|
D | cirrus,madera.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 15 Certain groups of GPIO pins also have an alternate function, normally as an 30 Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt 33 pin-settings: 40 '-pins$': 43 - $ref: pincfg-node.yaml# 44 - $ref: pinmux-node.yaml# [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | cirrus,madera.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: Cirrus Logic Madera class audio CODECs Multi-Functional Device 10 - patches@opensource.cirrus.com 23 - $ref: /schemas/pinctrl/cirrus,madera.yaml# 24 - $ref: /schemas/regulator/wlf,arizona.yaml# 25 - $ref: /schemas/sound/cirrus,madera.yaml# 26 - if: 31 - cirrus,cs47l85 [all …]
|
D | cirrus,lochnagar.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 15 Logic devices on mini-cards, as well as allowing connection of 25 [2] include/dt-bindings/pinctrl/lochnagar.h 26 [3] include/dt-bindings/clock/lochnagar.h 28 And these documents for the required sub-node binding details: 35 - if: 39 - cirrus,lochnagar2 [all …]
|
/linux-6.12.1/sound/soc/samsung/ |
D | smdk_wm8994.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 * SMDKV310: CFG5-1000, CFG7-111111 15 * Configure audio route as :- 19 * $ amixer sset 'DAC1R Mixer AIF1.1' on 20 * $ amixer sset 'DAC1L Mixer AIF1.1' on 72 struct snd_soc_dapm_context *dapm = &rtd->card->dapm; in smdk_wm8994_init_paiftx() 74 /* Other pins NC */ in smdk_wm8994_init_paiftx() 93 SND_SOC_DAILINK_DEFS(aif1, 94 DAILINK_COMP_ARRAY(COMP_CPU("samsung-i2s.0")), 95 DAILINK_COMP_ARRAY(COMP_CODEC("wm8994-codec", "wm8994-aif1")), [all …]
|
D | lowland.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 #include <sound/soc-dapm.h> 21 /* Headset jack detection DAPM pins */ 39 struct snd_soc_component *component = snd_soc_rtd_to_codec(rtd, 0)->component; in lowland_wm5100_init() 58 ret = snd_soc_card_jack_new_pins(rtd->card, "Headset", in lowland_wm5100_init() 73 struct snd_soc_component *component = snd_soc_rtd_to_codec(rtd, 0)->component; in lowland_wm9081_init() 75 snd_soc_dapm_nc_pin(&rtd->card->dapm, "LINEOUT"); in lowland_wm9081_init() 91 DAILINK_COMP_ARRAY(COMP_CPU("samsung-i2s.0")), 92 DAILINK_COMP_ARRAY(COMP_CODEC("wm5100.1-001a", "wm5100-aif1")), 93 DAILINK_COMP_ARRAY(COMP_PLATFORM("samsung-i2s.0"))); [all …]
|
D | speyside.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 #include <sound/soc-dapm.h> 27 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[1]); in speyside_set_bias_level() 30 if (dapm->dev != codec_dai->dev) in speyside_set_bias_level() 63 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[1]); in speyside_set_bias_level_post() 66 if (dapm->dev != codec_dai->dev) in speyside_set_bias_level_post() 71 if (card->dapm.bias_level == SND_SOC_BIAS_STANDBY) { in speyside_set_bias_level_post() 93 card->dapm.bias_level = level; in speyside_set_bias_level_post() 100 /* Headset jack detection DAPM pins */ 128 /* Re-run DAPM to make sure we're using the correct mic bias */ in speyside_set_polarity() [all …]
|
D | midas_wm1811.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <linux/input-event-codes.h> 17 #include <sound/soc-dapm.h> 77 struct midas_priv *priv = snd_soc_card_get_drvdata(codec->card); in headset_jack_check() 81 if (!gpiod_get_value_cansleep(priv->gpio_headset_detect)) in headset_jack_check() 85 ret = snd_soc_dapm_force_enable_pin(dapm, "headset-mic-bias"); in headset_jack_check() 96 ret = iio_read_channel_processed(priv->adc_headset_detect, &adc); in headset_jack_check() 105 jack_type = snd_soc_jack_get_type(&priv->headset_jack, adc); in headset_jack_check() 108 ret = snd_soc_dapm_disable_pin(dapm, "headset-mic-bias"); in headset_jack_check() 120 struct midas_priv *priv = snd_soc_card_get_drvdata(codec->card); in headset_key_check() [all …]
|
/linux-6.12.1/drivers/pinctrl/cirrus/ |
D | pinctrl-cs47l92.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2018-2019 Cirrus Logic, Inc. and 12 #include "pinctrl-madera.h" 20 * the group names for that function's pins 22 * Note - all 1 less than in datasheet because these are zero-indexed 30 { "aif1", cs47l92_aif1_pins, ARRAY_SIZE(cs47l92_aif1_pins) },
|
D | pinctrl-cs47l15.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2018-2019 Cirrus Logic, Inc. and 12 #include "pinctrl-madera.h" 20 * the group names for that function's pins 22 * Note - all 1 less than in datasheet because these are zero-indexed 30 { "aif1", cs47l15_aif1_pins, ARRAY_SIZE(cs47l15_aif1_pins) },
|
D | pinctrl-cs47l35.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2016-2017 Cirrus Logic 11 #include "pinctrl-madera.h" 19 * the group names for that function's pins 21 * Note - all 1 less than in datasheet because these are zero-indexed 30 { "aif1", cs47l35_aif1_pins, ARRAY_SIZE(cs47l35_aif1_pins) },
|
D | pinctrl-cs47l90.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2016-2017 Cirrus Logic 11 #include "pinctrl-madera.h" 19 * the group names for that function's pins 21 * Note - all 1 less than in datasheet because these are zero-indexed 36 { "aif1", cs47l90_aif1_pins, ARRAY_SIZE(cs47l90_aif1_pins) },
|
D | pinctrl-cs47l85.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2016-2017 Cirrus Logic 11 #include "pinctrl-madera.h" 19 * the group names for that function's pins 21 * Note - all 1 less than in datasheet because these are zero-indexed 37 { "aif1", cs47l85_aif1_pins, ARRAY_SIZE(cs47l85_aif1_pins) },
|
D | pinctrl-lochnagar.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2017-2018 Cirrus Logic, Inc. and 20 #include <linux/pinctrl/pinconf-generic.h> 29 #include <dt-bindings/pinctrl/lochnagar.h> 31 #include "../pinctrl-utils.h" 35 #define LN_CDC_AIF1_STR "codec-aif1" 36 #define LN_CDC_AIF2_STR "codec-aif2" 37 #define LN_CDC_AIF3_STR "codec-aif3" 38 #define LN_DSP_AIF1_STR "dsp-aif1" 39 #define LN_DSP_AIF2_STR "dsp-aif2" [all …]
|
D | pinctrl-madera-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2016-2018 Cirrus Logic 17 #include <linux/pinctrl/pinconf-generic.h> 25 #include "../pinctrl-utils.h" 27 #include "pinctrl-madera.h" 31 * NOTE: IDs are zero-indexed for coding convenience 77 * All single-pin functions can be mapped to any GPIO, however pinmux applies 80 * that the functions can be described as applying to all pins. 81 * Since these do not correspond to anything in the actual hardware - they are 82 * merely an adaptation to pinctrl's view of the world - we use the same name [all …]
|
/linux-6.12.1/Documentation/sound/soc/ |
D | dapm.rst | 11 management frameworks and, as such, can easily co-exist with them. 32 The graph for the STM32MP1-DK1 sound card is shown in picture: 34 .. kernel-figure:: dapm-graph.svg 139 (Widgets are defined in include/sound/soc-dapm.h) 142 There are convenience macros defined in soc-dapm.h that can be used to quickly 150 --------------------- 174 SND_SOC_DAPM_AIF_IN("AIF1RX", "AIF1 Playback", 0, SND_SOC_NOPM, 0, 0), 175 SND_SOC_DAPM_AIF_OUT("AIF1TX", "AIF1 Capture", 0, SND_SOC_NOPM, 0, 0), 179 ------------------- 208 ---------------------- [all …]
|
/linux-6.12.1/sound/soc/codecs/ |
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 | wm8996.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm8996.c - WM8996 audio codec interface 5 * Copyright 2011-2 Wolfson Microelectronics PLC. 108 regcache_mark_dirty(wm8996->regmap); \ 299 static const DECLARE_TLV_DB_SCALE(sidetone_tlv, -3600, 150, 0); 300 static const DECLARE_TLV_DB_SCALE(digital_tlv, -7200, 75, 1); 301 static const DECLARE_TLV_DB_SCALE(out_digital_tlv, -1200, 150, 0); 302 static const DECLARE_TLV_DB_SCALE(out_tlv, -900, 75, 0); 303 static const DECLARE_TLV_DB_SCALE(spk_tlv, -900, 150, 0); 304 static const DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0); [all …]
|
/linux-6.12.1/sound/soc/intel/boards/ |
D | cht_bsw_rt5672.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cht_bsw_rt5672.c - ASoc Machine driver for Intel Cherryview-based platforms 21 #include <sound/soc-acpi.h> 23 #include "../atom/sst-atom-controls.h" 24 #include "../common/soc-intel-quirks.h" 29 #define CHT_CODEC_DAI "rt5670-aif1" 38 /* Headset jack detection DAPM pins */ 53 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control() 54 struct snd_soc_card *card = dapm->card; in platform_clock_control() 61 dev_err(card->dev, "Codec dai not found; Unable to set platform clock\n"); in platform_clock_control() [all …]
|
/linux-6.12.1/sound/soc/intel/avs/boards/ |
D | rt286.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // Copyright(c) 2021-2022 Intel Corporation 14 #include <sound/soc-acpi.h> 18 #define RT286_CODEC_DAI "rt286-aif1" 33 /* HP jack connectors - unknown if we have jack detect */ 54 struct snd_soc_card *card = runtime->card; in avs_rt286_codec_init() 55 struct snd_soc_jack_pin *pins; in avs_rt286_codec_init() local 62 pins = devm_kmemdup(card->dev, card_headset_pins, sizeof(*pins) * num_pins, GFP_KERNEL); in avs_rt286_codec_init() 63 if (!pins) in avs_rt286_codec_init() 64 return -ENOMEM; in avs_rt286_codec_init() [all …]
|
D | rt298.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // Copyright(c) 2021-2022 Intel Corporation 15 #include <sound/soc-acpi.h> 19 #define RT298_CODEC_DAI "rt298-aif1" 44 /* HP jack connectors - unknown if we have jack detect */ 65 struct snd_soc_card *card = runtime->card; in avs_rt298_codec_init() 66 struct snd_soc_jack_pin *pins; in avs_rt298_codec_init() local 73 pins = devm_kmemdup(card->dev, card_headset_pins, sizeof(*pins) * num_pins, GFP_KERNEL); in avs_rt298_codec_init() 74 if (!pins) in avs_rt298_codec_init() 75 return -ENOMEM; in avs_rt298_codec_init() [all …]
|
D | rt274.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // Copyright(c) 2021-2022 Intel Corporation 14 #include <sound/soc-acpi.h> 20 #define RT274_CODEC_DAI "rt274-aif1" 30 struct snd_soc_dapm_context *dapm = w->dapm; in avs_rt274_clock_control() 31 struct snd_soc_card *card = dapm->card; in avs_rt274_clock_control() 37 return -EINVAL; in avs_rt274_clock_control() 43 dev_err(codec_dai->dev, "set codec sysclk failed: %d\n", ret); in avs_rt274_clock_control() 55 dev_err(codec_dai->dev, "failed to enable PLL2: %d\n", ret); in avs_rt274_clock_control() 92 struct snd_soc_component *component = codec_dai->component; in avs_rt274_codec_init() [all …]
|
D | rt5682.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // Copyright(c) 2021-2022 Intel Corporation 21 #include <sound/soc-acpi.h> 22 #include "../../common/soc-intel-quirks.h" 30 #define AVS_RT5682_CODEC_DAI_NAME "rt5682-aif1" 37 avs_rt5682_quirk = (unsigned long)id->driver_data; in avs_rt5682_quirk_cb() 75 /* HP jack connectors - unknown if we have jack detect */ 96 struct snd_soc_component *component = snd_soc_rtd_to_codec(runtime, 0)->component; in avs_rt5682_codec_init() 97 struct snd_soc_card *card = runtime->card; in avs_rt5682_codec_init() 98 struct snd_soc_jack_pin *pins; in avs_rt5682_codec_init() local [all …]
|
/linux-6.12.1/sound/soc/mediatek/mt8195/ |
D | mt8195-mt6359.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * mt8195-mt6359.c -- 4 * MT8195-MT6359 ALSA SoC machine driver code 22 #include "../common/mtk-afe-platform-driver.h" 23 #include "../common/mtk-dsp-sof-common.h" 24 #include "../common/mtk-soc-card.h" 25 #include "../common/mtk-soundcard-driver.h" 26 #include "mt8195-afe-clk.h" 27 #include "mt8195-afe-common.h" 40 #define RT1011_CODEC_DAI "rt1011-aif" [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | sc7180-trogdor.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/gpio-keys.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 #include <dt-bindings/sound/sc7180-lpass.h> 16 #include "sc7180-firmware-tfa.dtsi" 22 thermal-zones { 23 charger_thermal: charger-thermal { [all …]
|