139 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2menu "ASoC support for Amlogic platforms"3 depends on ARCH_MESON || (COMPILE_TEST && COMMON_CLK)4 5config SND_MESON_AIU6 tristate "Amlogic AIU"7 select SND_MESON_CODEC_GLUE8 select SND_PCM_IEC9589 imply SND_SOC_MESON_T901510 imply SND_SOC_HDMI_CODEC if DRM_MESON_DW_HDMI11 help12 Select Y or M to add support for the Audio output subsystem found13 in the Amlogic Meson8, Meson8b and GX SoC families14 15config SND_MESON_AXG_FIFO16 tristate17 select REGMAP_MMIO18 imply COMMON_CLK_AXG_AUDIO19 imply RESET_MESON_AUDIO_ARB20 21config SND_MESON_AXG_FRDDR22 tristate "Amlogic AXG Playback FIFO support"23 select SND_MESON_AXG_FIFO24 help25 Select Y or M to add support for the frontend playback interfaces26 embedded in the Amlogic AXG SoC family27 28config SND_MESON_AXG_TODDR29 tristate "Amlogic AXG Capture FIFO support"30 select SND_MESON_AXG_FIFO31 help32 Select Y or M to add support for the frontend capture interfaces33 embedded in the Amlogic AXG SoC family34 35config SND_MESON_AXG_TDM_FORMATTER36 tristate37 select REGMAP_MMIO38 imply COMMON_CLK_AXG_AUDIO39 40config SND_MESON_AXG_TDM_INTERFACE41 tristate42 select SND_MESON_AXG_TDM_FORMATTER43 44config SND_MESON_AXG_TDMIN45 tristate "Amlogic AXG TDM Input Support"46 select SND_MESON_AXG_TDM_FORMATTER47 select SND_MESON_AXG_TDM_INTERFACE48 help49 Select Y or M to add support for TDM input formatter embedded50 in the Amlogic AXG SoC family51 52config SND_MESON_AXG_TDMOUT53 tristate "Amlogic AXG TDM Output Support"54 select SND_MESON_AXG_TDM_FORMATTER55 select SND_MESON_AXG_TDM_INTERFACE56 help57 Select Y or M to add support for TDM output formatter embedded58 in the Amlogic AXG SoC family59 60config SND_MESON_AXG_SOUND_CARD61 tristate "Amlogic AXG Sound Card Support"62 select SND_MESON_AXG_TDM_INTERFACE63 select SND_MESON_CARD_UTILS64 imply SND_MESON_AXG_FRDDR65 imply SND_MESON_AXG_TODDR66 imply SND_MESON_AXG_TDMIN67 imply SND_MESON_AXG_TDMOUT68 imply SND_MESON_AXG_SPDIFOUT69 imply SND_MESON_AXG_SPDIFIN70 imply SND_MESON_AXG_PDM71 imply SND_MESON_G12A_TOACODEC72 imply SND_MESON_G12A_TOHDMITX if DRM_MESON_DW_HDMI73 help74 Select Y or M to add support for the AXG SoC sound card75 76config SND_MESON_AXG_SPDIFOUT77 tristate "Amlogic AXG SPDIF Output Support"78 select SND_PCM_IEC95879 imply SND_SOC_SPDIF80 imply COMMON_CLK_AXG_AUDIO81 help82 Select Y or M to add support for SPDIF output serializer embedded83 in the Amlogic AXG SoC family84 85config SND_MESON_AXG_SPDIFIN86 tristate "Amlogic AXG SPDIF Input Support"87 imply SND_SOC_SPDIF88 help89 Select Y or M to add support for SPDIF input embedded90 in the Amlogic AXG SoC family91 92config SND_MESON_AXG_PDM93 tristate "Amlogic AXG PDM Input Support"94 imply SND_SOC_DMIC95 imply COMMON_CLK_AXG_AUDIO96 help97 Select Y or M to add support for PDM input embedded98 in the Amlogic AXG SoC family99 100config SND_MESON_CARD_UTILS101 tristate102 select SND_DYNAMIC_MINORS103 104config SND_MESON_CODEC_GLUE105 tristate106 107config SND_MESON_GX_SOUND_CARD108 tristate "Amlogic GX Sound Card Support"109 select SND_MESON_CARD_UTILS110 imply SND_MESON_AIU111 help112 Select Y or M to add support for the GXBB/GXL SoC sound card113 114config SND_MESON_G12A_TOACODEC115 tristate "Amlogic G12A To Internal DAC Control Support"116 select SND_MESON_CODEC_GLUE117 select REGMAP_MMIO118 imply SND_SOC_MESON_T9015119 help120 Select Y or M to add support for the internal audio DAC on the121 g12a SoC family122 123config SND_MESON_G12A_TOHDMITX124 tristate "Amlogic G12A To HDMI TX Control Support"125 select REGMAP_MMIO126 select SND_MESON_CODEC_GLUE127 imply SND_SOC_HDMI_CODEC128 help129 Select Y or M to add support for HDMI audio on the g12a SoC130 family131 132config SND_SOC_MESON_T9015133 tristate "Amlogic T9015 DAC"134 select REGMAP_MMIO135 help136 Say Y or M if you want to add support for the internal DAC found137 on GXL, G12 and SM1 SoC family.138endmenu139