blob: 897a706dcda01e1c390d5e632a057ae6f2642e9e [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"
Jerome Brunetb82b7342020-02-13 16:51:55 +01007 select SND_MESON_CODEC_GLUE
Jerome Brunet6ae9ca92020-02-13 16:51:54 +01008 select SND_PCM_IEC958
Jerome Brunet33901f52020-02-19 18:35:03 +01009 imply SND_SOC_MESON_T9015
Jerome Brunetb82b7342020-02-13 16:51:55 +010010 imply SND_SOC_HDMI_CODEC if DRM_MESON_DW_HDMI
Jerome Brunet6ae9ca92020-02-13 16:51:54 +010011 help
12 Select Y or M to add support for the Audio output subsystem found
13 in the Amlogic GX SoC family
14
Jerome Brunet6dc4fa12018-07-17 17:42:51 +020015config SND_MESON_AXG_FIFO
16 tristate
17 select REGMAP_MMIO
Jerome Brunetac16df92018-08-28 14:17:21 +020018 imply COMMON_CLK_AXG_AUDIO
19 imply RESET_MESON_AUDIO_ARB
Jerome Brunet6dc4fa12018-07-17 17:42:51 +020020
Jerome Brunet57d552e2018-07-17 17:42:52 +020021config SND_MESON_AXG_FRDDR
22 tristate "Amlogic AXG Playback FIFO support"
23 select SND_MESON_AXG_FIFO
24 help
25 Select Y or M to add support for the frontend playback interfaces
26 embedded in the Amlogic AXG SoC family
27
Jerome Brunet7ed48772018-07-17 17:42:53 +020028config SND_MESON_AXG_TODDR
29 tristate "Amlogic AXG Capture FIFO support"
30 select SND_MESON_AXG_FIFO
31 help
32 Select Y or M to add support for the frontend capture interfaces
33 embedded in the Amlogic AXG SoC family
34
Jerome Brunet1a11d882018-07-17 17:42:58 +020035config SND_MESON_AXG_TDM_FORMATTER
36 tristate
37 select REGMAP_MMIO
Jerome Brunetac16df92018-08-28 14:17:21 +020038 imply COMMON_CLK_AXG_AUDIO
Jerome Brunet1a11d882018-07-17 17:42:58 +020039
Jerome Brunetd60e4f12018-07-17 17:42:59 +020040config SND_MESON_AXG_TDM_INTERFACE
41 tristate
42 select SND_MESON_AXG_TDM_FORMATTER
43
Jerome Brunet13a22e62018-07-17 17:43:01 +020044config SND_MESON_AXG_TDMIN
45 tristate "Amlogic AXG TDM Input Support"
46 select SND_MESON_AXG_TDM_FORMATTER
47 select SND_MESON_AXG_TDM_INTERFACE
48 help
49 Select Y or M to add support for TDM input formatter embedded
50 in the Amlogic AXG SoC family
51
Jerome Brunetc41c2a32018-07-17 17:43:00 +020052config SND_MESON_AXG_TDMOUT
53 tristate "Amlogic AXG TDM Output Support"
54 select SND_MESON_AXG_TDM_FORMATTER
55 select SND_MESON_AXG_TDM_INTERFACE
56 help
57 Select Y or M to add support for TDM output formatter embedded
58 in the Amlogic AXG SoC family
59
Jerome Brunet7864a792018-07-17 17:43:04 +020060config SND_MESON_AXG_SOUND_CARD
61 tristate "Amlogic AXG Sound Card Support"
62 select SND_MESON_AXG_TDM_INTERFACE
Jerome Brunetaa9c3b72020-02-13 16:51:57 +010063 select SND_MESON_CARD_UTILS
Jerome Brunet7864a792018-07-17 17:43:04 +020064 imply SND_MESON_AXG_FRDDR
65 imply SND_MESON_AXG_TODDR
66 imply SND_MESON_AXG_TDMIN
67 imply SND_MESON_AXG_TDMOUT
68 imply SND_MESON_AXG_SPDIFOUT
Jerome Brunet5ce56582018-12-11 14:47:12 +010069 imply SND_MESON_AXG_SPDIFIN
Jerome Brunet2cfc1232018-08-29 17:00:51 +020070 imply SND_MESON_AXG_PDM
Jerome Brunetc8609f32019-05-15 15:18:58 +020071 imply SND_MESON_G12A_TOHDMITX if DRM_MESON_DW_HDMI
Jerome Brunet7864a792018-07-17 17:43:04 +020072 help
73 Select Y or M to add support for the AXG SoC sound card
74
Jerome Brunet53eb4b72018-07-17 17:42:55 +020075config SND_MESON_AXG_SPDIFOUT
76 tristate "Amlogic AXG SPDIF Output Support"
Arnd Bergmanna241c3d2018-07-24 11:36:45 +020077 select SND_PCM_IEC958
Jerome Brunet53eb4b72018-07-17 17:42:55 +020078 imply SND_SOC_SPDIF
Jerome Brunetac16df92018-08-28 14:17:21 +020079 imply COMMON_CLK_AXG_AUDIO
Jerome Brunet53eb4b72018-07-17 17:42:55 +020080 help
81 Select Y or M to add support for SPDIF output serializer embedded
82 in the Amlogic AXG SoC family
83
Jerome Brunet5ce56582018-12-11 14:47:12 +010084config SND_MESON_AXG_SPDIFIN
85 tristate "Amlogic AXG SPDIF Input Support"
86 imply SND_SOC_SPDIF
87 help
88 Select Y or M to add support for SPDIF input embedded
89 in the Amlogic AXG SoC family
90
Jerome Brunet2cfc1232018-08-29 17:00:51 +020091config SND_MESON_AXG_PDM
92 tristate "Amlogic AXG PDM Input Support"
93 imply SND_SOC_DMIC
94 imply COMMON_CLK_AXG_AUDIO
95 help
96 Select Y or M to add support for PDM input embedded
97 in the Amlogic AXG SoC family
Jerome Brunetc8609f32019-05-15 15:18:58 +020098
Jerome Brunetaa9c3b72020-02-13 16:51:57 +010099config SND_MESON_CARD_UTILS
100 tristate
101
Jerome Brunet9c29fd92020-02-13 16:51:52 +0100102config SND_MESON_CODEC_GLUE
103 tristate
104
Jerome Brunete37a0c32020-02-13 16:51:59 +0100105config SND_MESON_GX_SOUND_CARD
106 tristate "Amlogic GX Sound Card Support"
107 select SND_MESON_CARD_UTILS
108 imply SND_MESON_AIU
109 help
110 Select Y or M to add support for the GXBB/GXL SoC sound card
111
Jerome Brunetc8609f32019-05-15 15:18:58 +0200112config SND_MESON_G12A_TOHDMITX
113 tristate "Amlogic G12A To HDMI TX Control Support"
Jerome Brunet351b3102019-08-20 14:35:10 +0200114 select REGMAP_MMIO
Jerome Brunet9c29fd92020-02-13 16:51:52 +0100115 select SND_MESON_CODEC_GLUE
Jerome Brunetc8609f32019-05-15 15:18:58 +0200116 imply SND_SOC_HDMI_CODEC
117 help
118 Select Y or M to add support for HDMI audio on the g12a SoC
119 family
Jerome Brunet33901f52020-02-19 18:35:03 +0100120
121config SND_SOC_MESON_T9015
122 tristate "Amlogic T9015 DAC"
123 select REGMAP_MMIO
124 help
125 Say Y or M if you want to add support for the internal DAC found
126 on GXL, G12 and SM1 SoC family.
Jerome Brunet6dc4fa12018-07-17 17:42:51 +0200127endmenu