xref: /openbmc/linux/sound/soc/meson/Kconfig (revision b664e06d)
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	imply SND_MESON_G12A_TOHDMITX if DRM_MESON_DW_HDMI
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
86
87config SND_MESON_G12A_TOHDMITX
88	tristate "Amlogic G12A To HDMI TX Control Support"
89	imply SND_SOC_HDMI_CODEC
90	help
91	  Select Y or M to add support for HDMI audio on the g12a SoC
92	  family
93endmenu
94