1# SPDX-License-Identifier: GPL-2.0-only 2menu "ASoC support for Amlogic platforms" 3 depends on ARCH_MESON || COMPILE_TEST 4 5config SND_MESON_AIU 6 tristate "Amlogic AIU" 7 select SND_PCM_IEC958 8 help 9 Select Y or M to add support for the Audio output subsystem found 10 in the Amlogic GX SoC family 11 12config SND_MESON_AXG_FIFO 13 tristate 14 select REGMAP_MMIO 15 imply COMMON_CLK_AXG_AUDIO 16 imply RESET_MESON_AUDIO_ARB 17 18config SND_MESON_AXG_FRDDR 19 tristate "Amlogic AXG Playback FIFO support" 20 select SND_MESON_AXG_FIFO 21 help 22 Select Y or M to add support for the frontend playback interfaces 23 embedded in the Amlogic AXG SoC family 24 25config SND_MESON_AXG_TODDR 26 tristate "Amlogic AXG Capture FIFO support" 27 select SND_MESON_AXG_FIFO 28 help 29 Select Y or M to add support for the frontend capture interfaces 30 embedded in the Amlogic AXG SoC family 31 32config SND_MESON_AXG_TDM_FORMATTER 33 tristate 34 select REGMAP_MMIO 35 imply COMMON_CLK_AXG_AUDIO 36 37config SND_MESON_AXG_TDM_INTERFACE 38 tristate 39 select SND_MESON_AXG_TDM_FORMATTER 40 41config SND_MESON_AXG_TDMIN 42 tristate "Amlogic AXG TDM Input Support" 43 select SND_MESON_AXG_TDM_FORMATTER 44 select SND_MESON_AXG_TDM_INTERFACE 45 help 46 Select Y or M to add support for TDM input formatter embedded 47 in the Amlogic AXG SoC family 48 49config SND_MESON_AXG_TDMOUT 50 tristate "Amlogic AXG TDM Output Support" 51 select SND_MESON_AXG_TDM_FORMATTER 52 select SND_MESON_AXG_TDM_INTERFACE 53 help 54 Select Y or M to add support for TDM output formatter embedded 55 in the Amlogic AXG SoC family 56 57config SND_MESON_AXG_SOUND_CARD 58 tristate "Amlogic AXG Sound Card Support" 59 select SND_MESON_AXG_TDM_INTERFACE 60 imply SND_MESON_AXG_FRDDR 61 imply SND_MESON_AXG_TODDR 62 imply SND_MESON_AXG_TDMIN 63 imply SND_MESON_AXG_TDMOUT 64 imply SND_MESON_AXG_SPDIFOUT 65 imply SND_MESON_AXG_SPDIFIN 66 imply SND_MESON_AXG_PDM 67 imply SND_MESON_G12A_TOHDMITX if DRM_MESON_DW_HDMI 68 help 69 Select Y or M to add support for the AXG SoC sound card 70 71config SND_MESON_AXG_SPDIFOUT 72 tristate "Amlogic AXG SPDIF Output Support" 73 select SND_PCM_IEC958 74 imply SND_SOC_SPDIF 75 imply COMMON_CLK_AXG_AUDIO 76 help 77 Select Y or M to add support for SPDIF output serializer embedded 78 in the Amlogic AXG SoC family 79 80config SND_MESON_AXG_SPDIFIN 81 tristate "Amlogic AXG SPDIF Input Support" 82 imply SND_SOC_SPDIF 83 help 84 Select Y or M to add support for SPDIF input embedded 85 in the Amlogic AXG SoC family 86 87config SND_MESON_AXG_PDM 88 tristate "Amlogic AXG PDM Input Support" 89 imply SND_SOC_DMIC 90 imply COMMON_CLK_AXG_AUDIO 91 help 92 Select Y or M to add support for PDM input embedded 93 in the Amlogic AXG SoC family 94 95config SND_MESON_CODEC_GLUE 96 tristate 97 98config SND_MESON_G12A_TOHDMITX 99 tristate "Amlogic G12A To HDMI TX Control Support" 100 select REGMAP_MMIO 101 select SND_MESON_CODEC_GLUE 102 imply SND_SOC_HDMI_CODEC 103 help 104 Select Y or M to add support for HDMI audio on the g12a SoC 105 family 106endmenu 107