xref: /openbmc/linux/sound/soc/meson/Kconfig (revision 5ce56583)
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
575ce56583SJerome Brunet	imply SND_MESON_AXG_SPDIFIN
582cfc123eSJerome Brunet	imply SND_MESON_AXG_PDM
597864a79fSJerome Brunet	help
607864a79fSJerome Brunet	  Select Y or M to add support for the AXG SoC sound card
617864a79fSJerome Brunet
6253eb4b7aSJerome Brunetconfig SND_MESON_AXG_SPDIFOUT
6353eb4b7aSJerome Brunet	tristate "Amlogic AXG SPDIF Output Support"
64a241c3d9SArnd Bergmann	select SND_PCM_IEC958
6553eb4b7aSJerome Brunet	imply SND_SOC_SPDIF
66ac16df93SJerome Brunet	imply COMMON_CLK_AXG_AUDIO
6753eb4b7aSJerome Brunet	help
6853eb4b7aSJerome Brunet	  Select Y or M to add support for SPDIF output serializer embedded
6953eb4b7aSJerome Brunet	  in the Amlogic AXG SoC family
7053eb4b7aSJerome Brunet
715ce56583SJerome Brunetconfig SND_MESON_AXG_SPDIFIN
725ce56583SJerome Brunet	tristate "Amlogic AXG SPDIF Input Support"
735ce56583SJerome Brunet	imply SND_SOC_SPDIF
745ce56583SJerome Brunet	help
755ce56583SJerome Brunet	  Select Y or M to add support for SPDIF input embedded
765ce56583SJerome Brunet	  in the Amlogic AXG SoC family
775ce56583SJerome Brunet
782cfc123eSJerome Brunetconfig SND_MESON_AXG_PDM
792cfc123eSJerome Brunet	tristate "Amlogic AXG PDM Input Support"
802cfc123eSJerome Brunet	imply SND_SOC_DMIC
812cfc123eSJerome Brunet	imply COMMON_CLK_AXG_AUDIO
822cfc123eSJerome Brunet	help
832cfc123eSJerome Brunet	  Select Y or M to add support for PDM input embedded
842cfc123eSJerome Brunet	  in the Amlogic AXG SoC family
856dc4fa17SJerome Brunetendmenu
86