/linux/sound/soc/meson/ |
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 22 tristate "Amlogic AXG Playback FIFO support" 26 embedded in the Amlogic AXG SoC family 29 tristate "Amlogic AXG Capture FIFO support" 33 embedded in the Amlogic AXG SoC family 45 tristate "Amlogic AXG TDM Input Support" 50 in the Amlogic AXG SoC family 53 tristate "Amlogic AXG TDM Output Support" 58 in the Amlogic AXG SoC family 61 tristate "Amlogic AXG Sound Card Support" [all …]
|
H A D | axg-card.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <sound/soc.h> 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->id]; 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() [all …]
|
H A D | axg-fifo.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 13 #include <sound/pcm_params.h> 14 #include <sound/soc.h> 15 #include <sound/soc-dai.h> 17 #include "axg-fifo.h" 65 return dai->dev; in axg_fifo_dev() 70 regmap_update_bits(fifo->map, FIFO_CTRL0, CTRL0_DMA_EN, in __dma_enable() 91 return -EINVAL; in axg_fifo_pcm_trigger() 102 struct snd_pcm_runtime *runtime = ss->runtime; in axg_fifo_pcm_pointer() 105 regmap_read(fifo->map, FIFO_STATUS2, &addr); in axg_fifo_pcm_pointer() [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | amlogic,axg-sound-card.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/amlogic,axg-sound-card.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Amlogic AXG sound card 10 - Jerome Brunet <jbrunet@baylibre.com> 13 - $ref: sound-card-common.yaml# 17 const: amlogic,axg-sound-card 19 audio-aux-devs: 20 $ref: /schemas/types.yaml#/definitions/phandle-array [all …]
|
/linux/arch/arm64/boot/dts/amlogic/ |
H A 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"; 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 …]
|
H A D | meson-sm1-bananapi-m2-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-sm1-bananapi.dtsi" 10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 13 compatible = "bananapi,bpi-m2-pro", "amlogic,sm1"; 14 model = "Banana Pi BPI-M2-PRO"; 16 sound { 17 compatible = "amlogic,axg-sound-card"; 18 model = "BPI-M2-PRO"; 19 audio-aux-devs = <&tdmout_b>; [all …]
|
H A D | meson-sm1-x96-air.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-sm1-ac2xx.dtsi" 10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 13 compatible = "amediatech,x96-air", "amlogic,sm1"; 16 sound { 17 compatible = "amlogic,axg-sound-card"; 18 model = "X96-AIR"; 19 audio-aux-devs = <&tdmout_b>; 20 audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1", [all …]
|
H A D | meson-sm1-a95xf3-air.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-sm1-ac2xx.dtsi" 10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 13 compatible = "cyx,a95xf3-air", "amlogic,sm1"; 14 model = "Shenzhen CYX Industrial Co., Ltd A95XF3-AIR"; 16 sound { 17 compatible = "amlogic,axg-sound-card"; 18 model = "A95XF3-AIR"; 19 audio-aux-devs = <&tdmout_b>; [all …]
|
H A D | meson-sm1-x96-air-gbit.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-sm1-ac2xx.dtsi" 10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 13 compatible = "amediatech,x96-air-gbit", "amlogic,sm1"; 16 sound { 17 compatible = "amlogic,axg-sound-card"; 18 model = "X96-AIR"; 19 audio-aux-devs = <&tdmout_b>; 20 audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1", [all …]
|
H A D | meson-sm1-a95xf3-air-gbit.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-sm1-ac2xx.dtsi" 10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 13 compatible = "cyx,a95xf3-air-gbit", "amlogic,sm1"; 14 model = "Shenzhen CYX Industrial Co., Ltd A95XF3-AIR"; 16 sound { 17 compatible = "amlogic,axg-sound-card"; 18 model = "A95XF3-AIR"; 19 audio-aux-devs = <&tdmout_b>; [all …]
|
H A D | meson-g12b-gtking-pro.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 Pro"; 22 gpio-keys-polled { 23 compatible = "gpio-keys-polled"; 24 poll-interval = <100>; 26 power-button { 34 compatible = "gpio-leds"; [all …]
|
H A D | meson-g12b-dreambox.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "meson-g12b-w400.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 12 cvbs-connector { 16 sdio_pwrseq: sdio-pwrseq { 17 compatible = "mmc-pwrseq-simple"; 18 reset-gpios = <&gpio GPIOA_11 GPIO_ACTIVE_LOW>; 20 clock-names = "ext_clock"; [all …]
|
H A D | meson-g12b-odroid-n2l.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 9 #include "meson-g12b-a311d.dtsi" 10 #include "meson-g12b-odroid.dtsi" 13 compatible = "hardkernel,odroid-n2l", "amlogic,s922x", "amlogic,g12b"; 14 model = "Hardkernel ODROID-N2L"; 16 sound { 17 compatible = "amlogic,axg-sound-card"; 18 model = "ODROID-N2L"; 19 audio-aux-devs = <&tdmout_b>, <&tdmin_a>, <&tdmin_b>, [all …]
|
H A D | meson-sm1-h96-max.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-sm1-ac2xx.dtsi" 10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 13 compatible = "haochuangyi,h96-max", "amlogic,sm1"; 16 sound { 17 compatible = "amlogic,axg-sound-card"; 18 model = "H96-MAX"; 19 audio-aux-devs = <&tdmout_b>; 20 audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1", [all …]
|
H A 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"; 22 spdif_dit: audio-codec-1 { 23 #sound-dai-cells = <0>; 24 compatible = "linux,spdif-dit"; 25 sound-name-prefix = "DIT"; 28 sound { [all …]
|
H A D | meson-g12b-bananapi-cm4-cm4io.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12b-bananapi-cm4.dtsi" 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 14 compatible = "bananapi,bpi-cm4io", "bananapi,bpi-cm4", "amlogic,a311d", "amlogic,g12b"; 15 model = "BananaPi BPI-CM4IO Baseboard with BPI-CM4 Module"; 23 adc-keys { 24 compatible = "adc-keys"; [all …]
|
H A D | meson-g12b-gsking-x.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-g12b-w400.dtsi" 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 15 compatible = "azw,gsking-x", "amlogic,s922x", "amlogic,g12b"; 16 model = "Beelink GS-King X"; 23 gpio_fan: gpio-fan { 24 compatible = "gpio-fan"; 27 gpio-fan,speed-map = <0 0>, <1 1>; [all …]
|
H A 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"; 20 sound-name-prefix = "DIT"; 23 sound { 24 compatible = "amlogic,axg-sound-card"; [all …]
|
H A D | meson-sm1-bananapi-m5.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-sm1-bananapi.dtsi" 10 #include <dt-bindings/sound/meson-g12a-toacodec.h> 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 14 compatible = "bananapi,bpi-m5", "amlogic,sm1"; 15 model = "Banana Pi BPI-M5"; 18 cvbs-connector { 19 compatible = "composite-video-connector"; 23 remote-endpoint = <&cvbs_vdac_out>; [all …]
|
H A D | meson-g12a-radxa-zero.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12a.dtsi" 9 #include <dt-bindings/gpio/meson-g12a-gpio.h> 10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 21 stdout-path = "serial0:115200n8"; 29 cvbs-connector { 31 compatible = "composite-video-connector"; 35 remote-endpoint = <&cvbs_vdac_out>; 40 hdmi-connector { [all …]
|
H A D | meson-g12a-x96-max.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/gpio/meson-g12a-gpio.h> 11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 14 compatible = "amediatech,x96-max", "amlogic,g12a"; 22 spdif_dit: audio-codec-1 { 23 #sound-dai-cells = <0>; 24 compatible = "linux,spdif-dit"; [all …]
|
H A D | meson-g12a-fbx8am.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 /dts-v1/; 12 #include "meson-g12a.dtsi" 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/gpio/meson-g12a-gpio.h> 16 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 21 chassis-type = "embedded"; 25 compatible = "linaro,optee-tz"; 30 gpio-keys-polled { [all …]
|
H A D | meson-g12b-odroid-n2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-g12b-odroid.dtsi" 14 dio2133: audio-amplifier-0 { 15 compatible = "simple-audio-amplifier"; 16 enable-gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_HIGH>; 17 VCC-supply = <&vcc_5v>; 18 sound-name-prefix = "U19"; 22 hub_5v: regulator-hub-5v { 23 compatible = "regulator-fixed"; 24 regulator-name = "HUB_5V"; [all …]
|
H A D | meson-g12b-bananapi-cm4-mnt-reform2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "meson-g12b-bananapi-cm4.dtsi" 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 15 model = "MNT Reform 2 with BPI-CM4 Module"; 16 compatible = "mntre,reform2-cm4", "bananapi,bpi-cm4", "amlogic,a311d", "amlogic,g12b"; 17 chassis-type = "laptop"; 25 hdmi_connector: hdmi-connector { [all …]
|