xref: /openbmc/linux/sound/soc/meson/Kconfig (revision 9b93eb47)
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	help
61	  Select Y or M to add support for the AXG SoC sound card
62
63config SND_MESON_AXG_SPDIFOUT
64	tristate "Amlogic AXG SPDIF Output Support"
65	select SND_PCM_IEC958
66	imply SND_SOC_SPDIF
67	imply COMMON_CLK_AXG_AUDIO
68	help
69	  Select Y or M to add support for SPDIF output serializer embedded
70	  in the Amlogic AXG SoC family
71
72config 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
79config 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
86endmenu
87