xref: /openbmc/linux/sound/soc/meson/Kconfig (revision 6ae9ca9c)
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"
76ae9ca9cSJerome Brunet	select SND_PCM_IEC958
86ae9ca9cSJerome Brunet	help
96ae9ca9cSJerome Brunet	  Select Y or M to add support for the Audio output subsystem found
106ae9ca9cSJerome Brunet	  in the Amlogic GX SoC family
116ae9ca9cSJerome Brunet
126dc4fa17SJerome Brunetconfig SND_MESON_AXG_FIFO
136dc4fa17SJerome Brunet	tristate
146dc4fa17SJerome Brunet	select REGMAP_MMIO
15ac16df93SJerome Brunet	imply COMMON_CLK_AXG_AUDIO
16ac16df93SJerome Brunet	imply RESET_MESON_AUDIO_ARB
176dc4fa17SJerome Brunet
1857d552e3SJerome Brunetconfig SND_MESON_AXG_FRDDR
1957d552e3SJerome Brunet	tristate "Amlogic AXG Playback FIFO support"
2057d552e3SJerome Brunet	select SND_MESON_AXG_FIFO
2157d552e3SJerome Brunet	help
2257d552e3SJerome Brunet	  Select Y or M to add support for the frontend playback interfaces
2357d552e3SJerome Brunet	  embedded in the Amlogic AXG SoC family
2457d552e3SJerome Brunet
257ed4877bSJerome Brunetconfig SND_MESON_AXG_TODDR
267ed4877bSJerome Brunet	tristate "Amlogic AXG Capture FIFO support"
277ed4877bSJerome Brunet	select SND_MESON_AXG_FIFO
287ed4877bSJerome Brunet	help
297ed4877bSJerome Brunet	  Select Y or M to add support for the frontend capture interfaces
307ed4877bSJerome Brunet	  embedded in the Amlogic AXG SoC family
317ed4877bSJerome Brunet
321a11d88fSJerome Brunetconfig SND_MESON_AXG_TDM_FORMATTER
331a11d88fSJerome Brunet	tristate
341a11d88fSJerome Brunet	select REGMAP_MMIO
35ac16df93SJerome Brunet	imply COMMON_CLK_AXG_AUDIO
361a11d88fSJerome Brunet
37d60e4f1eSJerome Brunetconfig SND_MESON_AXG_TDM_INTERFACE
38d60e4f1eSJerome Brunet	tristate
39d60e4f1eSJerome Brunet	select SND_MESON_AXG_TDM_FORMATTER
40d60e4f1eSJerome Brunet
4113a22e6aSJerome Brunetconfig SND_MESON_AXG_TDMIN
4213a22e6aSJerome Brunet	tristate "Amlogic AXG TDM Input Support"
4313a22e6aSJerome Brunet	select SND_MESON_AXG_TDM_FORMATTER
4413a22e6aSJerome Brunet	select SND_MESON_AXG_TDM_INTERFACE
4513a22e6aSJerome Brunet	help
4613a22e6aSJerome Brunet	  Select Y or M to add support for TDM input formatter embedded
4713a22e6aSJerome Brunet	  in the Amlogic AXG SoC family
4813a22e6aSJerome Brunet
49c41c2a35SJerome Brunetconfig SND_MESON_AXG_TDMOUT
50c41c2a35SJerome Brunet	tristate "Amlogic AXG TDM Output Support"
51c41c2a35SJerome Brunet	select SND_MESON_AXG_TDM_FORMATTER
52c41c2a35SJerome Brunet	select SND_MESON_AXG_TDM_INTERFACE
53c41c2a35SJerome Brunet	help
54c41c2a35SJerome Brunet	  Select Y or M to add support for TDM output formatter embedded
55c41c2a35SJerome Brunet	  in the Amlogic AXG SoC family
56c41c2a35SJerome Brunet
577864a79fSJerome Brunetconfig SND_MESON_AXG_SOUND_CARD
587864a79fSJerome Brunet	tristate "Amlogic AXG Sound Card Support"
597864a79fSJerome Brunet	select SND_MESON_AXG_TDM_INTERFACE
607864a79fSJerome Brunet	imply SND_MESON_AXG_FRDDR
617864a79fSJerome Brunet	imply SND_MESON_AXG_TODDR
627864a79fSJerome Brunet	imply SND_MESON_AXG_TDMIN
637864a79fSJerome Brunet	imply SND_MESON_AXG_TDMOUT
647864a79fSJerome Brunet	imply SND_MESON_AXG_SPDIFOUT
655ce56583SJerome Brunet	imply SND_MESON_AXG_SPDIFIN
662cfc123eSJerome Brunet	imply SND_MESON_AXG_PDM
67c8609f38SJerome Brunet	imply SND_MESON_G12A_TOHDMITX if DRM_MESON_DW_HDMI
687864a79fSJerome Brunet	help
697864a79fSJerome Brunet	  Select Y or M to add support for the AXG SoC sound card
707864a79fSJerome Brunet
7153eb4b7aSJerome Brunetconfig SND_MESON_AXG_SPDIFOUT
7253eb4b7aSJerome Brunet	tristate "Amlogic AXG SPDIF Output Support"
73a241c3d9SArnd Bergmann	select SND_PCM_IEC958
7453eb4b7aSJerome Brunet	imply SND_SOC_SPDIF
75ac16df93SJerome Brunet	imply COMMON_CLK_AXG_AUDIO
7653eb4b7aSJerome Brunet	help
7753eb4b7aSJerome Brunet	  Select Y or M to add support for SPDIF output serializer embedded
7853eb4b7aSJerome Brunet	  in the Amlogic AXG SoC family
7953eb4b7aSJerome Brunet
805ce56583SJerome Brunetconfig SND_MESON_AXG_SPDIFIN
815ce56583SJerome Brunet	tristate "Amlogic AXG SPDIF Input Support"
825ce56583SJerome Brunet	imply SND_SOC_SPDIF
835ce56583SJerome Brunet	help
845ce56583SJerome Brunet	  Select Y or M to add support for SPDIF input embedded
855ce56583SJerome Brunet	  in the Amlogic AXG SoC family
865ce56583SJerome Brunet
872cfc123eSJerome Brunetconfig SND_MESON_AXG_PDM
882cfc123eSJerome Brunet	tristate "Amlogic AXG PDM Input Support"
892cfc123eSJerome Brunet	imply SND_SOC_DMIC
902cfc123eSJerome Brunet	imply COMMON_CLK_AXG_AUDIO
912cfc123eSJerome Brunet	help
922cfc123eSJerome Brunet	  Select Y or M to add support for PDM input embedded
932cfc123eSJerome Brunet	  in the Amlogic AXG SoC family
94c8609f38SJerome Brunet
959c29fd9bSJerome Brunetconfig SND_MESON_CODEC_GLUE
969c29fd9bSJerome Brunet	tristate
979c29fd9bSJerome Brunet
98c8609f38SJerome Brunetconfig SND_MESON_G12A_TOHDMITX
99c8609f38SJerome Brunet	tristate "Amlogic G12A To HDMI TX Control Support"
100351b3100SJerome Brunet	select REGMAP_MMIO
1019c29fd9bSJerome Brunet	select SND_MESON_CODEC_GLUE
102c8609f38SJerome Brunet	imply SND_SOC_HDMI_CODEC
103c8609f38SJerome Brunet	help
104c8609f38SJerome Brunet	  Select Y or M to add support for HDMI audio on the g12a SoC
105c8609f38SJerome Brunet	  family
1066dc4fa17SJerome Brunetendmenu
107