Home
last modified time | relevance | path

Searched +full:aif3 +full:- +full:pins (Results 1 – 17 of 17) sorted by relevance

/linux-6.12.1/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 pin-settings:
40 '-pins$':
43 - $ref: pincfg-node.yaml#
44 - $ref: pinmux-node.yaml#
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/drivers/pinctrl/cirrus/
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
32 { "aif3", cs47l92_aif3_pins, ARRAY_SIZE(cs47l92_aif3_pins) },
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
32 { "aif3", cs47l15_aif3_pins, ARRAY_SIZE(cs47l15_aif3_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
32 { "aif3", cs47l35_aif3_pins, ARRAY_SIZE(cs47l35_aif3_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
38 { "aif3", cs47l90_aif3_pins, ARRAY_SIZE(cs47l90_aif3_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
39 { "aif3", cs47l85_aif3_pins, ARRAY_SIZE(cs47l85_aif3_pins) },
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 …]
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 …]
/linux-6.12.1/sound/soc/samsung/
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 = 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 …]
Dmidas_wm1811.c1 // 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/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 …]
Drt5677.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rt5677.c -- RT5677 ALSA SoC audio codec driver
29 #include <sound/soc-dapm.h>
35 #include "rt5677-spi.h"
552 * rt5677_dsp_mode_i2c_write_addr - Write value to address on DSP mode.
563 struct snd_soc_component *component = rt5677->component; in rt5677_dsp_mode_i2c_write_addr()
566 mutex_lock(&rt5677->dsp_cmd_lock); in rt5677_dsp_mode_i2c_write_addr()
568 ret = regmap_write(rt5677->regmap_physical, RT5677_DSP_I2C_ADDR_MSB, in rt5677_dsp_mode_i2c_write_addr()
571 dev_err(component->dev, "Failed to set addr msb value: %d\n", ret); in rt5677_dsp_mode_i2c_write_addr()
575 ret = regmap_write(rt5677->regmap_physical, RT5677_DSP_I2C_ADDR_LSB, in rt5677_dsp_mode_i2c_write_addr()
[all …]
/linux-6.12.1/arch/arm64/boot/dts/allwinner/
Dsun50i-a64.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/clock/sun50i-a64-ccu.h>
7 #include <dt-bindings/clock/sun6i-rtc.h>
8 #include <dt-bindings/clock/sun8i-de2.h>
9 #include <dt-bindings/clock/sun8i-r-ccu.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/reset/sun50i-a64-ccu.h>
12 #include <dt-bindings/reset/sun8i-de2.h>
13 #include <dt-bindings/reset/sun8i-r-ccu.h>
14 #include <dt-bindings/thermal/thermal.h>
[all …]
/linux-6.12.1/drivers/pinctrl/sunxi/
Dpinctrl-sun50i-a64.c4 * 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>
20 #include "pinctrl-sunxi.h"
493 SUNXI_FUNCTION(0x2, "aif3"), /* SYNC */
499 SUNXI_FUNCTION(0x2, "aif3"), /* BCLK */
505 SUNXI_FUNCTION(0x2, "aif3"), /* DOUT */
511 SUNXI_FUNCTION(0x2, "aif3"), /* DIN */
577 .pins = a64_pins,
589 { .compatible = "allwinner,sun50i-a64-pinctrl", },
[all …]