/linux-5.10/arch/arm64/boot/dts/amlogic/ |
D | meson-g12.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-g12-common.dtsi" 8 #include <dt-bindings/clock/axg-audio-clkc.h> 9 #include <dt-bindings/power/meson-g12a-power.h> 10 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 11 #include <dt-bindings/reset/amlogic,meson-g12a-audio-reset.h> 14 tdmif_a: audio-controller-0 { 15 compatible = "amlogic,axg-tdm-iface"; 16 #sound-dai-cells = <0>; 17 sound-name-prefix = "TDM_A"; [all …]
|
D | meson-sm1.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-g12-common.dtsi" 8 #include <dt-bindings/clock/axg-audio-clkc.h> 9 #include <dt-bindings/power/meson-sm1-power.h> 10 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 11 #include <dt-bindings/reset/amlogic,meson-g12a-audio-reset.h> 16 tdmif_a: audio-controller-0 { 17 compatible = "amlogic,axg-tdm-iface"; 18 #sound-dai-cells = <0>; 19 sound-name-prefix = "TDM_A"; [all …]
|
D | meson-axg-s400.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-axg.dtsi" 9 #include <dt-bindings/input/input.h> 12 compatible = "amlogic,s400", "amlogic,a113d", "amlogic,meson-axg"; 16 compatible = "adc-keys"; 17 io-channels = <&saradc 0>; 18 io-channel-names = "buttons"; 19 keyup-threshold-microvolt = <1800000>; 21 button-next { [all …]
|
D | meson-axg.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/axg-aoclkc.h> 7 #include <dt-bindings/clock/axg-audio-clkc.h> 8 #include <dt-bindings/clock/axg-clkc.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/meson-axg-gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 14 #include <dt-bindings/reset/amlogic,meson-axg-reset.h> [all …]
|
D | meson-gx-p23x-q20x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 * the pin-compatible S912 (GXM) or S905D (GXL) SoCs. 11 #include <dt-bindings/sound/meson-aiu.h> 19 dio2133: analog-amplifier { 20 compatible = "simple-audio-amplifier"; 21 sound-name-prefix = "AU2"; 22 VCC-supply = <&hdmi_5v>; 23 enable-gpios = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>; 26 spdif_dit: audio-codec-0 { 27 #sound-dai-cells = <0>; [all …]
|
D | meson-g12b-ugoos-am6.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-g12b-w400.dtsi" 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 17 spdif_dit: audio-codec-1 { 18 #sound-dai-cells = <0>; 19 compatible = "linux,spdif-dit"; 21 sound-name-prefix = "DIT"; 24 sound { 25 compatible = "amlogic,axg-sound-card"; [all …]
|
D | meson-g12b-gtking.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-g12b-w400.dtsi" 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 15 model = "Beelink GT-King"; 17 spdif_dit: audio-codec-1 { 18 #sound-dai-cells = <0>; 19 compatible = "linux,spdif-dit"; 21 sound-name-prefix = "DIT"; 24 sound { [all …]
|
D | meson-g12a-sei510.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12a.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; 21 io-channel-names = "buttons"; [all …]
|
D | meson-sm1-sei610.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-sm1.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 23 mono_dac: audio-codec-0 { 25 #sound-dai-cells = <0>; 26 sound-name-prefix = "U16"; [all …]
|
/linux-5.10/Documentation/devicetree/bindings/sound/ |
D | name-prefix.txt | 1 Name prefix: 5 sink/source names may use the name prefix property to prepend the 6 name of their sinks/sources with the provided string. 8 Optional name prefix property: 9 - sound-name-prefix : string using as prefix for the sink/source names of 14 amp0: analog-amplifier@0 { 15 compatible = "simple-audio-amplifier"; 16 enable-gpios = <&gpio GPIOH_3 0>; 17 sound-name-prefix = "FRONT"; 20 amp1: analog-amplifier@1 { [all …]
|
D | simple-card.yaml | 1 # 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# 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: 20 description: Indicates dai-link bit clock master [all …]
|
D | nvidia,tegra186-dspk.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra186-dspk.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 Density Modulation (PDM) transmitter that up-samples the input to 13 over sampled Pulse Code Modulation (PCM) input to the desired 1-bit 17 - Jon Hunter <jonathanh@nvidia.com> 18 - Sameer Pujar <spujar@nvidia.com> 22 pattern: "^dspk@[0-9a-f]*$" 26 - const: nvidia,tegra186-dspk [all …]
|
D | nvidia,tegra210-i2s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-i2s.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The Inter-IC Sound (I2S) controller implements full-duplex, 11 bi-directional and single direction point-to-point serial 16 - Jon Hunter <jonathanh@nvidia.com> 17 - Sameer Pujar <spujar@nvidia.com> 21 pattern: "^i2s@[0-9a-f]*$" 25 - const: nvidia,tegra210-i2s [all …]
|
D | nvidia,tegra210-dmic.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-dmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 16 - Jon Hunter <jonathanh@nvidia.com> 17 - Sameer Pujar <spujar@nvidia.com> 21 pattern: "^dmic@[0-9a-f]*$" 25 - const: nvidia,tegra210-dmic 26 - items: 27 - enum: [all …]
|
D | nvidia,tegra210-ahub.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-ahub.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 for audio pre-processing, post-processing and a programmable full 17 - Jon Hunter <jonathanh@nvidia.com> 18 - Sameer Pujar <spujar@nvidia.com> 22 pattern: "^ahub@[0-9a-f]*$" 26 - enum: 27 - nvidia,tegra210-ahub [all …]
|
/linux-5.10/sound/soc/generic/ |
D | simple-card.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // ASoC simple sound card support 15 #include <sound/simple_card.h> 16 #include <sound/soc-dai.h> 17 #include <sound/soc.h> 21 #define DAI "sound-dai" 22 #define CELL "#sound-dai-cells" 23 #define PREFIX "simple-audio-card," macro 42 * Get node via "sound-dai = <&phandle port>" in asoc_simple_parse_dai() 52 * Here, dlc->dai_name is pointer to CPU/Codec DAI name. in asoc_simple_parse_dai() [all …]
|
D | audio-graph-card.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // ASoC audio graph sound card support 8 // based on ${LINUX}/sound/soc/generic/simple-card.c 21 #include <sound/simple_card_utils.h> 25 #define PREFIX "audio-graph-card," macro 31 struct snd_soc_dapm_context *dapm = w->dapm; in graph_outdrv_event() 32 struct asoc_simple_priv *priv = snd_soc_card_get_drvdata(dapm->card); in graph_outdrv_event() 36 gpiod_set_value_cansleep(priv->pa_gpio, 1); in graph_outdrv_event() 39 gpiod_set_value_cansleep(priv->pa_gpio, 0); in graph_outdrv_event() 42 return -EINVAL; in graph_outdrv_event() [all …]
|
D | simple-card-utils.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // simple-card-utils.c 14 #include <sound/jack.h> 15 #include <sound/simple_card_utils.h> 25 if (data->convert_rate) in asoc_simple_convert_fixup() 26 rate->min = in asoc_simple_convert_fixup() 27 rate->max = data->convert_rate; in asoc_simple_convert_fixup() 29 if (data->convert_channels) in asoc_simple_convert_fixup() 30 channels->min = in asoc_simple_convert_fixup() 31 channels->max = data->convert_channels; in asoc_simple_convert_fixup() [all …]
|
/linux-5.10/drivers/staging/greybus/ |
D | audio_helper.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Greybus Audio Sound SoC helper APIs 7 #include <sound/core.h> 8 #include <sound/soc.h> 9 #include <sound/soc-dapm.h> 21 struct snd_soc_dai *dai = dai_w->priv; 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() [all …]
|
/linux-5.10/sound/soc/ti/ |
D | omap3pandora.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * omap3pandora.c -- SoC audio for Pandora Handheld Console 15 #include <sound/core.h> 16 #include <sound/pcm.h> 17 #include <sound/soc.h> 19 #include <asm/mach-types.h> 20 #include <linux/platform_data/asoc-ti-mcbsp.h> 22 #include "omap-mcbsp.h" 27 #define PREFIX "ASoC omap3pandora: " macro 43 pr_err(PREFIX "can't set codec system clock\n"); in omap3pandora_hw_params() [all …]
|
/linux-5.10/sound/soc/ |
D | soc-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // soc-core.c -- ALSA SoC Audio Layer 11 // with code, comments and ideas from :- 34 #include <sound/core.h> 35 #include <sound/jack.h> 36 #include <sound/pcm.h> 37 #include <sound/pcm_params.h> 38 #include <sound/soc.h> 39 #include <sound/soc-dpcm.h> 40 #include <sound/soc-topology.h> [all …]
|
/linux-5.10/sound/usb/bcd2000/ |
D | bcd2000.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 #include <sound/core.h> 17 #include <sound/initval.h> 18 #include <sound/rawmidi.h> 20 #define PREFIX "snd-bcd2000: " macro 68 static void bcd2000_dump_buffer(const char *prefix, const char *buf, int len) in bcd2000_dump_buffer() argument 70 print_hex_dump(KERN_DEBUG, prefix, in bcd2000_dump_buffer() 75 static void bcd2000_dump_buffer(const char *prefix, const char *buf, int len) {} in bcd2000_dump_buffer() argument 92 struct bcd2000 *bcd2k = substream->rmidi->private_data; in bcd2000_midi_input_trigger() 93 bcd2k->midi_receive_substream = up ? substream : NULL; in bcd2000_midi_input_trigger() [all …]
|
/linux-5.10/include/sound/ |
D | simple_card_utils.h | 1 /* SPDX-License-Identifier: GPL-2.0 12 #include <sound/soc.h> 14 #define asoc_simple_init_hp(card, sjack, prefix) \ argument 15 asoc_simple_init_jack(card, sjack, 1, prefix, NULL) 16 #define asoc_simple_init_mic(card, sjack, prefix) \ argument 17 asoc_simple_init_jack(card, sjack, 0, prefix, NULL) 20 const char *name; member 60 #define simple_priv_to_card(priv) (&(priv)->snd_card) 61 #define simple_priv_to_props(priv, i) ((priv)->dai_props + (i)) 62 #define simple_priv_to_dev(priv) (simple_priv_to_card(priv)->dev) [all …]
|
/linux-5.10/arch/arm64/boot/dts/qcom/ |
D | sdm850-lenovo-yoga-c630.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 12 #include <dt-bindings/sound/qcom,q6afe.h> 13 #include <dt-bindings/sound/qcom,q6asm.h> 19 compatible = "lenovo,yoga-c630", "qcom,sdm845"; 27 firmware-name = "qcom/LENOVO/81JL/qcadsp850.mbn"; 32 pm8998-rpmh-regulators { 33 compatible = "qcom,pm8998-rpmh-regulators"; [all …]
|
/linux-5.10/sound/soc/meson/ |
D | meson-card-utils.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <sound/soc.h> 10 #include "meson-card.h" 29 if (ret && ret != -ENOTSUPP) in meson_card_i2s_set_sysclk() 35 if (ret && ret != -ENOTSUPP) in meson_card_i2s_set_sysclk() 49 links = krealloc(priv->card.dai_link, in meson_card_reallocate_links() 50 num_links * sizeof(*priv->card.dai_link), in meson_card_reallocate_links() 55 ldata = krealloc(priv->link_data, in meson_card_reallocate_links() 56 num_links * sizeof(*priv->link_data), in meson_card_reallocate_links() 61 priv->card.dai_link = links; in meson_card_reallocate_links() [all …]
|