blob: 4e5b4d4f353158268d27dd55240ca17d5f71a381 [file] [log] [blame]
Jerome Brunet6dc4fa12018-07-17 17:42:51 +02001menu "ASoC support for Amlogic platforms"
2 depends on ARCH_MESON || COMPILE_TEST
3
4config SND_MESON_AXG_FIFO
5 tristate
6 select REGMAP_MMIO
Jerome Brunetac16df92018-08-28 14:17:21 +02007 imply COMMON_CLK_AXG_AUDIO
8 imply RESET_MESON_AUDIO_ARB
Jerome Brunet6dc4fa12018-07-17 17:42:51 +02009
Jerome Brunet57d552e2018-07-17 17:42:52 +020010config SND_MESON_AXG_FRDDR
11 tristate "Amlogic AXG Playback FIFO support"
12 select SND_MESON_AXG_FIFO
13 help
14 Select Y or M to add support for the frontend playback interfaces
15 embedded in the Amlogic AXG SoC family
16
Jerome Brunet7ed48772018-07-17 17:42:53 +020017config SND_MESON_AXG_TODDR
18 tristate "Amlogic AXG Capture FIFO support"
19 select SND_MESON_AXG_FIFO
20 help
21 Select Y or M to add support for the frontend capture interfaces
22 embedded in the Amlogic AXG SoC family
23
Jerome Brunet1a11d882018-07-17 17:42:58 +020024config SND_MESON_AXG_TDM_FORMATTER
25 tristate
26 select REGMAP_MMIO
Jerome Brunetac16df92018-08-28 14:17:21 +020027 imply COMMON_CLK_AXG_AUDIO
Jerome Brunet1a11d882018-07-17 17:42:58 +020028
Jerome Brunetd60e4f12018-07-17 17:42:59 +020029config SND_MESON_AXG_TDM_INTERFACE
30 tristate
31 select SND_MESON_AXG_TDM_FORMATTER
32
Jerome Brunet13a22e62018-07-17 17:43:01 +020033config SND_MESON_AXG_TDMIN
34 tristate "Amlogic AXG TDM Input Support"
35 select SND_MESON_AXG_TDM_FORMATTER
36 select SND_MESON_AXG_TDM_INTERFACE
37 help
38 Select Y or M to add support for TDM input formatter embedded
39 in the Amlogic AXG SoC family
40
Jerome Brunetc41c2a32018-07-17 17:43:00 +020041config SND_MESON_AXG_TDMOUT
42 tristate "Amlogic AXG TDM Output 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 output formatter embedded
47 in the Amlogic AXG SoC family
48
Jerome Brunet7864a792018-07-17 17:43:04 +020049config SND_MESON_AXG_SOUND_CARD
50 tristate "Amlogic AXG Sound Card Support"
51 select SND_MESON_AXG_TDM_INTERFACE
52 imply SND_MESON_AXG_FRDDR
53 imply SND_MESON_AXG_TODDR
54 imply SND_MESON_AXG_TDMIN
55 imply SND_MESON_AXG_TDMOUT
56 imply SND_MESON_AXG_SPDIFOUT
Jerome Brunet5ce56582018-12-11 14:47:12 +010057 imply SND_MESON_AXG_SPDIFIN
Jerome Brunet2cfc1232018-08-29 17:00:51 +020058 imply SND_MESON_AXG_PDM
Jerome Brunetc8609f32019-05-15 15:18:58 +020059 imply SND_MESON_G12A_TOHDMITX if DRM_MESON_DW_HDMI
Jerome Brunet7864a792018-07-17 17:43:04 +020060 help
61 Select Y or M to add support for the AXG SoC sound card
62
Jerome Brunet53eb4b72018-07-17 17:42:55 +020063config SND_MESON_AXG_SPDIFOUT
64 tristate "Amlogic AXG SPDIF Output Support"
Arnd Bergmanna241c3d2018-07-24 11:36:45 +020065 select SND_PCM_IEC958
Jerome Brunet53eb4b72018-07-17 17:42:55 +020066 imply SND_SOC_SPDIF
Jerome Brunetac16df92018-08-28 14:17:21 +020067 imply COMMON_CLK_AXG_AUDIO
Jerome Brunet53eb4b72018-07-17 17:42:55 +020068 help
69 Select Y or M to add support for SPDIF output serializer embedded
70 in the Amlogic AXG SoC family
71
Jerome Brunet5ce56582018-12-11 14:47:12 +010072config SND_MESON_AXG_SPDIFIN
73 tristate "Amlogic AXG SPDIF Input Support"
74 imply SND_SOC_SPDIF
75 help
76 Select Y or M to add support for SPDIF input embedded
77 in the Amlogic AXG SoC family
78
Jerome Brunet2cfc1232018-08-29 17:00:51 +020079config SND_MESON_AXG_PDM
80 tristate "Amlogic AXG PDM Input Support"
81 imply SND_SOC_DMIC
82 imply COMMON_CLK_AXG_AUDIO
83 help
84 Select Y or M to add support for PDM input embedded
85 in the Amlogic AXG SoC family
Jerome Brunetc8609f32019-05-15 15:18:58 +020086
87config SND_MESON_G12A_TOHDMITX
88 tristate "Amlogic G12A To HDMI TX Control Support"
89 imply SND_SOC_HDMI_CODEC
90 help
91 Select Y or M to add support for HDMI audio on the g12a SoC
92 family
Jerome Brunet6dc4fa12018-07-17 17:42:51 +020093endmenu