Home
last modified time | relevance | path

Searched +full:axg +full:- +full:spdifin (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/sound/
Damlogic,axg-spdifin.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/amlogic,axg-spdifin.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Amlogic Audio AXG SPDIF Input
10 - Jerome Brunet <jbrunet@baylibre.com>
15 - const: amlogic,axg-spdifin
16 - items:
17 - enum:
18 - amlogic,g12a-spdifin
[all …]
/linux-6.12.1/sound/soc/meson/
DMakefile1 # 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 …]
Daxg-spdifin.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
12 #include <sound/soc-dai.h>
80 regmap_read(priv->map, SPDIFIN_STAT0, &stat); in axg_spdifin_get_rate()
90 rate = priv->conf->mode_rates[mode]; in axg_spdifin_get_rate()
101 regmap_update_bits(priv->map, SPDIFIN_CTRL0, in axg_spdifin_prepare()
107 regmap_update_bits(priv->map, SPDIFIN_CTRL0, in axg_spdifin_prepare()
109 regmap_update_bits(priv->map, SPDIFIN_CTRL0, in axg_spdifin_prepare()
127 shift = width * (num_per_reg - 1 - rem); in axg_spdifin_write_mode_param()
129 regmap_update_bits(map, reg, GENMASK(width - 1, 0) << shift, in axg_spdifin_write_mode_param()
155 return rate / (128 * priv->conf->mode_rates[mode]); in axg_spdifin_mode_timer()
[all …]
/linux-6.12.1/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-sm1.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-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 …]
Dmeson-axg-s400.dts1 // 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";
13 model = "Amlogic Meson AXG S400 Development Board";
16 compatible = "adc-keys";
17 io-channels = <&saradc 0>;
18 io-channel-names = "buttons";
19 keyup-threshold-microvolt = <1800000>;
[all …]
Dmeson-axg.dtsi1 // 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 …]
Dmeson-g12a-u200.dts1 // 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/gpio/meson-g12a-gpio.h>
11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
12 #include <dt-bindings/sound/meson-g12a-toacodec.h>
23 dioo2133: audio-amplifier-0 {
24 compatible = "simple-audio-amplifier";
25 enable-gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>;
[all …]
/linux-6.12.1/drivers/clk/meson/
Daxg-audio.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
8 #include <linux/clk-provider.h>
15 #include <linux/reset-controller.h>
18 #include "meson-clkc-utils.h"
19 #include "axg-audio.h"
20 #include "clk-regmap.h"
21 #include "clk-phase.h"
22 #include "sclk-div.h"
24 #include <dt-bindings/clock/axg-audio-clkc.h>
232 { .name = "aud_mst_a_sclk", .index = -1, },
[all …]