xref: /openbmc/linux/sound/soc/meson/Kconfig (revision d9e32672)
1# SPDX-License-Identifier: GPL-2.0-only
2menu "ASoC support for Amlogic platforms"
3	depends on ARCH_MESON || COMPILE_TEST
4
5config SND_MESON_AXG_FIFO
6	tristate
7	select REGMAP_MMIO
8	imply COMMON_CLK_AXG_AUDIO
9	imply RESET_MESON_AUDIO_ARB
10
11config SND_MESON_AXG_FRDDR
12	tristate "Amlogic AXG Playback FIFO support"
13	select SND_MESON_AXG_FIFO
14	help
15	  Select Y or M to add support for the frontend playback interfaces
16	  embedded in the Amlogic AXG SoC family
17
18config SND_MESON_AXG_TODDR
19	tristate "Amlogic AXG Capture FIFO support"
20	select SND_MESON_AXG_FIFO
21	help
22	  Select Y or M to add support for the frontend capture interfaces
23	  embedded in the Amlogic AXG SoC family
24
25config SND_MESON_AXG_TDM_FORMATTER
26	tristate
27	select REGMAP_MMIO
28	imply COMMON_CLK_AXG_AUDIO
29
30config SND_MESON_AXG_TDM_INTERFACE
31	tristate
32	select SND_MESON_AXG_TDM_FORMATTER
33
34config 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
38	help
39	  Select Y or M to add support for TDM input formatter embedded
40	  in the Amlogic AXG SoC family
41
42config 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
46	help
47	  Select Y or M to add support for TDM output formatter embedded
48	  in the Amlogic AXG SoC family
49
50config 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
61	help
62	  Select Y or M to add support for the AXG SoC sound card
63
64config SND_MESON_AXG_SPDIFOUT
65	tristate "Amlogic AXG SPDIF Output Support"
66	select SND_PCM_IEC958
67	imply SND_SOC_SPDIF
68	imply COMMON_CLK_AXG_AUDIO
69	help
70	  Select Y or M to add support for SPDIF output serializer embedded
71	  in the Amlogic AXG SoC family
72
73config SND_MESON_AXG_SPDIFIN
74	tristate "Amlogic AXG SPDIF Input Support"
75	imply SND_SOC_SPDIF
76	help
77	  Select Y or M to add support for SPDIF input embedded
78	  in the Amlogic AXG SoC family
79
80config SND_MESON_AXG_PDM
81	tristate "Amlogic AXG PDM Input Support"
82	imply SND_SOC_DMIC
83	imply COMMON_CLK_AXG_AUDIO
84	help
85	  Select Y or M to add support for PDM input embedded
86	  in the Amlogic AXG SoC family
87
88config SND_MESON_G12A_TOHDMITX
89	tristate "Amlogic G12A To HDMI TX Control Support"
90	select REGMAP_MMIO
91	imply SND_SOC_HDMI_CODEC
92	help
93	  Select Y or M to add support for HDMI audio on the g12a SoC
94	  family
95endmenu
96