/linux/Documentation/devicetree/bindings/sound/ |
H A D | amlogic,gx-sound-card.yaml | 1 # 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# 7 title: Amlogic GX sound card 10 - Jerome Brunet <jbrunet@baylibre.com> 13 - $ref: sound-card-common.yaml# 18 - const: amlogic,gx-sound-card 20 audio-aux-devs: 21 $ref: /schemas/types.yaml#/definitions/phandle-array [all …]
|
H A D | audio-graph-card.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/audio-graph-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Audio Graph Card 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 13 - $ref: /schemas/sound/audio-graph.yaml# 18 - audio-graph-card 19 - audio-graph-scu-card 22 - compatible [all …]
|
H A D | audio-graph-port.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/audio-graph-port.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Audio Graph Card 'port' 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 15 port-base: 17 - $ref: /schemas/graph.yaml#/$defs/port-base 18 - $ref: /schemas/sound/dai-params.yaml# 20 mclk-fs: [all …]
|
H A D | audio-graph-card2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/audio-graph-card2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 15 - audio-graph-card2 17 $ref: /schemas/types.yaml#/definitions/phandle-array 25 $ref: /schemas/types.yaml#/definitions/non-unique-string-array 26 aux-devs: 29 as amplifiers, to be added to the sound card. [all …]
|
/linux/sound/soc/meson/ |
H A D | gx-card.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <sound/soc.h> 9 #include <sound/soc-dai.h> 11 #include "meson-card.h" 19 * Those will be over-written by the CPU side of the link 33 struct meson_card *priv = snd_soc_card_get_drvdata(rtd->card); in gx_card_i2s_be_hw_params() 35 (struct gx_dai_link_i2s_data *)priv->link_data[rtd->id]; in gx_card_i2s_be_hw_params() 37 return meson_card_i2s_set_sysclk(substream, params, be->mclk_fs); in gx_card_i2s_be_hw_params() 44 static int gx_card_parse_i2s(struct snd_soc_card *card, in gx_card_parse_i2s() argument 48 struct meson_card *priv = snd_soc_card_get_drvdata(card); in gx_card_parse_i2s() [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 snd-soc-meson-aiu-y := aiu.o 4 snd-soc-meson-aiu-y += aiu-acodec-ctrl.o 5 snd-soc-meson-aiu-y += aiu-codec-ctrl.o 6 snd-soc-meson-aiu-y += aiu-encoder-i2s.o 7 snd-soc-meson-aiu-y += aiu-encoder-spdif.o 8 snd-soc-meson-aiu-y += aiu-fifo.o 9 snd-soc-meson-aiu-y += aiu-fifo-i2s.o 10 snd-soc-meson-aiu-y += aiu-fifo-spdif.o 11 snd-soc-meson-axg-fifo-y := axg-fifo.o [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 in the Amlogic Meson8, Meson8b and GX SoC families 61 tristate "Amlogic AXG Sound Card Support" 74 Select Y or M to add support for the AXG SoC sound card 108 tristate "Amlogic GX Sound Card Support" 112 Select Y or M to add support for the GXBB/GXL SoC sound card
|
/linux/include/sound/ |
H A D | simple_card.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * ASoC simple sound card support 6 * Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 12 #include <sound/soc.h> 13 #include <sound/simple_card_utils.h> 17 const char *card; member
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-gx-libretech-pc.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 /* Libretech Amlogic GX PC form factor - AKA: Tartiflette */ 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/sound/meson-aiu.h> 14 adc-keys { 15 compatible = "adc-keys"; 16 io-channels = <&saradc 0>; 17 io-channel-names = "buttons"; 18 keyup-threshold-microvolt = <1800000>; [all …]
|
H A D | meson-gxbb-wetek-hub.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-gxbb-wetek.dtsi" 10 #include <dt-bindings/sound/meson-aiu.h> 13 compatible = "wetek,hub", "amlogic,meson-gxbb"; 16 sound { 17 compatible = "amlogic,gx-sound-card"; 18 model = "WETEK-HUB"; 23 assigned-clocks = <&clkc CLKID_MPLL0>, 26 assigned-clock-parents = <0>, <0>, <0>; [all …]
|
H A D | meson-gxbb-p201.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-gxbb-p20x.dtsi" 11 #include <dt-bindings/sound/meson-aiu.h> 14 compatible = "amlogic,p201", "amlogic,meson-gxbb"; 17 sound { 18 compatible = "amlogic,gx-sound-card"; 24 assigned-clocks = <&clkc CLKID_MPLL0>, 27 assigned-clock-parents = <0>, <0>, <0>; 28 assigned-clock-rates = <294912000>, [all …]
|
H A D | meson-gxbb-wetek-play2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-gxbb-wetek.dtsi" 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/sound/meson-aiu.h> 14 compatible = "wetek,play2", "amlogic,meson-gxbb"; 17 spdif_dit: audio-codec-0 { 18 #sound-dai-cells = <0>; 19 compatible = "linux,spdif-dit"; 20 sound-name-prefix = "DIT"; [all …]
|
H A D | meson-gx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/interrupt-controller/arm-gic.h> 15 #include <dt-bindings/power/meson-gxbb-power.h> 16 #include <dt-bindings/thermal/thermal.h> 19 interrupt-parent = <&gic>; 20 #address-cells = <2>; 21 #size-cells = <2>; 24 mmc0 = &sd_emmc_b; /* SD card */ [all …]
|
H A D | meson-gxl-s905x-p212.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-gxl-s905x-p212.dtsi" 10 #include <dt-bindings/sound/meson-aiu.h> 13 compatible = "amlogic,p212", "amlogic,s905x", "amlogic,meson-gxl"; 16 dio2133: analog-amplifier { 17 compatible = "simple-audio-amplifier"; 18 sound-name-prefix = "AU2"; 19 VCC-supply = <&hdmi_5v>; 20 enable-gpios = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>; [all …]
|
H A D | meson-gxbb-kii-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxbb-p20x.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/sound/meson-aiu.h> 15 compatible = "videostrong,kii-pro", "amlogic,meson-gxbb"; 18 spdif_dit: audio-codec-0 { 19 #sound-dai-cells = <0>; [all …]
|
H A D | meson-gxm-nexbox-a1.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 /dts-v1/; 12 #include "meson-gxm.dtsi" 13 #include <dt-bindings/sound/meson-aiu.h> 16 compatible = "nexbox,a1", "amlogic,s912", "amlogic,meson-gxm"; 25 stdout-path = "serial0:115200n8"; 28 spdif_dit: audio-codec-0 { 29 #sound-dai-cells = <0>; 30 compatible = "linux,spdif-dit"; 31 sound-name-prefix = "DIT"; [all …]
|
H A D | meson-gxl-s905x-libretech-cc-v2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/sound/meson-aiu.h> 13 #include "meson-gxl-s905x.dtsi" 16 compatible = "libretech,aml-s905x-cc-v2", "amlogic,s905x", 17 "amlogic,meson-gxl"; 18 model = "Libre Computer AML-S905X-CC V2"; 27 stdout-path = "serial0:115200n8"; [all …]
|
H A D | meson-gxl-s905x-khadas-vim.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-gxl-s905x-p212.dtsi" 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/sound/meson-aiu.h> 13 compatible = "khadas,vim", "amlogic,s905x", "amlogic,meson-gxl"; 16 adc-keys { 17 compatible = "adc-keys"; 18 io-channels = <&saradc 0>; 19 io-channel-names = "buttons"; [all …]
|
H A D | meson-gxl-s905x-libretech-cc.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/sound/meson-aiu.h> 13 #include "meson-gxl-s905x.dtsi" 16 compatible = "libretech,aml-s905x-cc", "amlogic,s905x", 17 "amlogic,meson-gxl"; 18 model = "Libre Computer AML-S905X-CC"; 25 dio2133: analog-amplifier { 26 compatible = "simple-audio-amplifier"; [all …]
|
H A D | meson-gxbb-p200.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-gxbb-p20x.dtsi" 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/sound/meson-aiu.h> 15 compatible = "amlogic,p200", "amlogic,meson-gxbb"; 18 spdif_dit: audio-codec-0 { 19 #sound-dai-cells = <0>; 20 compatible = "linux,spdif-dit"; 21 sound-name-prefix = "DIT"; [all …]
|
H A D | meson-gxm-rbox-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2016-2017 Andreas Färber 5 * Based on nexbox-a1: 14 /dts-v1/; 16 #include "meson-gxm.dtsi" 17 #include <dt-bindings/sound/meson-aiu.h> 20 compatible = "kingnovel,r-box-pro", "amlogic,s912", "amlogic,meson-gxm"; 21 model = "R-Box Pro"; 29 stdout-path = "serial0:115200n8"; 37 spdif_dit: audio-codec-0 { [all …]
|
/linux/sound/soc/generic/ |
H A D | audio-graph-card2-custom-sample.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // audio-graph-card2-custom-sample.c 6 // Copyright (C) 2020 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 12 #include <sound/graph_card.h> 28 static int custom_card_probe(struct snd_soc_card *card) in custom_card_probe() argument 30 struct simple_util_priv *simple_priv = snd_soc_card_get_drvdata(card); in custom_card_probe() 36 custom_priv->custom_params = 1; in custom_card_probe() 39 return graph_util_card_probe(card); in custom_card_probe() 55 struct snd_soc_card *card; in custom_hook_post() local 61 card = simple_priv_to_card(priv); in custom_hook_post() [all …]
|
H A D | simple-card.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // ASoC simple sound card support 6 // Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 16 #include <sound/simple_card.h> 17 #include <sound/soc-dai.h> 18 #include <sound/so 534 struct snd_soc_card *card = simple_priv_to_card(priv); simple_parse_of() local 703 simple_soc_probe(struct snd_soc_card * card) simple_soc_probe() argument 728 struct snd_soc_card *card; simple_probe() local [all...] |
/linux/sound/sparc/ |
H A D | amd7930.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for AMD7930 sound chips found on Sparcs. 9 * --- Notes from Thomas's original driver --- 23 * which provide mono-channel audio at 8K samples per second via either 24 * 8-bit A-law or 8-bit mu-law encoding. Also, the chip features an 30 * --- End of notes from Thoamas's original driver --- 43 #include <sound/core.h> 44 #include <sound/pcm.h> 45 #include <sound/info.h> 46 #include <sound/control.h> [all …]
|
/linux/sound/soc/ |
H A D | soc-card.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // soc-card.c 6 // Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 11 #include <sound/soc.h> 12 #include <sound/jack.h> 15 static inline int _soc_card_ret(struct snd_soc_card *card, in _soc_card_ret() argument 19 case -EPROBE_DEFE in _soc_card_ret() 42 jack_new(struct snd_soc_card * card,const char * id,int type,struct snd_soc_jack * jack,bool initial_kctl) jack_new() argument 69 snd_soc_card_jack_new(struct snd_soc_card * card,const char * id,int type,struct snd_soc_jack * jack) snd_soc_card_jack_new() argument 92 snd_soc_card_jack_new_pins(struct snd_soc_card * card,const char * id,int type,struct snd_soc_jack * jack,struct snd_soc_jack_pin * pins,unsigned int num_pins) snd_soc_card_jack_new_pins() argument 110 snd_soc_card_suspend_pre(struct snd_soc_card * card) snd_soc_card_suspend_pre() argument 120 snd_soc_card_suspend_post(struct snd_soc_card * card) snd_soc_card_suspend_post() argument 130 snd_soc_card_resume_pre(struct snd_soc_card * card) snd_soc_card_resume_pre() argument 140 snd_soc_card_resume_post(struct snd_soc_card * card) snd_soc_card_resume_post() argument 150 snd_soc_card_probe(struct snd_soc_card * card) snd_soc_card_probe() argument 173 snd_soc_card_late_probe(struct snd_soc_card * card) snd_soc_card_late_probe() argument 197 snd_soc_card_fixup_controls(struct snd_soc_card * card) snd_soc_card_fixup_controls() argument 203 snd_soc_card_remove(struct snd_soc_card * card) snd_soc_card_remove() argument 216 snd_soc_card_set_bias_level(struct snd_soc_card * card,struct snd_soc_dapm_context * dapm,enum snd_soc_bias_level level) snd_soc_card_set_bias_level() argument 228 snd_soc_card_set_bias_level_post(struct snd_soc_card * card,struct snd_soc_dapm_context * dapm,enum snd_soc_bias_level level) snd_soc_card_set_bias_level_post() argument 240 snd_soc_card_add_dai_link(struct snd_soc_card * card,struct snd_soc_dai_link * dai_link) snd_soc_card_add_dai_link() argument 252 snd_soc_card_remove_dai_link(struct snd_soc_card * card,struct snd_soc_dai_link * dai_link) snd_soc_card_remove_dai_link() argument [all...] |