/kernel/linux/linux-5.10/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 pinctrl-0: 38 pinctrl-names: 43 pin-settings: 50 '-pins$': [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/pinctrl/cirrus/ |
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 31 { "aif2", cs47l15_aif2_pins, ARRAY_SIZE(cs47l15_aif2_pins) },
|
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 31 { "aif2", cs47l92_aif2_pins, ARRAY_SIZE(cs47l92_aif2_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 31 { "aif2", cs47l35_aif2_pins, ARRAY_SIZE(cs47l35_aif2_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 37 { "aif2", cs47l90_aif2_pins, ARRAY_SIZE(cs47l90_aif2_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 38 { "aif2", cs47l85_aif2_pins, ARRAY_SIZE(cs47l85_aif2_pins) },
|
D | pinctrl-lochnagar.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2017-2018 Cirrus Logic, Inc. and 21 #include <linux/pinctrl/pinconf-generic.h> 27 #include <dt-bindings/pinctrl/lochnagar.h> 29 #include "../pinctrl-utils.h" 33 #define LN_CDC_AIF1_STR "codec-aif1" 34 #define LN_CDC_AIF2_STR "codec-aif2" 35 #define LN_CDC_AIF3_STR "codec-aif3" 36 #define LN_DSP_AIF1_STR "dsp-aif1" 37 #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> 22 #include "../pinctrl-utils.h" 24 #include "pinctrl-madera.h" 28 * NOTE: IDs are zero-indexed for coding convenience 74 * All single-pin functions can be mapped to any GPIO, however pinmux applies 77 * that the functions can be described as applying to all pins. 78 * Since these do not correspond to anything in the actual hardware - they are 79 * merely an adaptation to pinctrl's view of the world - we use the same name [all …]
|
/kernel/linux/linux-5.10/sound/soc/samsung/ |
D | lowland.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 #include <sound/soc-dapm.h> 21 /* Headset jack detection DAPM pins */ 35 struct snd_soc_component *component = asoc_rtd_to_codec(rtd, 0)->component; in lowland_wm5100_init() 54 ret = snd_soc_card_jack_new(rtd->card, "Headset", SND_JACK_LINEOUT | in lowland_wm5100_init() 68 struct snd_soc_component *component = asoc_rtd_to_codec(rtd, 0)->component; in lowland_wm9081_init() 70 snd_soc_dapm_nc_pin(&rtd->card->dapm, "LINEOUT"); in lowland_wm9081_init() 86 DAILINK_COMP_ARRAY(COMP_CPU("samsung-i2s.0")), 87 DAILINK_COMP_ARRAY(COMP_CODEC("wm5100.1-001a", "wm5100-aif1")), 88 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 */ 114 if (speyside_jack_polarity && (strcmp(source->name, "MICB1") == 0)) in speyside_get_micbias() [all …]
|
/kernel/linux/linux-5.10/drivers/pinctrl/sunxi/ |
D | pinctrl-sun8i-a33.c | 6 * Based on pinctrl-sun8i-a23.c, which is: 7 * Copyright (C) 2014 Chen-Yu Tsai <wens@csie.org> 8 * Copyright (C) 2014 Maxime Ripard <maxime.ripard@free-electrons.com> 21 #include "pinctrl-sunxi.h" 51 SUNXI_FUNCTION(0x3, "aif2"), /* SYNC */ 57 SUNXI_FUNCTION(0x3, "aif2"), /* BCLK */ 63 SUNXI_FUNCTION(0x3, "aif2"), /* DOUT */ 69 SUNXI_FUNCTION(0x3, "aif2"), /* DIN */ 487 .pins = sun8i_a33_pins, 501 { .compatible = "allwinner,sun8i-a33-pinctrl", }, [all …]
|
D | pinctrl-sun50i-a64.c | 4 * Copyright (C) 2016 - ARM Ltd. 7 * Based on pinctrl-sun7i-a20.c, which is: 8 * Copyright (C) 2014 Maxime Ripard <maxime.ripard@free-electrons.com> 21 #include "pinctrl-sunxi.h" 55 SUNXI_FUNCTION(0x2, "aif2"), /* SYNC */ 62 SUNXI_FUNCTION(0x2, "aif2"), /* BCLK */ 69 SUNXI_FUNCTION(0x2, "aif2"), /* DOUT */ 76 SUNXI_FUNCTION(0x2, "aif2"), /* DIN */ 578 .pins = a64_pins, 590 { .compatible = "allwinner,sun50i-a64-pinctrl", }, [all …]
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
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 …]
|
D | rt5651.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5651.c -- RT5651 ALSA SoC audio codec driver 23 #include <sound/soc-dapm.h> 287 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 288 static const DECLARE_TLV_DB_MINMAX(dac_vol_tlv, -6562, 0); 289 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 290 static const DECLARE_TLV_DB_MINMAX(adc_vol_tlv, -1762, 3000); 369 * set_dmic_clk - Set parameter of dmic. 379 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() 383 rate = rt5651->sysclk / rl6231_get_pre_div(rt5651->regmap, in set_dmic_clk() [all …]
|
D | rt5640.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5640.c -- RT5640/RT5639 ALSA SoC audio codec driver 28 #include <sound/soc-dapm.h> 341 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 342 static const DECLARE_TLV_DB_MINMAX(dac_vol_tlv, -6562, 0); 343 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 344 static const DECLARE_TLV_DB_MINMAX(adc_vol_tlv, -1762, 3000); 452 * set_dmic_clk - Set parameter of dmic. 462 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() 466 rate = rt5640->sysclk / rl6231_get_pre_div(rt5640->regmap, in set_dmic_clk() [all …]
|
D | rt5677.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5677.c -- RT5677 ALSA SoC audio codec driver 31 #include <sound/soc-dapm.h> 37 #include "rt5677-spi.h" 554 * rt5677_dsp_mode_i2c_write_addr - Write value to address on DSP mode. 565 struct snd_soc_component *component = rt5677->component; in rt5677_dsp_mode_i2c_write_addr() 568 mutex_lock(&rt5677->dsp_cmd_lock); in rt5677_dsp_mode_i2c_write_addr() 570 ret = regmap_write(rt5677->regmap_physical, RT5677_DSP_I2C_ADDR_MSB, in rt5677_dsp_mode_i2c_write_addr() 573 dev_err(component->dev, "Failed to set addr msb value: %d\n", ret); in rt5677_dsp_mode_i2c_write_addr() 577 ret = regmap_write(rt5677->regmap_physical, RT5677_DSP_I2C_ADDR_LSB, in rt5677_dsp_mode_i2c_write_addr() [all …]
|