xref: /openbmc/linux/sound/soc/meson/Kconfig (revision 8a5aaf97)
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_SPDIFIN
58	imply SND_MESON_AXG_PDM
59	help
60	  Select Y or M to add support for the AXG SoC sound card
61
62config SND_MESON_AXG_SPDIFOUT
63	tristate "Amlogic AXG SPDIF Output Support"
64	select SND_PCM_IEC958
65	imply SND_SOC_SPDIF
66	imply COMMON_CLK_AXG_AUDIO
67	help
68	  Select Y or M to add support for SPDIF output serializer embedded
69	  in the Amlogic AXG SoC family
70
71config SND_MESON_AXG_SPDIFIN
72	tristate "Amlogic AXG SPDIF Input Support"
73	imply SND_SOC_SPDIF
74	help
75	  Select Y or M to add support for SPDIF input embedded
76	  in the Amlogic AXG SoC family
77
78config SND_MESON_AXG_PDM
79	tristate "Amlogic AXG PDM Input Support"
80	imply SND_SOC_DMIC
81	imply COMMON_CLK_AXG_AUDIO
82	help
83	  Select Y or M to add support for PDM input embedded
84	  in the Amlogic AXG SoC family
85endmenu
86