Home
last modified time | relevance | path

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

12

/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A 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 …]
H A 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 pin-settings:
40 '-pins$':
43 - $ref: pincfg-node.yaml#
44 - $ref: pinmux-node.yaml#
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A 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 …]
H A 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 …]
/openbmc/linux/sound/soc/samsung/
H A 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 …]
H A Dlowland.c1 // SPDX-License-Identifier: GPL-2.0+
8 #include <sound/soc-dapm.h>
21 /* Headset jack detection DAPM pins */
39 struct snd_soc_component *component = asoc_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 = asoc_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 …]
H A 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 …]
/openbmc/linux/Documentation/sound/soc/
H A 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 …]
/openbmc/linux/drivers/pinctrl/cirrus/
H A 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) },
H A 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) },
H A 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) },
H A 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) },
H A 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) },
H A Dpinctrl-lochnagar.c1 // 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 …]
H A 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>
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 …]
/openbmc/linux/sound/soc/codecs/
H A 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 …]
H A 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 …]
/openbmc/linux/sound/soc/intel/boards/
H A 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"
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 …]
H A 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 …]
H A 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_pins(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 …]
/openbmc/linux/sound/soc/intel/avs/boards/
H A Drt286.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // Copyright(c) 2021-2022 Intel Corporation. All rights reserved.
14 #include <sound/soc-acpi.h>
17 #define RT286_CODEC_DAI "rt286-aif1"
32 /* HP jack connectors - unknown if we have jack detect */
53 struct snd_soc_card *card = runtime->card; in avs_rt286_codec_init()
54 struct snd_soc_jack_pin *pins; in avs_rt286_codec_init() local
61 pins = devm_kmemdup(card->dev, card_headset_pins, sizeof(*pins) * num_pins, GFP_KERNEL); in avs_rt286_codec_init()
62 if (!pins) in avs_rt286_codec_init()
63 return -ENOMEM; in avs_rt286_codec_init()
[all …]
H A Drt274.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // Copyright(c) 2021-2022 Intel Corporation. All rights reserved.
14 #include <sound/soc-acpi.h>
19 #define RT274_CODEC_DAI "rt274-aif1"
29 struct snd_soc_dapm_context *dapm = w->dapm; in avs_rt274_clock_control()
30 struct snd_soc_card *card = dapm->card; in avs_rt274_clock_control()
36 return -EINVAL; in avs_rt274_clock_control()
42 dev_err(codec_dai->dev, "set codec sysclk failed: %d\n", ret); in avs_rt274_clock_control()
54 dev_err(codec_dai->dev, "failed to enable PLL2: %d\n", ret); in avs_rt274_clock_control()
91 struct snd_soc_component *component = codec_dai->component; in avs_rt274_codec_init()
[all …]
H A Drt298.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // Copyright(c) 2021-2022 Intel Corporation. All rights reserved.
15 #include <sound/soc-acpi.h>
18 #define RT298_CODEC_DAI "rt298-aif1"
43 /* HP jack connectors - unknown if we have jack detect */
64 struct snd_soc_card *card = runtime->card; in avs_rt298_codec_init()
65 struct snd_soc_jack_pin *pins; in avs_rt298_codec_init() local
72 pins = devm_kmemdup(card->dev, card_headset_pins, sizeof(*pins) * num_pins, GFP_KERNEL); in avs_rt298_codec_init()
73 if (!pins) in avs_rt298_codec_init()
74 return -ENOMEM; in avs_rt298_codec_init()
[all …]
H A Drt5682.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // Copyright(c) 2021-2022 Intel Corporation. All rights reserved.
21 #include <sound/soc-acpi.h>
22 #include "../../common/soc-intel-quirks.h"
29 #define AVS_RT5682_CODEC_DAI_NAME "rt5682-aif1"
36 avs_rt5682_quirk = (unsigned long)id->driver_data; in avs_rt5682_quirk_cb()
74 /* HP jack connectors - unknown if we have jack detect */
95 struct snd_soc_component *component = asoc_rtd_to_codec(runtime, 0)->component; in avs_rt5682_codec_init()
96 struct snd_soc_card *card = runtime->card; in avs_rt5682_codec_init()
97 struct snd_soc_jack_pin *pins; in avs_rt5682_codec_init() local
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dsun8i-a33.dtsi2 * Copyright 2014 Chen-Yu Tsai
4 * Chen-Yu Tsai <wens@csie.org>
6 * This file is dual-licensed: you can use it either under the terms
45 #include "sun8i-a23-a33.dtsi"
46 #include <dt-bindings/thermal/thermal.h>
50 compatible = "operating-points-v2";
51 opp-shared;
53 opp-120000000 {
54 opp-hz = /bits/ 64 <120000000>;
55 opp-microvolt = <1040000>;
[all …]

12