1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "ASoC support for Amlogic platforms"
3 depends on ARCH_MESON || COMPILE_TEST
5 config SND_MESON_AXG_FIFO
8 imply COMMON_CLK_AXG_AUDIO
9 imply RESET_MESON_AUDIO_ARB
11 config SND_MESON_AXG_FRDDR
12 tristate "Amlogic AXG Playback FIFO support"
13 select SND_MESON_AXG_FIFO
15 Select Y or M to add support for the frontend playback interfaces
16 embedded in the Amlogic AXG SoC family
18 config SND_MESON_AXG_TODDR
19 tristate "Amlogic AXG Capture FIFO support"
20 select SND_MESON_AXG_FIFO
22 Select Y or M to add support for the frontend capture interfaces
23 embedded in the Amlogic AXG SoC family
25 config SND_MESON_AXG_TDM_FORMATTER
28 imply COMMON_CLK_AXG_AUDIO
30 config SND_MESON_AXG_TDM_INTERFACE
32 select SND_MESON_AXG_TDM_FORMATTER
34 config SND_MESON_AXG_TDMIN
35 tristate "Amlogic AXG TDM Input Support"
36 select SND_MESON_AXG_TDM_FORMATTER
37 select SND_MESON_AXG_TDM_INTERFACE
39 Select Y or M to add support for TDM input formatter embedded
40 in the Amlogic AXG SoC family
42 config SND_MESON_AXG_TDMOUT
43 tristate "Amlogic AXG TDM Output Support"
44 select SND_MESON_AXG_TDM_FORMATTER
45 select SND_MESON_AXG_TDM_INTERFACE
47 Select Y or M to add support for TDM output formatter embedded
48 in the Amlogic AXG SoC family
50 config SND_MESON_AXG_SOUND_CARD
51 tristate "Amlogic AXG Sound Card Support"
52 select SND_MESON_AXG_TDM_INTERFACE
53 imply SND_MESON_AXG_FRDDR
54 imply SND_MESON_AXG_TODDR
55 imply SND_MESON_AXG_TDMIN
56 imply SND_MESON_AXG_TDMOUT
57 imply SND_MESON_AXG_SPDIFOUT
58 imply SND_MESON_AXG_SPDIFIN
59 imply SND_MESON_AXG_PDM
60 imply SND_MESON_G12A_TOHDMITX if DRM_MESON_DW_HDMI
62 Select Y or M to add support for the AXG SoC sound card
64 config SND_MESON_AXG_SPDIFOUT
65 tristate "Amlogic AXG SPDIF Output Support"
68 imply COMMON_CLK_AXG_AUDIO
70 Select Y or M to add support for SPDIF output serializer embedded
71 in the Amlogic AXG SoC family
73 config SND_MESON_AXG_SPDIFIN
74 tristate "Amlogic AXG SPDIF Input Support"
77 Select Y or M to add support for SPDIF input embedded
78 in the Amlogic AXG SoC family
80 config SND_MESON_AXG_PDM
81 tristate "Amlogic AXG PDM Input Support"
83 imply COMMON_CLK_AXG_AUDIO
85 Select Y or M to add support for PDM input embedded
86 in the Amlogic AXG SoC family
88 config SND_MESON_G12A_TOHDMITX
89 tristate "Amlogic G12A To HDMI TX Control Support"
91 imply SND_SOC_HDMI_CODEC
93 Select Y or M to add support for HDMI audio on the g12a SoC