xref: /openbmc/linux/sound/soc/meson/Kconfig (revision 6d99a79c)
1menu "ASoC support for Amlogic platforms"
2	depends on ARCH_MESON || COMPILE_TEST
3
4config SND_MESON_AXG_FIFO
5	tristate
6	select REGMAP_MMIO
7	imply COMMON_CLK_AXG_AUDIO
8	imply RESET_MESON_AUDIO_ARB
9
10config 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
17config 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
24config SND_MESON_AXG_TDM_FORMATTER
25	tristate
26	select REGMAP_MMIO
27	imply COMMON_CLK_AXG_AUDIO
28
29config SND_MESON_AXG_TDM_INTERFACE
30	tristate
31	select SND_MESON_AXG_TDM_FORMATTER
32
33config 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
41config 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
49config 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
57	imply SND_MESON_AXG_PDM
58	help
59	  Select Y or M to add support for the AXG SoC sound card
60
61config SND_MESON_AXG_SPDIFOUT
62	tristate "Amlogic AXG SPDIF Output Support"
63	select SND_PCM_IEC958
64	imply SND_SOC_SPDIF
65	imply COMMON_CLK_AXG_AUDIO
66	help
67	  Select Y or M to add support for SPDIF output serializer embedded
68	  in the Amlogic AXG SoC family
69
70config SND_MESON_AXG_PDM
71	tristate "Amlogic AXG PDM Input Support"
72	imply SND_SOC_DMIC
73	imply COMMON_CLK_AXG_AUDIO
74	help
75	  Select Y or M to add support for PDM input embedded
76	  in the Amlogic AXG SoC family
77
78endmenu
79