xref: /openbmc/linux/sound/soc/meson/Kconfig (revision b82b734c)
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
56ae9ca9cSJerome Brunetconfig SND_MESON_AIU
66ae9ca9cSJerome Brunet	tristate "Amlogic AIU"
7b82b734cSJerome Brunet	select SND_MESON_CODEC_GLUE
86ae9ca9cSJerome Brunet	select SND_PCM_IEC958
9b82b734cSJerome Brunet	imply SND_SOC_HDMI_CODEC if DRM_MESON_DW_HDMI
106ae9ca9cSJerome Brunet	help
116ae9ca9cSJerome Brunet	  Select Y or M to add support for the Audio output subsystem found
126ae9ca9cSJerome Brunet	  in the Amlogic GX SoC family
136ae9ca9cSJerome Brunet
146dc4fa17SJerome Brunetconfig SND_MESON_AXG_FIFO
156dc4fa17SJerome Brunet	tristate
166dc4fa17SJerome Brunet	select REGMAP_MMIO
17ac16df93SJerome Brunet	imply COMMON_CLK_AXG_AUDIO
18ac16df93SJerome Brunet	imply RESET_MESON_AUDIO_ARB
196dc4fa17SJerome Brunet
2057d552e3SJerome Brunetconfig SND_MESON_AXG_FRDDR
2157d552e3SJerome Brunet	tristate "Amlogic AXG Playback FIFO support"
2257d552e3SJerome Brunet	select SND_MESON_AXG_FIFO
2357d552e3SJerome Brunet	help
2457d552e3SJerome Brunet	  Select Y or M to add support for the frontend playback interfaces
2557d552e3SJerome Brunet	  embedded in the Amlogic AXG SoC family
2657d552e3SJerome Brunet
277ed4877bSJerome Brunetconfig SND_MESON_AXG_TODDR
287ed4877bSJerome Brunet	tristate "Amlogic AXG Capture FIFO support"
297ed4877bSJerome Brunet	select SND_MESON_AXG_FIFO
307ed4877bSJerome Brunet	help
317ed4877bSJerome Brunet	  Select Y or M to add support for the frontend capture interfaces
327ed4877bSJerome Brunet	  embedded in the Amlogic AXG SoC family
337ed4877bSJerome Brunet
341a11d88fSJerome Brunetconfig SND_MESON_AXG_TDM_FORMATTER
351a11d88fSJerome Brunet	tristate
361a11d88fSJerome Brunet	select REGMAP_MMIO
37ac16df93SJerome Brunet	imply COMMON_CLK_AXG_AUDIO
381a11d88fSJerome Brunet
39d60e4f1eSJerome Brunetconfig SND_MESON_AXG_TDM_INTERFACE
40d60e4f1eSJerome Brunet	tristate
41d60e4f1eSJerome Brunet	select SND_MESON_AXG_TDM_FORMATTER
42d60e4f1eSJerome Brunet
4313a22e6aSJerome Brunetconfig SND_MESON_AXG_TDMIN
4413a22e6aSJerome Brunet	tristate "Amlogic AXG TDM Input Support"
4513a22e6aSJerome Brunet	select SND_MESON_AXG_TDM_FORMATTER
4613a22e6aSJerome Brunet	select SND_MESON_AXG_TDM_INTERFACE
4713a22e6aSJerome Brunet	help
4813a22e6aSJerome Brunet	  Select Y or M to add support for TDM input formatter embedded
4913a22e6aSJerome Brunet	  in the Amlogic AXG SoC family
5013a22e6aSJerome Brunet
51c41c2a35SJerome Brunetconfig SND_MESON_AXG_TDMOUT
52c41c2a35SJerome Brunet	tristate "Amlogic AXG TDM Output Support"
53c41c2a35SJerome Brunet	select SND_MESON_AXG_TDM_FORMATTER
54c41c2a35SJerome Brunet	select SND_MESON_AXG_TDM_INTERFACE
55c41c2a35SJerome Brunet	help
56c41c2a35SJerome Brunet	  Select Y or M to add support for TDM output formatter embedded
57c41c2a35SJerome Brunet	  in the Amlogic AXG SoC family
58c41c2a35SJerome Brunet
597864a79fSJerome Brunetconfig SND_MESON_AXG_SOUND_CARD
607864a79fSJerome Brunet	tristate "Amlogic AXG Sound Card Support"
617864a79fSJerome Brunet	select SND_MESON_AXG_TDM_INTERFACE
627864a79fSJerome Brunet	imply SND_MESON_AXG_FRDDR
637864a79fSJerome Brunet	imply SND_MESON_AXG_TODDR
647864a79fSJerome Brunet	imply SND_MESON_AXG_TDMIN
657864a79fSJerome Brunet	imply SND_MESON_AXG_TDMOUT
667864a79fSJerome Brunet	imply SND_MESON_AXG_SPDIFOUT
675ce56583SJerome Brunet	imply SND_MESON_AXG_SPDIFIN
682cfc123eSJerome Brunet	imply SND_MESON_AXG_PDM
69c8609f38SJerome Brunet	imply SND_MESON_G12A_TOHDMITX if DRM_MESON_DW_HDMI
707864a79fSJerome Brunet	help
717864a79fSJerome Brunet	  Select Y or M to add support for the AXG SoC sound card
727864a79fSJerome Brunet
7353eb4b7aSJerome Brunetconfig SND_MESON_AXG_SPDIFOUT
7453eb4b7aSJerome Brunet	tristate "Amlogic AXG SPDIF Output Support"
75a241c3d9SArnd Bergmann	select SND_PCM_IEC958
7653eb4b7aSJerome Brunet	imply SND_SOC_SPDIF
77ac16df93SJerome Brunet	imply COMMON_CLK_AXG_AUDIO
7853eb4b7aSJerome Brunet	help
7953eb4b7aSJerome Brunet	  Select Y or M to add support for SPDIF output serializer embedded
8053eb4b7aSJerome Brunet	  in the Amlogic AXG SoC family
8153eb4b7aSJerome Brunet
825ce56583SJerome Brunetconfig SND_MESON_AXG_SPDIFIN
835ce56583SJerome Brunet	tristate "Amlogic AXG SPDIF Input Support"
845ce56583SJerome Brunet	imply SND_SOC_SPDIF
855ce56583SJerome Brunet	help
865ce56583SJerome Brunet	  Select Y or M to add support for SPDIF input embedded
875ce56583SJerome Brunet	  in the Amlogic AXG SoC family
885ce56583SJerome Brunet
892cfc123eSJerome Brunetconfig SND_MESON_AXG_PDM
902cfc123eSJerome Brunet	tristate "Amlogic AXG PDM Input Support"
912cfc123eSJerome Brunet	imply SND_SOC_DMIC
922cfc123eSJerome Brunet	imply COMMON_CLK_AXG_AUDIO
932cfc123eSJerome Brunet	help
942cfc123eSJerome Brunet	  Select Y or M to add support for PDM input embedded
952cfc123eSJerome Brunet	  in the Amlogic AXG SoC family
96c8609f38SJerome Brunet
979c29fd9bSJerome Brunetconfig SND_MESON_CODEC_GLUE
989c29fd9bSJerome Brunet	tristate
999c29fd9bSJerome Brunet
100c8609f38SJerome Brunetconfig SND_MESON_G12A_TOHDMITX
101c8609f38SJerome Brunet	tristate "Amlogic G12A To HDMI TX Control Support"
102351b3100SJerome Brunet	select REGMAP_MMIO
1039c29fd9bSJerome Brunet	select SND_MESON_CODEC_GLUE
104c8609f38SJerome Brunet	imply SND_SOC_HDMI_CODEC
105c8609f38SJerome Brunet	help
106c8609f38SJerome Brunet	  Select Y or M to add support for HDMI audio on the g12a SoC
107c8609f38SJerome Brunet	  family
1086dc4fa17SJerome Brunetendmenu
109