Home
last modified time | relevance | path

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

123456789

/linux/sound/soc/fsl/
H A 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->lp in imx_rpmsg_late_probe()
66 const char *widgets; imx_rpmsg_late_probe() local
[all...]
/linux/Documentation/devicetree/bindings/sound/
H A 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 =
H A 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>
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 …]
H A 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 <broonie@kernel.org>
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 …]
H A 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 <srinivas.kandagatla@linaro.org>
11 - Stephan Gerhold <stephan@gerhold.net>
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 …]
H A 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 <jbrunet@baylibre.com>
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 …]
H A Daudio-iio-aux.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/audio-iio-aux.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Audio IIO auxiliary
10 - Herve Codina <herve.codina@bootlin.com>
16 - $ref: dai-common.yaml#
20 const: audio-iio-aux
22 io-channels:
26 io-channel-names:
[all …]
/linux/sound/soc/codecs/
H A 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/sound/soc/
H A 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 -
1136 dapm_widget_list_create(struct snd_soc_dapm_widget_list ** list,struct list_head * widgets) dapm_widget_list_create() argument
[all...]
/linux/Documentation/sound/hd-audio/
H A 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/include/sound/
H A 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/arch/arm64/boot/dts/freescale/
H A 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 …]
H A 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 …]
H A 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 …]
H A Dimx8mm-verdin-dev.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 sound_card: sound-card {
8 compatible = "simple-audio-card";
9 simple-audio-card,bitclock-master = <&dailink_master>;
10 simple-audio-card,format = "i2s";
11 simple-audio-card,frame-master = <&dailink_master>;
12 simple-audio-card,mclk-fs = <256>;
13 simple-audio-card,name = "verdin-nau8822";
14 simple-audio-card,routing =
25 simple-audio-card,widgets =
[all …]
/linux/sound/soc/samsung/
H A 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 …]
H A 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 …]
H A 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/arch/arm/boot/dts/ti/omap/
H A 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/drivers/staging/greybus/
H A 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/arch/arm64/boot/dts/qcom/
H A 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/arch/arm64/boot/dts/tesla/
H A 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/sound/soc/ti/
H A Ddavinci-evm.c1 // SPDX-License-Identifier: GPL-2.0-only
22 #include <asm/mach-types.h>
32 struct snd_soc_card *soc_card = rtd->card; in evm_startup()
36 if (drvdata->mclk) in evm_startup()
37 return clk_prepare_enable(drvdata->mclk); in evm_startup()
45 struct snd_soc_card *soc_card = rtd->card; in evm_shutdown()
49 clk_disable_unprepare(drvdata->mclk); in evm_shutdown()
58 struct snd_soc_card *soc_card = rtd->card; in evm_hw_params()
61 snd_soc_card_get_drvdata(soc_card))->sysclk; in evm_hw_params()
70 if (ret < 0 && ret != -ENOTSUPP) in evm_hw_params()
[all …]
/linux/arch/arm/boot/dts/samsung/
H A 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 …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-kontron-samx6i-ads2.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree include for the Kontron SMARC-sAMX6i board on a SMARC Eval
10 stdout-path = "serial0:115200n8";
14 #address-cells = <1>;
15 #size-cells = <0>;
16 compatible = "simple-audio-card";
17 simple-audio-card,format = "i2s";
18 simple-audio-card,bitclock-master = <&dailink_master>;
19 simple-audio-card,frame-master = <&dailink_master>;
20 simple-audio-card,widgets =
[all …]

123456789