Home
last modified time | relevance | path

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

12345678910

/openbmc/linux/Documentation/sound/soc/
H A 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 …]
/openbmc/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 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 <kuninori.morimoto.gx@renesas.com>
14 frame-master:
15 description: Indicates dai-link frame master.
18 bitclock-master:
19 description: Indicates dai-link bit clock master
[all …]
H A 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 <kuninori.morimoto.gx@renesas.com>
14 $ref: /schemas/types.yaml#/definitions/phandle-array
22 A list of the connections between audio components.
25 $ref: /schemas/types.yaml#/definitions/non-unique-string-array
26 widgets:
[all …]
H A Dqcom,sm8250.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
14 which uses LPASS internal codec for audio.
19 - items:
20 - enum:
21 - lenovo,yoga-c630-sndcard
22 - qcom,db845c-sndcard
23 - const: qcom,sdm845-sndcard
[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 …]
/openbmc/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 …]
/openbmc/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
36 struct audio_iio_aux_chan *chan = (struct audio_iio_aux_chan *)kcontrol->private_value; in audio_iio_aux_info_volsw()
38 uinfo->count = 1; in audio_iio_aux_info_volsw()
39 uinfo->value.integer.min = 0; in audio_iio_aux_info_volsw()
40 uinfo->value.integer.max = chan->max - chan->min; in audio_iio_aux_info_volsw()
41 uinfo->type = (uinfo->value.integer.max == 1) ? in audio_iio_aux_info_volsw()
49 struct audio_iio_aux_chan *chan = (struct audio_iio_aux_chan *)kcontrol->private_value; in audio_iio_aux_get_volsw()
50 int max = chan->max; in audio_iio_aux_get_volsw()
51 int min = chan->min; in audio_iio_aux_get_volsw()
[all …]
/openbmc/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-dahlia.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 = "imx8mm-wm8904";
14 simple-audio-card,routing =
21 simple-audio-card,widgets =
[all …]
/openbmc/linux/sound/soc/intel/boards/
H A 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 …]
H A 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 "../common/soc-intel-quirks.h"
25 #define BXT_DIALOG_CODEC_DAI "da7219-hifi"
27 #define MAX98390_DEV0_NAME "i2c-MX98390:00"
28 #define MAX98390_DEV1_NAME "i2c-MX98390:01"
65 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
66 struct snd_soc_card *card = dapm->card; in platform_clock_control()
71 dev_err(card->dev, "Codec dai not found; Unable to set/unset codec pll\n"); in platform_clock_control()
[all …]
/openbmc/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 - 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++;
67 /* dapm power sequences - make this per codec in the future */
152 if (snd_soc_card_is_instantiated(dapm->card)) in dapm_assert_locked()
185 return !list_empty(&w->dirty); in dapm_dirty_widget()
[all …]
/openbmc/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 …]
/openbmc/u-boot/arch/arm/dts/
H A Dam3517-evm-ui.dtsi2 * Copyright (C) 2018 Logic PD, Inc - http://www.logicpd.com/
9 #include <dt-bindings/input/input.h>
13 compatible = "simple-audio-card";
14 simple-audio-card,name = "tlv320aic23-hifi";
16 simple-audio-card,widgets =
21 simple-audio-card,routing =
28 simple-audio-card,format = "i2s";
29 simple-audio-card,bitclock-master = <&sound_master>;
30 simple-audio-card,frame-master = <&sound_master>;
32 simple-audio-card,cpu {
[all …]
/openbmc/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 …]
/openbmc/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 = asoc_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 = 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")),
[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>
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 …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/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 samsung,audio-routing =
33 sound-dai = <&i2s0 0>, <&i2s0 1>;
36 sound-dai = <&hdmi>, <&max98090>;
43 max98090: audio-codec@10 {
[all …]

12345678910