blob: ca269dedfc7fdcab83abdad9f34005de0c7073f3 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Jerome Brunet6dc4fa12018-07-17 17:42:51 +02002menu "ASoC support for Amlogic platforms"
3 depends on ARCH_MESON || COMPILE_TEST
4
Jerome Brunet6ae9ca92020-02-13 16:51:54 +01005config 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
Jerome Brunet6dc4fa12018-07-17 17:42:51 +020012config SND_MESON_AXG_FIFO
13 tristate
14 select REGMAP_MMIO
Jerome Brunetac16df92018-08-28 14:17:21 +020015 imply COMMON_CLK_AXG_AUDIO
16 imply RESET_MESON_AUDIO_ARB
Jerome Brunet6dc4fa12018-07-17 17:42:51 +020017
Jerome Brunet57d552e2018-07-17 17:42:52 +020018config 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
Jerome Brunet7ed48772018-07-17 17:42:53 +020025config 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
Jerome Brunet1a11d882018-07-17 17:42:58 +020032config SND_MESON_AXG_TDM_FORMATTER
33 tristate
34 select REGMAP_MMIO
Jerome Brunetac16df92018-08-28 14:17:21 +020035 imply COMMON_CLK_AXG_AUDIO
Jerome Brunet1a11d882018-07-17 17:42:58 +020036
Jerome Brunetd60e4f12018-07-17 17:42:59 +020037config SND_MESON_AXG_TDM_INTERFACE
38 tristate
39 select SND_MESON_AXG_TDM_FORMATTER
40
Jerome Brunet13a22e62018-07-17 17:43:01 +020041config 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
Jerome Brunetc41c2a32018-07-17 17:43:00 +020049config 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
Jerome Brunet7864a792018-07-17 17:43:04 +020057config 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
Jerome Brunet5ce56582018-12-11 14:47:12 +010065 imply SND_MESON_AXG_SPDIFIN
Jerome Brunet2cfc1232018-08-29 17:00:51 +020066 imply SND_MESON_AXG_PDM
Jerome Brunetc8609f32019-05-15 15:18:58 +020067 imply SND_MESON_G12A_TOHDMITX if DRM_MESON_DW_HDMI
Jerome Brunet7864a792018-07-17 17:43:04 +020068 help
69 Select Y or M to add support for the AXG SoC sound card
70
Jerome Brunet53eb4b72018-07-17 17:42:55 +020071config SND_MESON_AXG_SPDIFOUT
72 tristate "Amlogic AXG SPDIF Output Support"
Arnd Bergmanna241c3d2018-07-24 11:36:45 +020073 select SND_PCM_IEC958
Jerome Brunet53eb4b72018-07-17 17:42:55 +020074 imply SND_SOC_SPDIF
Jerome Brunetac16df92018-08-28 14:17:21 +020075 imply COMMON_CLK_AXG_AUDIO
Jerome Brunet53eb4b72018-07-17 17:42:55 +020076 help
77 Select Y or M to add support for SPDIF output serializer embedded
78 in the Amlogic AXG SoC family
79
Jerome Brunet5ce56582018-12-11 14:47:12 +010080config 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
Jerome Brunet2cfc1232018-08-29 17:00:51 +020087config 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
Jerome Brunetc8609f32019-05-15 15:18:58 +020094
Jerome Brunet9c29fd92020-02-13 16:51:52 +010095config SND_MESON_CODEC_GLUE
96 tristate
97
Jerome Brunetc8609f32019-05-15 15:18:58 +020098config SND_MESON_G12A_TOHDMITX
99 tristate "Amlogic G12A To HDMI TX Control Support"
Jerome Brunet351b3102019-08-20 14:35:10 +0200100 select REGMAP_MMIO
Jerome Brunet9c29fd92020-02-13 16:51:52 +0100101 select SND_MESON_CODEC_GLUE
Jerome Brunetc8609f32019-05-15 15:18:58 +0200102 imply SND_SOC_HDMI_CODEC
103 help
104 Select Y or M to add support for HDMI audio on the g12a SoC
105 family
Jerome Brunet6dc4fa12018-07-17 17:42:51 +0200106endmenu