xref: /openbmc/linux/sound/soc/meson/Kconfig (revision 351b3100)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
26dc4fa17SJerome Brunetmenu "ASoC support for Amlogic platforms"
36dc4fa17SJerome Brunet	depends on ARCH_MESON || COMPILE_TEST
46dc4fa17SJerome Brunet
56dc4fa17SJerome Brunetconfig SND_MESON_AXG_FIFO
66dc4fa17SJerome Brunet	tristate
76dc4fa17SJerome Brunet	select REGMAP_MMIO
8ac16df93SJerome Brunet	imply COMMON_CLK_AXG_AUDIO
9ac16df93SJerome Brunet	imply RESET_MESON_AUDIO_ARB
106dc4fa17SJerome Brunet
1157d552e3SJerome Brunetconfig SND_MESON_AXG_FRDDR
1257d552e3SJerome Brunet	tristate "Amlogic AXG Playback FIFO support"
1357d552e3SJerome Brunet	select SND_MESON_AXG_FIFO
1457d552e3SJerome Brunet	help
1557d552e3SJerome Brunet	  Select Y or M to add support for the frontend playback interfaces
1657d552e3SJerome Brunet	  embedded in the Amlogic AXG SoC family
1757d552e3SJerome Brunet
187ed4877bSJerome Brunetconfig SND_MESON_AXG_TODDR
197ed4877bSJerome Brunet	tristate "Amlogic AXG Capture FIFO support"
207ed4877bSJerome Brunet	select SND_MESON_AXG_FIFO
217ed4877bSJerome Brunet	help
227ed4877bSJerome Brunet	  Select Y or M to add support for the frontend capture interfaces
237ed4877bSJerome Brunet	  embedded in the Amlogic AXG SoC family
247ed4877bSJerome Brunet
251a11d88fSJerome Brunetconfig SND_MESON_AXG_TDM_FORMATTER
261a11d88fSJerome Brunet	tristate
271a11d88fSJerome Brunet	select REGMAP_MMIO
28ac16df93SJerome Brunet	imply COMMON_CLK_AXG_AUDIO
291a11d88fSJerome Brunet
30d60e4f1eSJerome Brunetconfig SND_MESON_AXG_TDM_INTERFACE
31d60e4f1eSJerome Brunet	tristate
32d60e4f1eSJerome Brunet	select SND_MESON_AXG_TDM_FORMATTER
33d60e4f1eSJerome Brunet
3413a22e6aSJerome Brunetconfig SND_MESON_AXG_TDMIN
3513a22e6aSJerome Brunet	tristate "Amlogic AXG TDM Input Support"
3613a22e6aSJerome Brunet	select SND_MESON_AXG_TDM_FORMATTER
3713a22e6aSJerome Brunet	select SND_MESON_AXG_TDM_INTERFACE
3813a22e6aSJerome Brunet	help
3913a22e6aSJerome Brunet	  Select Y or M to add support for TDM input formatter embedded
4013a22e6aSJerome Brunet	  in the Amlogic AXG SoC family
4113a22e6aSJerome Brunet
42c41c2a35SJerome Brunetconfig SND_MESON_AXG_TDMOUT
43c41c2a35SJerome Brunet	tristate "Amlogic AXG TDM Output Support"
44c41c2a35SJerome Brunet	select SND_MESON_AXG_TDM_FORMATTER
45c41c2a35SJerome Brunet	select SND_MESON_AXG_TDM_INTERFACE
46c41c2a35SJerome Brunet	help
47c41c2a35SJerome Brunet	  Select Y or M to add support for TDM output formatter embedded
48c41c2a35SJerome Brunet	  in the Amlogic AXG SoC family
49c41c2a35SJerome Brunet
507864a79fSJerome Brunetconfig SND_MESON_AXG_SOUND_CARD
517864a79fSJerome Brunet	tristate "Amlogic AXG Sound Card Support"
527864a79fSJerome Brunet	select SND_MESON_AXG_TDM_INTERFACE
537864a79fSJerome Brunet	imply SND_MESON_AXG_FRDDR
547864a79fSJerome Brunet	imply SND_MESON_AXG_TODDR
557864a79fSJerome Brunet	imply SND_MESON_AXG_TDMIN
567864a79fSJerome Brunet	imply SND_MESON_AXG_TDMOUT
577864a79fSJerome Brunet	imply SND_MESON_AXG_SPDIFOUT
585ce56583SJerome Brunet	imply SND_MESON_AXG_SPDIFIN
592cfc123eSJerome Brunet	imply SND_MESON_AXG_PDM
60c8609f38SJerome Brunet	imply SND_MESON_G12A_TOHDMITX if DRM_MESON_DW_HDMI
617864a79fSJerome Brunet	help
627864a79fSJerome Brunet	  Select Y or M to add support for the AXG SoC sound card
637864a79fSJerome Brunet
6453eb4b7aSJerome Brunetconfig SND_MESON_AXG_SPDIFOUT
6553eb4b7aSJerome Brunet	tristate "Amlogic AXG SPDIF Output Support"
66a241c3d9SArnd Bergmann	select SND_PCM_IEC958
6753eb4b7aSJerome Brunet	imply SND_SOC_SPDIF
68ac16df93SJerome Brunet	imply COMMON_CLK_AXG_AUDIO
6953eb4b7aSJerome Brunet	help
7053eb4b7aSJerome Brunet	  Select Y or M to add support for SPDIF output serializer embedded
7153eb4b7aSJerome Brunet	  in the Amlogic AXG SoC family
7253eb4b7aSJerome Brunet
735ce56583SJerome Brunetconfig SND_MESON_AXG_SPDIFIN
745ce56583SJerome Brunet	tristate "Amlogic AXG SPDIF Input Support"
755ce56583SJerome Brunet	imply SND_SOC_SPDIF
765ce56583SJerome Brunet	help
775ce56583SJerome Brunet	  Select Y or M to add support for SPDIF input embedded
785ce56583SJerome Brunet	  in the Amlogic AXG SoC family
795ce56583SJerome Brunet
802cfc123eSJerome Brunetconfig SND_MESON_AXG_PDM
812cfc123eSJerome Brunet	tristate "Amlogic AXG PDM Input Support"
822cfc123eSJerome Brunet	imply SND_SOC_DMIC
832cfc123eSJerome Brunet	imply COMMON_CLK_AXG_AUDIO
842cfc123eSJerome Brunet	help
852cfc123eSJerome Brunet	  Select Y or M to add support for PDM input embedded
862cfc123eSJerome Brunet	  in the Amlogic AXG SoC family
87c8609f38SJerome Brunet
88c8609f38SJerome Brunetconfig SND_MESON_G12A_TOHDMITX
89c8609f38SJerome Brunet	tristate "Amlogic G12A To HDMI TX Control Support"
90351b3100SJerome Brunet	select REGMAP_MMIO
91c8609f38SJerome Brunet	imply SND_SOC_HDMI_CODEC
92c8609f38SJerome Brunet	help
93c8609f38SJerome Brunet	  Select Y or M to add support for HDMI audio on the g12a SoC
94c8609f38SJerome Brunet	  family
956dc4fa17SJerome Brunetendmenu
96