Home
last modified time | relevance | path

Searched +full:g12a +full:- +full:toacodec (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/Documentation/devicetree/bindings/sound/
Damlogic,g12a-toacodec.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/sound/amlogic,g12a-toacodec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Amlogic G12a Internal DAC Control Glue
10 - Jerome Brunet <jbrunet@baylibre.com>
14 pattern: "^audio-controller@.*"
16 "#sound-dai-cells":
21 - items:
22 - const: amlogic,g12a-toacodec
[all …]
/Linux-v5.10/sound/soc/meson/
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 …]
Dg12a-toacodec.c1 // SPDX-License-Identifier: GPL-2.0
14 #include <sound/soc-dai.h>
16 #include <dt-bindings/sound/meson-g12a-toacodec.h>
17 #include "axg-tdm.h"
18 #include "meson-codec-glue.h"
20 #define G12A_TOACODEC_DRV_NAME "g12a-toacodec"
46 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in g12a_toacodec_mux_put_enum()
49 mux = snd_soc_enum_item_to_val(e, ucontrol->value.enumerated.item[0]); in g12a_toacodec_mux_put_enum()
50 changed = snd_soc_component_test_bits(component, e->reg, in g12a_toacodec_mux_put_enum()
60 snd_soc_component_update_bits(component, e->reg, in g12a_toacodec_mux_put_enum()
[all …]
Daxg-card.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
9 #include <sound/soc-dai.h>
11 #include "axg-tdm.h"
12 #include "meson-card.h"
30 * Those will be over-written by the CPU side of the link
44 struct meson_card *priv = snd_soc_card_get_drvdata(rtd->card); in axg_card_tdm_be_hw_params()
46 (struct axg_dai_link_tdm_data *)priv->link_data[rtd->num]; in axg_card_tdm_be_hw_params()
48 return meson_card_i2s_set_sysclk(substream, params, be->mclk_fs); in axg_card_tdm_be_hw_params()
57 struct meson_card *priv = snd_soc_card_get_drvdata(rtd->card); in axg_card_tdm_dai_init()
59 (struct axg_dai_link_tdm_data *)priv->link_data[rtd->num]; in axg_card_tdm_dai_init()
[all …]
/Linux-v5.10/arch/arm64/boot/dts/amlogic/
Dmeson-g12.dtsi1 // 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 …]
Dmeson-g12b-odroid-n2.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/gpio/meson-g12a-gpio.h>
9 #include <dt-bindings/sound/meson-g12a-toacodec.h>
10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
18 dioo2133: audio-amplifier-0 {
19 compatible = "simple-audio-amplifier";
20 enable-gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>;
21 VCC-supply = <&vcc_5v>;
22 sound-name-prefix = "U19";
[all …]