Home
last modified time | relevance | path

Searched +full:gx +full:- +full:sound +full:- +full:card (Results 1 – 25 of 54) sorted by relevance

123

/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Damlogic,gx-sound-card.yaml1 # 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 Daudio-graph-card.yaml1 # 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 Daudio-graph-port.yaml1 # 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:
16 $ref: /schemas/graph.yaml#/$defs/port-base
18 convert-rate:
19 $ref: /schemas/sound/dai-params.yaml#/$defs/dai-sample-rate
[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 …]
/openbmc/linux/sound/soc/meson/
H A Dgx-card.c1 // 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->num]; 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 DMakefile1 # SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 snd-soc-meson-aiu-objs := aiu.o
4 snd-soc-meson-aiu-objs += aiu-acodec-ctrl.o
5 snd-soc-meson-aiu-objs += aiu-codec-ctrl.o
6 snd-soc-meson-aiu-objs += aiu-encoder-i2s.o
7 snd-soc-meson-aiu-objs += aiu-encoder-spdif.o
8 snd-soc-meson-aiu-objs += aiu-fifo.o
9 snd-soc-meson-aiu-objs += aiu-fifo-i2s.o
10 snd-soc-meson-aiu-objs += aiu-fifo-spdif.o
11 snd-soc-meson-axg-fifo-objs := axg-fifo.o
[all …]
H A DKconfig1 # 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
/openbmc/linux/include/sound/
H A Dsimple_card.h1 /* 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
/openbmc/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-gxbb-wetek-hub.dts1 // 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";
19 assigned-clocks = <&clkc CLKID_MPLL0>,
22 assigned-clock-parents = <0>, <0>, <0>;
[all …]
H A Dmeson-gx-libretech-pc.dtsi1 // 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 Dmeson-gxbb-wetek-play2.dts1 // 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";
21 sound-name-prefix = "DIT";
[all …]
H A Dmeson-gxl-s905x-p212.dts1 // 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 Dmeson-gxbb-kii-pro.dts1 // 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 Dmeson-gxm-nexbox-a1.dts1 // 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";
32 sound-name-prefix = "DIT";
[all …]
H A Dmeson-gx.dtsi1 // 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 Dmeson-gxl-s905x-khadas-vim.dts1 // 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 Dmeson-gxl-s905x-libretech-cc.dts1 // 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 Dmeson-gxm-rbox-pro.dts1 // 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 …]
H A Dmeson-gxl-s905x-libretech-cc-v2.dts1 // 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 …]
/openbmc/linux/arch/arm/boot/dts/renesas/
H A Dr8a7778-bockw.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Reference Device Tree Source for the R-Car M1A (R8A77781) Bock-W board
6 * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
14 /dts-v1/;
16 #include <dt-bindings/interrupt-controller/irq.h>
17 #include <dt-bindings/gpio/gpio.h>
29 stdout-path = "serial0:115200n8";
37 fixedregulator3v3: regulator-3v3 {
38 compatible = "regulator-fixed";
39 regulator-name = "fixed-3.3V";
[all …]
/openbmc/linux/sound/soc/generic/
H A Daudio-graph-card2-custom-sample.c1 // SPDX-License-Identifier: GPL-2.0
3 // audio-graph-card2-custom-sample.c
6 // Copyright (C) 2020 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
11 #include <sound/graph_card.h>
27 static int custom_card_probe(struct snd_soc_card *card) in custom_card_probe() argument
29 struct asoc_simple_priv *simple_priv = snd_soc_card_get_drvdata(card); in custom_card_probe()
35 custom_priv->custom_params = 1; in custom_card_probe()
38 return asoc_graph_card_probe(card); in custom_card_probe()
54 struct snd_soc_card *card; in custom_hook_post() local
60 card = simple_priv_to_card(priv); in custom_hook_post()
[all …]
H A Daudio-graph-card.c1 // SPDX-License-Identifier: GPL-2.0
3 // ASoC audio graph sound card support
6 // Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
8 // based on ${LINUX}/sound/soc/generic/simple-card.c
21 #include <sound/graph_card.h>
29 struct snd_soc_dapm_context *dapm = w->dapm; in graph_outdrv_event()
30 struct asoc_simple_priv *priv = snd_soc_card_get_drvdata(dapm->card); in graph_outdrv_event()
34 gpiod_set_value_cansleep(priv->pa_gpio, 1); in graph_outdrv_event()
37 gpiod_set_value_cansleep(priv->pa_gpio, 0); in graph_outdrv_event()
40 return -EINVAL; in graph_outdrv_event()
[all …]
H A Dsimple-card.c1 // SPDX-License-Identifier: GPL-2.0
3 // ASoC simple sound card support
6 // Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
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,"
41 * Get node via "sound-dai = <&phandle port>" in asoc_simple_parse_platform()
[all …]
/openbmc/linux/sound/sparc/
H A Damd7930.c1 // 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 …]
/openbmc/linux/sound/soc/
H A Dsoc-card.c1 // 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_DEFER: in _soc_card_ret()
20 case -ENOTSUPP: in _soc_card_ret()
24 dev_err(card->dev, in _soc_card_ret()
26 func, card->name, ret); in _soc_card_ret()
[all …]

123