Home
last modified time | relevance | path

Searched +full:audio +full:- +full:widgets (Results 1 – 25 of 169) sorted by relevance

1234567

/Linux-v5.10/Documentation/sound/soc/
Ddapm.rst2 Dynamic Audio Power Management for Portable Devices
8 Dynamic Audio Power Management (DAPM) is designed to allow portable
9 Linux devices to use the minimum amount of power within the audio
11 such, can easily co-exist with the other PM systems.
16 switching decisions based upon any audio stream (capture/playback)
17 activity and audio mixer settings within the device.
20 audio subsystem, this includes internal codec power blocks and machine
26 VREF, VMID (core codec and audio power)
39 audio subsystem signal paths
50 All DAPM power switching decisions are made automatically by consulting an audio
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/sound/
Dwidgets.txt1 Widgets:
3 This mainly specifies audio off-codec DAPM widgets.
7 "template-wname", "user-supplied-wname"
9 The "template-wname" being the template widget name and currently includes:
12 The "user-supplied-wname" being the user specified widget name.
15 simple-audio-widgets =
Damlogic,axg-sound-card.txt5 - compatible: "amlogic,axg-sound-card"
6 - model : User specified audio sound card name, one string
10 - audio-aux-devs : List of phandles pointing to auxiliary devices
11 - audio-widgets : Please refer to widgets.txt.
12 - audio-routing : A list of the connections between audio components.
16 - dai-link: Container for dai-link level properties and the CODEC
17 sub-nodes. There should be at least one (and probably more)
20 Required dai-link properties:
22 - sound-dai: phandle and port of the CPU DAI.
24 Required TDM Backend dai-link properties:
[all …]
Dsimple-card.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/sound/simple-card.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Simple Audio Card Driver Device Tree Bindings
10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
14 frame-master:
15 description: Indicates dai-link frame master.
16 $ref: /schemas/types.yaml#/definitions/phandle-array
19 bitclock-master:
[all …]
Dsamsung,odroid.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung Exynos Odroid XU3/XU4 audio complex with MAX98090 codec
10 - Krzysztof Kozlowski <krzk@kernel.org>
11 - Sylwester Nawrocki <s.nawrocki@samsung.com>
16 - const: hardkernel,odroid-xu3-audio
18 - const: hardkernel,odroid-xu4-audio
21 - const: samsung,odroid-xu3-audio
24 - const: samsung,odroid-xu4-audio
[all …]
Damlogic,gx-sound-card.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/sound/amlogic,gx-sound-card.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jerome Brunet <jbrunet@baylibre.com>
15 - const: amlogic,gx-sound-card
17 audio-aux-devs:
18 $ref: /schemas/types.yaml#/definitions/phandle-array
21 audio-routing:
22 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
[all …]
/Linux-v5.10/Documentation/sound/hd-audio/
Drealtek-pc-beep.rst7 route audio between pins but aren't themselves exposed as HDA widgets. As far
9 for codecs that don't have mixer widgets in their output paths. Why it's easier
20 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
24 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
35 by h and S bits. Does not affect the level of 1Ah exposed to other widgets.
39 by h and S bits. Does not affect the level of 1Ah exposed to other widgets.
58 +--DIV--+--!DIV--+ {1Ah boost control}
60 +--(b == 0)--+--(b != 0)--+
70 +-----!h-----+-----S-----+
79 All Realtek HDA codecs have a vendor-defined widget with node ID 20h which
[all …]
/Linux-v5.10/sound/soc/
Dsoc-dapm.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-dapm.c -- ALSA SoC Dynamic Audio Power Management
10 // dynamic configuration of codec internal audio paths and active
12 // o Platform power domain - can support external components i.e. amps and
15 // o Jack insertion power event initiation - e.g. hp insertion will enable
17 // o Delayed power down of audio subsystem to reduce pops between a quick
42 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++;
65 /* dapm power sequences - make this per codec in the future */
150 if (dapm->card && dapm->card->instantiated) in dapm_assert_locked()
151 lockdep_assert_held(&dapm->card->dapm_mutex); in dapm_assert_locked()
[all …]
/Linux-v5.10/sound/soc/intel/boards/
Dbytcht_nocodec.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * bytcht_nocodec.c - ASoc Machine driver for MinnowBoard Max and Up
4 * to make I2S signals observable on the Low-Speed connector. Audio codec
7 * Copyright (C) 2015-2017 Intel Corp
18 #include "../atom/sst-atom-controls.h"
20 static const struct snd_soc_dapm_widget widgets[] = { variable
50 rate->min = rate->max = 48000; in codec_fixup()
51 channels->min = channels->max = 2; in codec_fixup()
53 /* set SSP2 to 24-bit */ in codec_fixup()
58 * with explicit setting to I2S 2ch 24-bit. The word length is set with in codec_fixup()
[all …]
Dbxt_da7219_max98357a.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Intel Broxton-P I2S Machine Driver
19 #include <sound/soc-acpi.h>
22 #include "../../codecs/da7219-aad.h"
23 #include "../common/soc-intel-quirks.h"
26 #define BXT_DIALOG_CODEC_DAI "da7219-hifi"
28 #define MAX98390_DEV0_NAME "i2c-MX98390:00"
29 #define MAX98390_DEV1_NAME "i2c-MX98390:01"
66 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
67 struct snd_soc_card *card = dapm->card; in platform_clock_control()
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Dam3517-evm-ui.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2018 Logic PD, Inc - https://www.logicpd.com/
6 #include <dt-bindings/input/input.h>
10 compatible = "simple-audio-card";
11 simple-audio-card,name = "tlv320aic23-hifi";
13 simple-audio-card,widgets =
18 simple-audio-card,routing =
25 simple-audio-card,format = "i2s";
26 simple-audio-card,bitclock-master = <&sound_master>;
27 simple-audio-card,frame-master = <&sound_master>;
[all …]
Dexynos5422-odroidxu3-audio.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Hardkernel Odroid XU3 audio subsystem device tree source
11 #include <dt-bindings/sound/samsung-i2s.h>
15 compatible = "samsung,odroid-xu3-audio";
16 model = "Odroid-XU3";
18 samsung,audio-widgets =
21 samsung,audio-routing =
33 sound-dai = <&i2s0 0>, <&i2s0 1>;
36 sound-dai = <&hdmi>, <&max98090>;
46 interrupt-parent = <&gpx3>;
[all …]
Dimx6qdl-phytec-pbab01.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/sound/fsl-imx-audmux.h>
10 stdout-path = &uart4;
15 compatible = "regulator-fixed";
17 regulator-name = "i2s-audio-1v8";
18 regulator-min-microvolt = <1800000>;
19 regulator-max-microvolt = <1800000>;
23 compatible = "regulator-fixed";
25 regulator-name = "i2s-audio-3v3";
26 regulator-min-microvolt = <3300000>;
[all …]
Dimx7d-zii-rpu2.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 * RPU - Remote Peripheral Unit
10 /dts-v1/;
11 #include <dt-bindings/thermal/thermal.h>
16 compatible = "zii,imx7d-rpu2", "fsl,imx7d";
19 stdout-path = &uart2;
23 compatible = "fixed-clock";
24 #clock-cells = <0>;
25 clock-frequency = <24576000>;
28 cs2000_in_dummy: dummy-oscillator {
[all …]
/Linux-v5.10/include/sound/
Dsoc-dapm.h1 /* SPDX-License-Identifier: GPL-2.0
3 * linux/sound/soc-dapm.h -- ALSA SoC Dynamic Audio Power Management
15 #include <sound/soc-topology.h>
23 #define SND_SOC_NOPM -1
26 * SoC dynamic audio power management
29 * 1. Codec domain - VREF, VMID
32 * 2. Platform/Machine domain - physically connected inputs and outputs
35 * 3. Path domain - Internal codec path mixers
38 * 4. Stream domain - DAC's and ADC's.
137 /* path domain with event - event handler must return 0 for success */
[all …]
/Linux-v5.10/sound/soc/samsung/
Dlowland.c1 // SPDX-License-Identifier: GPL-2.0+
3 // Lowland audio support
8 #include <sound/soc-dapm.h>
35 struct snd_soc_component *component = asoc_rtd_to_codec(rtd, 0)->component; in lowland_wm5100_init()
46 /* Clock OPCLK, used by the other audio components. */ 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")),
[all …]
Dtobermory.c1 // SPDX-License-Identifier: GPL-2.0+
3 // Tobermory audio support
8 #include <sound/soc-dapm.h>
25 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[0]); in tobermory_set_bias_level()
28 if (dapm->dev != codec_dai->dev) in tobermory_set_bias_level()
33 if (dapm->bias_level == SND_SOC_BIAS_STANDBY) { in tobermory_set_bias_level()
68 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[0]); in tobermory_set_bias_level_post()
71 if (dapm->dev != codec_dai->dev) in tobermory_set_bias_level_post()
95 dapm->bias_level = level; in tobermory_set_bias_level_post()
113 DAILINK_COMP_ARRAY(COMP_CPU("samsung-i2s.0")),
[all …]
Dodroid.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/clk-provider.h>
13 #include "i2s-regs.h"
28 struct snd_pcm_runtime *runtime = substream->runtime; in odroid_card_fe_startup()
39 struct odroid_priv *priv = snd_soc_card_get_drvdata(rtd->card); in odroid_card_fe_hw_params()
43 spin_lock_irqsave(&priv->lock, flags); in odroid_card_fe_hw_params()
44 if (priv->be_active && priv->be_sample_rate != params_rate(params)) in odroid_card_fe_hw_params()
45 ret = -EINVAL; in odroid_card_fe_hw_params()
46 spin_unlock_irqrestore(&priv->lock, flags); in odroid_card_fe_hw_params()
60 struct odroid_priv *priv = snd_soc_card_get_drvdata(rtd->card); in odroid_card_be_hw_params()
[all …]
Dspeyside.c1 // SPDX-License-Identifier: GPL-2.0+
3 // Speyside audio support
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()
114 if (speyside_jack_polarity && (strcmp(source->name, "MICB1") == 0)) in speyside_get_micbias()
[all …]
Dlittlemill.c1 // SPDX-License-Identifier: GPL-2.0+
3 // Littlemill audio support
8 #include <sound/soc-dapm.h>
25 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[0]); in littlemill_set_bias_level()
28 if (dapm->dev != aif1_dai->dev) in littlemill_set_bias_level()
37 if (dapm->bias_level == SND_SOC_BIAS_STANDBY) { in littlemill_set_bias_level()
72 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[0]); in littlemill_set_bias_level_post()
75 if (dapm->dev != aif1_dai->dev) in littlemill_set_bias_level_post()
99 dapm->bias_level = level; in littlemill_set_bias_level_post()
146 DAILINK_COMP_ARRAY(COMP_CPU("samsung-i2s.0")),
[all …]
/Linux-v5.10/drivers/staging/greybus/
Daudio_helper.c1 // SPDX-License-Identifier: GPL-2.0
3 * Greybus Audio Sound SoC helper APIs
9 #include <sound/soc-dapm.h>
21 struct snd_soc_dai *dai = dai_w->priv; in gbaudio_dapm_link_dai_widget()
23 /* ...find all widgets with the same stream and link them */ in gbaudio_dapm_link_dai_widget()
24 list_for_each_entry(w, &card->widgets, list) { in gbaudio_dapm_link_dai_widget()
25 if (w->dapm != dai_w->dapm) in gbaudio_dapm_link_dai_widget()
28 switch (w->id) { in gbaudio_dapm_link_dai_widget()
36 if (!w->sname || !strstr(w->sname, dai_w->sname)) in gbaudio_dapm_link_dai_widget()
41 * if (w->linked) in gbaudio_dapm_link_dai_widget()
[all …]
/Linux-v5.10/arch/arm64/boot/dts/freescale/
Dfsl-ls1012a-oxalis.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9 /dts-v1/;
11 #include "fsl-ls1012a.dtsi"
15 compatible = "ebs-systart,oxalis", "fsl,ls1012a";
17 sys_mclk: clock-mclk {
18 compatible = "fixed-clock";
19 #clock-cells = <0>;
20 clock-frequency = <25000000>;
23 reg_1p8v: regulator-1p8v {
24 compatible = "regulator-fixed";
[all …]
Dfsl-ls1012a-frdm.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include "fsl-ls1012a.dtsi"
14 compatible = "fsl,ls1012a-frdm", "fsl,ls1012a";
16 sys_mclk: clock-mclk {
17 compatible = "fixed-clock";
18 #clock-cells = <0>;
19 clock-frequency = <25000000>;
22 reg_1p8v: regulator-1p8v {
23 compatible = "regulator-fixed";
[all …]
Dfsl-ls1028a-kontron-sl28-var3-ads2.dts1 // SPDX-License-Identifier: GPL-2.0+
3 * Device Tree file for the Kontron SMARC-sAL28 board on a SMARC Eval 2.0
10 /dts-v1/;
11 #include "fsl-ls1028a-kontron-sl28.dts"
14 model = "Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier";
15 compatible = "kontron,sl28-var3-ads2", "kontron,sl28-var3",
18 pwm-fan {
19 compatible = "pwm-fan";
20 cooling-min-state = <0>;
21 cooling-max-state = <3>;
[all …]
/Linux-v5.10/sound/hda/
Dhdac_sysfs.c1 // SPDX-License-Identifier: GPL-2.0
3 * sysfs support for HD-audio core device
25 return sprintf(buf, "0x%x\n", codec->type); \
36 codec->type ? codec->type : ""); \
82 * /sys/bus/hdaudioC0D0/widgets/04/caps
98 struct device *dev = kobj_to_dev(kobj->parent->parent); in get_codec_nid()
102 ret = kstrtoint(kobj->name, 16, &nid); in get_codec_nid()
117 if (!wid_attr->show) in widget_attr_show()
118 return -EIO; in widget_attr_show()
122 return wid_attr->show(codec, nid, wid_attr, buf); in widget_attr_show()
[all …]

1234567