xref: /openbmc/linux/sound/soc/meson/Kconfig (revision ac16df93)
16dc4fa17SJerome Brunetmenu "ASoC support for Amlogic platforms"
26dc4fa17SJerome Brunet	depends on ARCH_MESON || COMPILE_TEST
36dc4fa17SJerome Brunet
46dc4fa17SJerome Brunetconfig SND_MESON_AXG_FIFO
56dc4fa17SJerome Brunet	tristate
66dc4fa17SJerome Brunet	select REGMAP_MMIO
7ac16df93SJerome Brunet	imply COMMON_CLK_AXG_AUDIO
8ac16df93SJerome Brunet	imply RESET_MESON_AUDIO_ARB
96dc4fa17SJerome Brunet
1057d552e3SJerome Brunetconfig SND_MESON_AXG_FRDDR
1157d552e3SJerome Brunet	tristate "Amlogic AXG Playback FIFO support"
1257d552e3SJerome Brunet	select SND_MESON_AXG_FIFO
1357d552e3SJerome Brunet	help
1457d552e3SJerome Brunet	  Select Y or M to add support for the frontend playback interfaces
1557d552e3SJerome Brunet	  embedded in the Amlogic AXG SoC family
1657d552e3SJerome Brunet
177ed4877bSJerome Brunetconfig SND_MESON_AXG_TODDR
187ed4877bSJerome Brunet	tristate "Amlogic AXG Capture FIFO support"
197ed4877bSJerome Brunet	select SND_MESON_AXG_FIFO
207ed4877bSJerome Brunet	help
217ed4877bSJerome Brunet	  Select Y or M to add support for the frontend capture interfaces
227ed4877bSJerome Brunet	  embedded in the Amlogic AXG SoC family
237ed4877bSJerome Brunet
241a11d88fSJerome Brunetconfig SND_MESON_AXG_TDM_FORMATTER
251a11d88fSJerome Brunet	tristate
261a11d88fSJerome Brunet	select REGMAP_MMIO
27ac16df93SJerome Brunet	imply COMMON_CLK_AXG_AUDIO
281a11d88fSJerome Brunet
29d60e4f1eSJerome Brunetconfig SND_MESON_AXG_TDM_INTERFACE
30d60e4f1eSJerome Brunet	tristate
31d60e4f1eSJerome Brunet	select SND_MESON_AXG_TDM_FORMATTER
32d60e4f1eSJerome Brunet
3313a22e6aSJerome Brunetconfig SND_MESON_AXG_TDMIN
3413a22e6aSJerome Brunet	tristate "Amlogic AXG TDM Input Support"
3513a22e6aSJerome Brunet	select SND_MESON_AXG_TDM_FORMATTER
3613a22e6aSJerome Brunet	select SND_MESON_AXG_TDM_INTERFACE
3713a22e6aSJerome Brunet	help
3813a22e6aSJerome Brunet	  Select Y or M to add support for TDM input formatter embedded
3913a22e6aSJerome Brunet	  in the Amlogic AXG SoC family
4013a22e6aSJerome Brunet
41c41c2a35SJerome Brunetconfig SND_MESON_AXG_TDMOUT
42c41c2a35SJerome Brunet	tristate "Amlogic AXG TDM Output Support"
43c41c2a35SJerome Brunet	select SND_MESON_AXG_TDM_FORMATTER
44c41c2a35SJerome Brunet	select SND_MESON_AXG_TDM_INTERFACE
45c41c2a35SJerome Brunet	help
46c41c2a35SJerome Brunet	  Select Y or M to add support for TDM output formatter embedded
47c41c2a35SJerome Brunet	  in the Amlogic AXG SoC family
48c41c2a35SJerome Brunet
497864a79fSJerome Brunetconfig SND_MESON_AXG_SOUND_CARD
507864a79fSJerome Brunet	tristate "Amlogic AXG Sound Card Support"
517864a79fSJerome Brunet	select SND_MESON_AXG_TDM_INTERFACE
527864a79fSJerome Brunet	imply SND_MESON_AXG_FRDDR
537864a79fSJerome Brunet	imply SND_MESON_AXG_TODDR
547864a79fSJerome Brunet	imply SND_MESON_AXG_TDMIN
557864a79fSJerome Brunet	imply SND_MESON_AXG_TDMOUT
567864a79fSJerome Brunet	imply SND_MESON_AXG_SPDIFOUT
577864a79fSJerome Brunet	help
587864a79fSJerome Brunet	  Select Y or M to add support for the AXG SoC sound card
597864a79fSJerome Brunet
6053eb4b7aSJerome Brunetconfig SND_MESON_AXG_SPDIFOUT
6153eb4b7aSJerome Brunet	tristate "Amlogic AXG SPDIF Output Support"
62a241c3d9SArnd Bergmann	select SND_PCM_IEC958
6353eb4b7aSJerome Brunet	imply SND_SOC_SPDIF
64ac16df93SJerome Brunet	imply COMMON_CLK_AXG_AUDIO
6553eb4b7aSJerome Brunet	help
6653eb4b7aSJerome Brunet	  Select Y or M to add support for SPDIF output serializer embedded
6753eb4b7aSJerome Brunet	  in the Amlogic AXG SoC family
6853eb4b7aSJerome Brunet
696dc4fa17SJerome Brunetendmenu
70