Home
last modified time | relevance | path

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

12345678910>>...12

/linux-6.14.4/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 management frameworks and, as such, can easily co-exist with them.
16 switching decisions based upon any audio stream (capture/playback)
17 activity and audio mixer settings within the device.
19 DAPM is based on two basic elements, called widgets and routes:
21 * a **widget** is every part of the audio hardware that can be enabled by
23 * a **route** is an interconnection between widgets that exists when sound
27 audio routing graph. This graph is specific to each sound card and spans
[all …]
/linux-6.14.4/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 =
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
10 - Kuninori Morimoto <[email protected]>
14 frame-master:
15 description: Indicates dai-link frame master.
18 bitclock-master:
19 description: Indicates dai-link bit clock 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 <[email protected]>
11 - Sylwester Nawrocki <[email protected]>
14 - $ref: sound-card-common.yaml#
19 - const: hardkernel,odroid-xu3-audio
21 - const: hardkernel,odroid-xu4-audio
24 - const: samsung,odroid-xu3-audio
[all …]
Dsound-card-common.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/sound-card-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Mark Brown <[email protected]>
13 audio-routing:
14 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
16 A list of the connections between audio components. Each entry is a
20 ignore-suspend-widgets:
21 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
[all …]
Daudio-graph.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/audio-graph.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Audio Graph
10 - Kuninori Morimoto <[email protected]>
13 - $ref: /schemas/sound/dai-params.yaml#
17 $ref: /schemas/types.yaml#/definitions/phandle-array
25 A list of the connections between audio components.
28 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
[all …]
Dqcom,apq8016-sbc-sndcard.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/sound/qcom,apq8016-sbc-sndcard.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Srinivas Kandagatla <[email protected]>
11 - Stephan Gerhold <[email protected]>
16 - qcom,apq8016-sbc-sndcard
17 - qcom,msm8916-qdsp6-sndcard
21 - description: Microphone I/O mux register address
22 - description: Speaker I/O mux register address
[all …]
Damlogic,axg-sound-card.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/amlogic,axg-sound-card.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jerome Brunet <[email protected]>
13 - $ref: sound-card-common.yaml#
17 const: amlogic,axg-sound-card
19 audio-aux-devs:
20 $ref: /schemas/types.yaml#/definitions/phandle-array
23 audio-widgets:
[all …]
/linux-6.14.4/sound/soc/fsl/
Dimx-rpmsg.c1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright 2017-2020 NXP
14 #include <sound/soc-dapm.h>
15 #include "imx-pcm-rpmsg.h"
36 struct snd_soc_pcm_runtime *rtd = list_first_entry(&card->rtd_list, in imx_rpmsg_late_probe()
39 struct device *dev = card->dev; in imx_rpmsg_late_probe()
42 if (data->lpa) { in imx_rpmsg_late_probe()
48 codec_np = data->dai.codecs->of_node; in imx_rpmsg_late_probe()
55 codec_dev = &codec_i2c->dev; in imx_rpmsg_late_probe()
59 codec_dev = &codec_pdev->dev; in imx_rpmsg_late_probe()
[all …]
/linux-6.14.4/sound/soc/codecs/
Daudio-iio-aux.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // ALSA SoC glue to use IIO devices as audio components
37 struct audio_iio_aux_chan *chan = (struct audio_iio_aux_chan *)kcontrol->private_value; in audio_iio_aux_info_volsw()
39 uinfo->count = 1; in audio_iio_aux_info_volsw()
40 uinfo->value.integer.min = 0; in audio_iio_aux_info_volsw()
41 uinfo->value.integer.max = chan->max - chan->min; in audio_iio_aux_info_volsw()
42 uinfo->type = (uinfo->value.integer.max == 1) ? in audio_iio_aux_info_volsw()
50 struct audio_iio_aux_chan *chan = (struct audio_iio_aux_chan *)kcontrol->private_value; in audio_iio_aux_get_volsw()
51 int max = chan->max; in audio_iio_aux_get_volsw()
52 int min = chan->min; in audio_iio_aux_get_volsw()
[all …]
/linux-6.14.4/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-6.14.4/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 …]
/linux-6.14.4/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
43 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++;
68 /* dapm power sequences - make this per codec in the future */
153 if (snd_soc_card_is_instantiated(dapm->card)) in dapm_assert_locked()
186 return !list_empty(&w->dirty); in dapm_dirty_widget()
[all …]
/linux-6.14.4/arch/arm64/boot/dts/freescale/
Dimx8mq-zii-ultra-rmb3.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
8 #include "imx8mq-zii-ultra.dtsi"
12 compatible = "zii,imx8mq-ultra-rmb3", "zii,imx8mq-ultra", "fsl,imx8mq";
15 compatible = "simple-audio-card";
16 simple-audio-card,name = "front";
17 simple-audio-card,format = "i2s";
18 simple-audio-card,bitclock-master = <&sound1_codec>;
19 simple-audio-card,frame-master = <&sound1_codec>;
20 simple-audio-card,widgets =
[all …]
Dimx8mq-zii-ultra-zest.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 /dts-v1/;
8 #include "imx8mq-zii-ultra.dtsi"
12 compatible = "zii,imx8mq-ultra-zest", "zii,imx8mq-ultra", "fsl,imx8mq";
15 compatible = "simple-audio-card";
16 simple-audio-card,name = "front";
17 simple-audio-card,format = "i2s";
18 simple-audio-card,bitclock-master = <&sound_codec>;
19 simple-audio-card,frame-master = <&sound_codec>;
20 simple-audio-card,widgets =
[all …]
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 …]
/linux-6.14.4/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>
24 #define SND_SOC_NOPM -1
27 * SoC dynamic audio power management
30 * 1. Codec domain - VREF, VMID
33 * 2. Platform/Machine domain - physically connected inputs and outputs
36 * 3. Path domain - Internal codec path mixers
39 * 4. Stream domain - DAC's and ADC's.
158 /* path domain with event - event handler must return 0 for success */
[all …]
/linux-6.14.4/arch/arm/boot/dts/ti/omap/
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 …]
/linux-6.14.4/sound/soc/samsung/
Dlowland.c1 // SPDX-License-Identifier: GPL-2.0+
3 // Lowland audio support
8 #include <sound/soc-dapm.h>
39 struct snd_soc_component *component = snd_soc_rtd_to_codec(rtd, 0)->component; in lowland_wm5100_init()
50 /* Clock OPCLK, used by the other audio components. */ 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")),
[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>
12 #include "i2s-regs.h"
27 struct snd_pcm_runtime *runtime = substream->runtime; in odroid_card_fe_startup()
38 struct odroid_priv *priv = snd_soc_card_get_drvdata(rtd->card); in odroid_card_fe_hw_params()
42 spin_lock_irqsave(&priv->lock, flags); in odroid_card_fe_hw_params()
43 if (priv->be_active && priv->be_sample_rate != params_rate(params)) in odroid_card_fe_hw_params()
44 ret = -EINVAL; in odroid_card_fe_hw_params()
45 spin_unlock_irqrestore(&priv->lock, flags); in odroid_card_fe_hw_params()
59 struct odroid_priv *priv = snd_soc_card_get_drvdata(rtd->card); in odroid_card_be_hw_params()
[all …]
/linux-6.14.4/drivers/staging/greybus/
Daudio_helper.c1 // SPDX-License-Identifier: GPL-2.0
3 * Greybus Audio Sound SoC helper APIs
8 #include <sound/soc-dapm.h>
20 struct snd_soc_dai *dai = dai_w->priv; in gbaudio_dapm_link_dai_widget()
22 /* ...find all widgets with the same stream and link them */ in gbaudio_dapm_link_dai_widget()
23 list_for_each_entry(w, &card->widgets, list) { in gbaudio_dapm_link_dai_widget()
24 if (w->dapm != dai_w->dapm) in gbaudio_dapm_link_dai_widget()
27 switch (w->id) { in gbaudio_dapm_link_dai_widget()
35 if (!w->sname || !strstr(w->sname, dai_w->sname)) in gbaudio_dapm_link_dai_widget()
40 * if (w->linked) in gbaudio_dapm_link_dai_widget()
[all …]
/linux-6.14.4/arch/arm64/boot/dts/qcom/
Dmsm8916-wingtech-wt88047.dts1 // SPDX-License-Identifier: GPL-2.0-only
6 /dts-v1/;
8 #include "msm8916-pm8916.dtsi"
9 #include "msm8916-modem-qdsp6.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/leds/common.h>
18 chassis-type = "handset";
27 stdout-path = "serial0";
30 speaker_amp: audio-amplifier {
[all …]
/linux-6.14.4/arch/arm64/boot/dts/tesla/
Dfsd-evb.dts1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
5 * Copyright (c) 2017-2021 Samsung Electronics Co., Ltd.
7 * Copyright (c) 2017-2021 Tesla, Inc.
11 /dts-v1/;
13 #include <dt-bindings/gpio/gpio.h>
16 model = "Tesla Full Self-Driving (FSD) Evaluation board";
17 compatible = "tesla,fsd-evb", "tesla,fsd";
25 stdout-path = &serial_0;
34 compatible = "simple-audio-card";
36 #address-cells = <1>;
[all …]
/linux-6.14.4/arch/arm/boot/dts/samsung/
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 audio-routing = "Headphone Jack", "HPL",
32 sound-dai = <&i2s0 0>, <&i2s0 1>;
35 sound-dai = <&hdmi>, <&max98090>;
42 max98090: audio-codec@10 {
[all …]

12345678910>>...12