Home
last modified time | relevance | path

Searched +full:aif1 +full:- +full:pins (Results 1 – 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dcirrus,lochnagar.yaml1 # 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 …]
Dcirrus,madera.yaml1 # 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/
Dcirrus,madera.yaml1 # 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 …]
Dcirrus,lochnagar.yaml1 # 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 …]
/kernel/linux/linux-5.10/sound/soc/samsung/
Dsmdk_wm8994.c1 // SPDX-License-Identifier: GPL-2.0+
12 * SMDKV310: CFG5-1000, CFG7-111111
16 * Configure audio route as :-
20 * $ amixer sset 'DAC1R Mixer AIF1.1' on
21 * $ amixer sset 'DAC1L Mixer AIF1.1' on
82 struct snd_soc_dapm_context *dapm = &rtd->card->dapm; in smdk_wm8994_init_paiftx()
84 /* Other pins NC */ in smdk_wm8994_init_paiftx()
103 SND_SOC_DAILINK_DEFS(aif1,
104 DAILINK_COMP_ARRAY(COMP_CPU("samsung-i2s.0")),
105 DAILINK_COMP_ARRAY(COMP_CODEC("wm8994-codec", "wm8994-aif1")),
[all …]
Dlowland.c1 // 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 …]
Dspeyside.c1 // 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/Documentation/sound/soc/
Ddapm.rst11 such, can easily co-exist with the other PM systems.
60 Audio DAPM widgets fall into a number of types:-
127 (Widgets are defined in include/sound/soc-dapm.h)
130 There are convenience macros defined in soc-dapm.h that can be used to quickly
138 ---------------------
144 Stream widgets have the following format:-
162 SND_SOC_DAPM_AIF_IN("AIF1RX", "AIF1 Playback", 0, SND_SOC_NOPM, 0, 0),
163 SND_SOC_DAPM_AIF_OUT("AIF1TX", "AIF1 Capture", 0, SND_SOC_NOPM, 0, 0),
167 -------------------
170 audio paths within the audio subsystem. They have the following form:-
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/cirrus/
Dpinctrl-cs47l15.c1 // 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) },
Dpinctrl-cs47l92.c1 // 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) },
Dpinctrl-cs47l35.c1 // 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) },
Dpinctrl-cs47l90.c1 // 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) },
Dpinctrl-cs47l85.c1 // 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) },
Dpinctrl-lochnagar.c1 // 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 …]
Dpinctrl-madera-core.c1 // 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/Documentation/devicetree/bindings/sound/
Dnvidia,tegra-audio-rt5640.txt4 - compatible : "nvidia,tegra-audio-rt5640"
5 - clocks : Must contain an entry for each entry in clock-names.
6 See ../clocks/clock-bindings.txt for details.
7 - clock-names : Must include the following entries:
8 - pll_a
9 - pll_a_out0
10 - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
11 - nvidia,model : The user-visible name of this sound complex.
12 - nvidia,audio-routing : A list of the connections between audio components.
15 sinks are the RT5640's pins (as documented in its binding), and the jacks
[all …]
Dnvidia,tegra-audio-rt5677.txt4 - compatible : "nvidia,tegra-audio-rt5677"
5 - clocks : Must contain an entry for each entry in clock-names.
6 See ../clocks/clock-bindings.txt for details.
7 - clock-names : Must include the following entries:
8 - pll_a
9 - pll_a_out0
10 - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk)
11 - nvidia,model : The user-visible name of this sound complex.
12 - nvidia,audio-routing : A list of the connections between audio components.
15 sinks are the RT5677's pins (as documented in its binding), and the jacks
[all …]
/kernel/linux/linux-5.10/sound/soc/intel/boards/
Dbroadwell.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <sound/soc-acpi.h>
20 /* Headset jack detection DAPM pins */
52 /* HP jack connectors - unknown if we have jack deteck */
64 {"SSP0 CODEC IN", NULL, "AIF1 Capture"},
65 {"AIF1 Playback", NULL, "SSP0 CODEC OUT"},
70 struct snd_soc_component *component = asoc_rtd_to_codec(rtd, 0)->component; in broadwell_rt286_codec_init()
72 ret = snd_soc_card_jack_new(rtd->card, "Headset", in broadwell_rt286_codec_init()
92 rate->min = rate->max = 48000; in broadwell_ssp0_fixup()
93 chan->min = chan->max = 2; in broadwell_ssp0_fixup()
[all …]
Dbxt_rt298.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Intel Broxton-P I2S Machine Driver
5 * Copyright (C) 2014-2016, Intel Corporation. All rights reserved.
16 #include <sound/soc-acpi.h>
23 /* Headset jack detection DAPM pins */
81 /* HP jack connectors - unknown if we have jack detect */
91 {"HDMI1", NULL, "hif5-0 Output"},
92 {"HDMI2", NULL, "hif6-0 Output"},
93 {"HDMI2", NULL, "hif7-0 Output"},
96 { "AIF1 Playback", NULL, "ssp5 Tx"},
[all …]
Dcht_bsw_rt5672.c1 // 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"
28 #define CHT_CODEC_DAI "rt5670-aif1"
36 /* Headset jack detection DAPM pins */
51 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
52 struct snd_soc_card *card = dapm->card; in platform_clock_control()
59 dev_err(card->dev, "Codec dai not found; Unable to set platform clock\n"); in platform_clock_control()
60 return -EIO; in platform_clock_control()
[all …]
Dskl_rt286.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2014-2015, Intel Corporation. All rights reserved.
47 /* Headset jack detection DAPM pins */
81 /* HP jack connectors - unknown if we have jack deteck */
92 { "AIF1 Playback", NULL, "ssp0 Tx"},
98 { "ssp0 Rx", NULL, "AIF1 Capture" },
115 struct snd_soc_component *component = asoc_rtd_to_cpu(rtd, 0)->component; in skylake_rt286_fe_init()
125 struct snd_soc_component *component = asoc_rtd_to_codec(rtd, 0)->component; in skylake_rt286_codec_init()
128 ret = snd_soc_card_jack_new(rtd->card, "Headset", in skylake_rt286_codec_init()
138 snd_soc_dapm_ignore_suspend(&rtd->card->dapm, "SoC DMIC"); in skylake_rt286_codec_init()
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dwm8900.c1 // 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 …]
Dwm8996.c1 // 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 …]
Drt5651.c1 // 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 …]
/kernel/linux/linux-5.10/sound/soc/rockchip/
Drk3399_gru_sound.c1 // SPDX-License-Identifier: GPL-2.0-only
24 #include "../codecs/da7219-aad.h"
27 #define DRV_NAME "rk3399-gru-sound"
35 /* Headset jack detection DAPM pins */
75 dev_err(rtd->card->dev, "%s() error setting sysclk to %u: %d\n", in rockchip_sound_max98357a_hw_params()
97 dev_err(rtd->card->dev, "Can't set cpu clock out %d\n", ret); in rockchip_sound_rt5514_hw_params()
104 dev_err(rtd->card->dev, "%s() error setting sysclk to %u: %d\n", in rockchip_sound_rt5514_hw_params()
141 return -EINVAL; in rockchip_sound_da7219_hw_params()
147 dev_err(codec_dai->dev, "Can't set cpu clock out %d\n", ret); in rockchip_sound_da7219_hw_params()
154 dev_err(codec_dai->dev, "Can't set codec clock in %d\n", ret); in rockchip_sound_da7219_hw_params()
[all …]

12